Slot Machine 是一款高度可定制的赌场插件,拥有用户友好的界面。Slot Machine 还支持其他经济插件和替代经济插件(如投票或自定义积分插件)

手持 烈焰棒(您可以在 config.yml 文件中更改使用的物品)右键点击任意 实体 或 方块,即可打开 Slot Machine 的界面。在此您可以创建一台老虎机,然后再次打开该菜单根据您的需要进行自定义。
在“机器物品”分类中,您可以通过拖放操作向机器中添加物品。
Slot Machine 还支持多种布局,包括垂直单行布局。


结合 Slot Machine 与其他插件(如 ItemsAdder 和 PlaceholderAPI),您甚至可以完全自定义您的机器,看看我们的社区创建了哪些内容:


Slot Machine 允许您自定义玩家可见的许多部分,包括通过用户友好的界面自定义机器的布局和背景以及其奖励:


- Vault (如果您希望使用金钱作为货币)
- 任何与 Vault 兼容的经济插件(如 Essentials) (如果您希望使用金钱作为货币)
支持的插件:
- CoinsEngine :CoinsEngine 作为货币支持(仅在安装该插件后显示)
- TokensManager :TokensManager 作为货币支持(仅在安装该插件后显示)
- VotingPlugin :VotingPlugin 的投票点数可作为 Slot Machines 的货币(仅在安装该插件后显示)
- PlayerPoints :PlayerPoints 作为货币支持(仅在安装该插件后显示)
- Citizens :用于在 Citizens NPC 上创建机器
- PlaceholderAPI :在界面的各个位置使用任何占位符


-
/openmachine <玩家名称> <机器 UUID>
为指定玩家打开老虎机(使用机器 UUID,可在机器的界面中获取)。
-
/tpmachine <实体 UUID>
将老虎机传送至你的位置。实体的 UUID 可在老虎机的用户界面中查看
-
/givetokens <玩家名称> <代币数量> [代币 ID]
向指定玩家发放一定数量的代币,使用代币的名称进行发放。可通过 /slotmachinetoken list 管理代币并查看其名称。
-
/slotmachinetoken list
打开所有代币的列表,并允许你对其进行管理。
-
/slotmachinetoken add <唯一名称(小写,不含空格)>
将当前手持的物品添加为新的 Token,若使用 default 作为名称,则替换默认 Token。
-
/smreload
从磁盘重新加载机器和 Token。
-
/smcooldown <玩家/@a(仅限在线)/@everyone(所有玩家)> <机器 UUID/全部> reset
重置指定玩家或全体玩家对某台机器或所有机器的冷却时间
-
/smbackup
强制插件为你的机器创建备份,该备份将保存在插件文件夹中,文件名为 MACHINES_BACKUP-日期
-
/smsavetodisk
强制保存所有更改、统计数据和玩家数据,否则插件每分钟自动保存一次数据。
-
/smupdatelanguages
使用来自 Crowdin 的最新社区翻译更新你当前选择的语言

-
slotmachine.machineedit
编辑老虎机(需手持烈焰棒)的权限
-
slotmachine.access.default
使用老虎机的权限。
你也可以在配置文件中将 noPermissionNeededForDefaultAccess 设置为 true,以允许所有玩家无需额外权限即可使用默认机器。
-
slotmachine.access.X
使用具有自定义权限设置的老虎机的权限。
其中 X 为具体的权限名称。
-
slotmachine.givetokens
使用 /givetokens 命令的权限
-
slotmachine.tokenmanagement
使用 /slotmachinetoken 命令及其子命令的权限
-
slotmachine.smcooldown
使用 /smcooldown 命令的权限
-
slotmachine.slotmachine
使用 /smsavetodisk、/smreload、/smupdatelanguages 和 /smbackup 命令的权限

Slot Machine 支持多种语言,开箱即用,并通过来自 Crowdin上社区翻译的空中更新进行持续优化。
你也可以轻松创建自己的语言文件!只需前往 SlotMachine/langs 文件夹,你会找到一个 readme.txt 和一个 en-demo.properties 文件,帮助你开始为服务器制作翻译。你可以只翻译你需要的句子。
原生支持的语言:
- 英语 (en)
- 法语 (fr)
- 简体中文与繁体中文 (zh-CN, zh-TW)
- 德语 (de)
- 俄语 (ru)
- 匈牙利语 (hu)
- 意大利语 (it)
- 捷克语 (cs-CZ)
- 西班牙语 (es-ES)
- 韩语 (kr)
- 巴西葡萄牙语 (pt-BR)
- 土耳其语 (tr)
- 匈牙利语 (hu)
- 越南语 (vi)
- 意大利语 (it)
- 日语 (jp)
- 罗马尼亚语 (ro)
Slot Machine is focused on being a highly customizable casino plugin with a user-friendly UI. Slot Machine also supports other economy and alternate-economy plugins (Like votes or custom points plugins)

Right click with a a Blaze Rod (You can change the item used in the config.yml file) any Entity or Block to bring up Slot Machine's UI. From there you can create a machine and then customize it to your needs by opening that menu again.
Add items to the machine by dragging and dropping them when you're in the Machine's Items category.
Slot Machine also supports different layout, including a vertical one-line layout.


Combining Slot Machine and other plugins like ItemsAdder and PlaceholderAPI, you can even fully customize your machine, look at what our community created :


Slot Machine allows you to customize a lot of parts that players can see, including customizing the layout and background of your machines as well as its rewards through a user-friendly UI :


- Vault (If you wish to use money as a currency)
- Any Economy Plugin that works with Vault (like Essentials) (If you wish to use money as a currency)
Supported Plugins :
- CoinsEngine : CoinsEngine is supported as a currency (will only show up after the plugin is installed)
- TokensManager : TokensManager is supported as a currency (will only show up after the plugin is installed)
- VotingPlugin : Voting points from VotingPlugin are supported as a currency for Slot Machines (will only show up after the plugin is installed)
- PlayerPoints : PlayerPoints is supported as a currency (will only show up after the plugin is installed)
- Citizens : To create machines on Citizens NPCs
- PlaceholderAPI : Use any Placeholder in various places of the UI


-
/openmachine <Player Name> <Machine UUID>
Opens a Slot Machine for a Player using the Machine UUID (Available in the Machine's UI).
-
/tpmachine <Entity UUID>
Teleports a Slot Machine to your location. The Entity UUID can be found in the Machine's UI
-
/givetokens <Player Name> <Amount of Tokens> [Token ID]
Gives a Player the amount of Token using the Token's name, use /slotmachinetoken list to manage tokens and see their names
-
/slotmachinetoken list
Opens a the list of all your tokens and allows you to manage them
-
/slotmachinetoken add <unique name (lower case, no space)>
Adds the currently held item as a new Token, use default as name to replace the default token
-
/smreload
Reloads machines and tokens from the disk
-
/smcooldown <player/@a(only online)/@everyone(all players)> <slot machine uuid/all> reset
Resets the cooldown of the Player or multiple players for a machine or all machines
-
/smbackup
Forces the plugin to make a backup of your machines, this backup will be in the plugin folder under the name MACHINES_BACKUP-date
-
/smsavetodisk
Forces all changes, statistics and player data to be saved, otherwise the plugin saves data every minute
-
/smupdatelanguages
Updates your currently selected language with the latest community translations from Crowdin ()

-
slotmachine.machineedit
Permission to edit Slot Machines (with a Blaze Rod)
-
slotmachine.access.default
Permission to play with Slot Machines.
You can also set noPermissionNeededForDefaultAccess to true in the config file to allow all players to play with machines with default permission
-
slotmachine.access.X
Permission to play with machines that have customized permission.
Where X is the permission name.
-
slotmachine.givetokens
Permission to use the /givetokens command
-
slotmachine.tokenmanagement
Permission to use the /slotmachinetoken command and its subcommands
-
slotmachine.smcooldown
Permission to use the /smcooldown command
-
slotmachine.slotmachine
Permission to use the /smsavetodisk, /smreload, /smupdatelanguages and /smbackup commands

Slot Machine supports multiple languages out-of-the-box with over-the-air updates from our community translations done on Crowdin ().
You can also create your own language files easily ! Simply head to the SlotMachine/langs folder, you will find a readme.txt and a en-demo.properties to help you get started on making your own translation for your server. You can translate only the sentences that you need.
Natively Supported Languages :
- English (en)
- French (fr)
- Simplified and Traditional Chinese (zh-CN, zh-TW)
- German (de)
- Russian (ru)
- Hungerian (hu)
- Italian (it)
- Czech (cs-CZ)
- Spanish (es-ES)
- Korean (kr)
- Brazilian Portuguese (pt-BR)
- Turkish (tr)
- Hungarian (hu)
- Vietnamese (vi)
- Italian (it)
- Japanese (jp)
- Romanian (ro)
评论 0
登录后参与评分
还没有评论,来抢沙发吧