What is it?
ItemSlotMachine adds realistic slot machines to your server that have a display which consists of item frames, make sounds when active and can be deactivated either manually or automatically. In order to activate a slot machine you have to hold the coin item in your hand and right click the slot of a slot machine. Everything is highly customisable!
Features
- Vault is an optional dependency
- You can create and manage own slot machine designs (default design is included)
- You can build an infinite number of slot machine
- Many commands for managing slot machines
- Every slot machine has its own config file
- Statistics for slot machines and players which can be displayed normally or as a top ten list
- Highly customisable language files which accept all characters
- Overall easy usage
All listed features above are always referring to the newest version of ItemSlotMachine!
Upcoming features
- Template for default slot machine config
YOU can contribute to ItemSlotMachine! Just open a new ticket with your suggestion and it may get added to ItemSlotMachine if it’s good.
Commands & Permissions
Command | Description | Permission |
/design wand | Gives you the design wand | ItemSlotMachine.design.wand |
/design create [name] | Creates a new design | ItemSlotMachine.design.create |
/design remove <name> | Removes an existing design | ItemSlotMachine.design.remove |
/design list | Shows a list of available designs | ItemSlotMachine.design.list |
/design invert <name> | Inverts the item frame loading sequence of a design | ItemSlotMachine.design.invert |
/design reload | Reloads all designs | ItemSlotMachine.design.reload |
/design help [page] | Shows the help pages | None |
/coin purchase <amount> | Exchanges money for coins | ItemSlotMachine.coin.purchase |
/coin grant <player> <amount> | Grants a player coins | ItemSlotMachine.coin.grant |
/coin help [page] | Shows the help pages | None |
/slot build <design> [name] | Builds a new slot machine in front of you | ItemSlotMachine.slot.build |
/slot destruct <name> | Destructs an existing slot machine | ItemSlotMachine.slot.destruct |
/slot list | Shows a list of available slot machines | ItemSlotMachine.slot.list |
/slot tp <name> | Teleports you to a slot machine | ItemSlotMachine.slot.tp |
/slot rebuild <name> | Deactivates and rebuilds an existing slot machine | ItemSlotMachine.slot.rebuild |
/slot deactivate <name> | Deactivates an active slot machine | ItemSlotMachine.slot.deactivate |
/slot money <name> <deposit/withdraw/set> <amount> | Modifies the money pot of a slot machine | ItemSlotMachine.slot.money |
/slot item <name> <deposit/set> <hand/items> | Modifies the item pot of a slot machine | ItemSlotMachine.slot.item |
/slot reset <name> <money/item> | Resets a pot of a slot machine | ItemSlotMachine.slot.reset |
/slot clear <name> <money/item> | Clears a pot of a slot machine | ItemSlotMachine.slot.clear |
/slot reload [name] | Reloads the plugin or a slot machine | ItemSlotMachine.slot.reload |
/slot help [page] | Shows the help pages | None |
/statistic show <slot/player> <name> | Shows the statistic of a slot machine or a player | ItemSlotMachine.statistic.show |
/statistic tp <slot/player> <category> | Shows the top ten statistics for a category for slot machines or players | ItemSlotMachine.statistic.top |
/statistic reset <slot/player> <name> | Resets the statistic of a slot machine or a player | ItemSlotMachine.statistic.reset |
/statistic help [page] | Shows the help pages | None |
- | All ItemSlotMachine permissions | ItemSlotMachine.* |
- | All design permissions | ItemSlotMachine.design.* |
- | All coin permissions | ItemSlotMachine.coin.* |
- | All slot machine permissions | ItemSlotMachine.slot.* |
- | All slot machine modify permissions | ItemSlotMachine.slot.modify.* |
- | All statistic permissions | ItemSlotMachine.statistic.* |
- | All statistic permissions | ItemSlotMachine.statistic.* |
- | Check the name of a slot machine by right clicking it | ItemSlotMachine.slot.check |
- | Use a slot machine | ItemSlotMachine.slot.use |
- | Modify a specific slot machine | ItemSlotMachine.slot.modify.<name> |
Config
Take a look at the latest default config, you can check if you have all options in your config.yml in order to let the plugin work correctly!
# Copyright DarkBlade12 - All rights reserved.# DarkBlade12 is the developer and respective owner of this plugin.# This section contains general plugin settingsGeneral_Settings: # Determines whether the debug mode is enabled (prints error stacktraces in the console) # You should only set this to 'true' if you have some problems you can't solve Debug_Mode_Enabled: false # This is the ending of the language file name that will be loaded # ItemSlotMachine will attempt to load 'lang_<name>.txt' # Built-in names are 'EN' for English and 'DE' for German Language_Name: EN# This section contains general slot machine settingsSlot_Machine_Settings: # This is the default name for slot machines that will be used for generating ids # This string has to contain <num> otherwise it'll automatically add this to the end of this name # Please note: <num> can't be in the middle of the name Default_Name: slot<num> # This section contains settings for the coin which is used to activate a slot machine Coin_Settings: # This is the item that will be used as coin # Item format: <item_id/item_name> OR <item_id/item_name>-<data> Item: 371 # Determines whether only the renamed coin item can be used to activate a slot machine Common_Item_Enabled: false # This is the price for a single coin which is important for purchasing coins # This value can be either a point number or a normal number Price: 100 # This section contains settings for the limited usage of slot machines Limited_Usage: # Determines whether limited use is enabled Enabled: true # This is the maximum amount of slot machines that can be used by ONE player at once Amount: 1# This section contains general design settingsDesign_Settings: # This is the default name for designs that will be used for generating ids # This string has to contain <num> otherwise it'll automatically add this to the end of this name # Please note: <num> can't be in the middle of the name Default_Name: design<num>
Coin Shop
Write [CoinShop] in the first line of a sign and click done, now it’ll create a coin shop sign automagically! You can change the amount of coins you want to buy by pointing at the sign and scrolling up/down for increasing/decreasing the amount. (if you hold shift while scrolling the amount will increase/decrease by 10) After you’ve chosen the amount of coins you want to buy right click it.
Wiki
I’m going to set up a wiki on GitHub soon!
Source
The source can be found on GitHub soon!
Bugs? Errors? Problems? New ideas?
If you find a bug, encounter an error or have new ideas or suggestions for this plugin feel free to create a ticket so we can react to things faster than posting it in the comments! However you can post feedback in the comments, but please use the ticket system for the things I mentioned.
ItemSlotMachine Plugin 1.7.4 Download Links
http://www.dl2.9minecraft.net/index.php?act=dl&id=1389060687
http://www.dl5.9minecraft.net/index.php?act=dl&id=1389086183
Không có nhận xét nào:
Đăng nhận xét