ItemSlotMachine

What is it?
ItemSlotMachine adds realistic slot machines with item frames as reels to your server. Each slot machine has its own jackpot (money and/or items) which increases with every spin.
Features
- Create and manage multiple slot machines
- Create and manage your own slot machine designs (default design is built-in)
- Customize each slot machine individually
- Display statistics of slot machines and players
- Create coin shops for players
- Customize all plugin messages
All listed features above are always referring to the newest version of ItemSlotMachine!
Metrics
This plugin uses Metrics by BtoBastian to collect various data from servers.
If you don't want Metrics to collect your data you can disable it easily by setting enabled to false in the config file at plugins/bStats/
Upcoming features
- Support for larger numbers on signs
- Customizeable sign layout and with more placeholders (for example <player>)
Commands & Permissions:
| Command | Description | Permission |
| /design wand | Gives the player a design wand | itemslotmachine.command.design.wand |
| /design create [name] | Creates a new design from your selection | itemslotmachine.command.design.create |
| /design remove <name> | Removes an existing design | itemslotmachine.command.design.remove |
| /design list | Displays a list of all available designs | itemslotmachine.command.design.list |
| /design invert <name> | Inverts the item frame order of a design | itemslotmachine.command.design.invert |
| /design reload [name] | Reloads all designs or a single design | itemslotmachine.command.design.reload |
| /design help [page] | Displays help pages for the design command | - |
| /coin buy <amount> | Gives the player coins in exchange for money | itemslotmachine.command.coin.buy |
| /coin give <player> <amount> | Gives an amount of coins to a player | itemslotmachine.command.coin.give |
| /coin help [page] | Displays help pages for the coin command | - |
| /slot build <design> [name] | Builds a new slot machine | itemslotmachine.command.slot.build |
| /slot remove <name> | Removes an existing slot machine | itemslotmachine.command.slot.remove |
| /slot list | Displays a list of all available slot machines | itemslotmachine.command.slot.list |
| /slot tp <name> | Teleports the player to a slot machine | itemslotmachine.command.slot.tp |
| /slot rebuild <name> | Rebuilds a broken slot machine | itemslotmachine.command.slot.rebuild |
| /slot move <name> <amount> | Moves a slot machine in your view direction | itemslotmachine.command.slot.move |
| /slot stop <name> | Stops a slot machine instantly without paying out | itemslotmachine.command.slot.stop |
| /slot money <name> <clear/deposit/withdraw/set> [default/amount] | Modifies the money pot of a slot machine | itemslotmachine.command.slot.money |
| /slot item <name> <clear/add/set> [default/hand/items] | Modifies the item pot of a slot machine | itemslotmachine.command.slot.item |
| /slot reload [name] | Reloads the plugin or a single slot machine | itemslotmachine.command.slot.reload |
| /slot help [page] | Displays help pages for the slot command | - |
| /statistic show <slot/player> <name> | Displays the statistic of a slot machine or player | itemslotmachine.command.statistic.show |
| /statistic top <slot/player> <category> | Displays the top ten of slot machines or players for a category | ItemSlotMachine.command.statistic.top |
| /statistic reset <slot/player> <name> | Resets the statistic of a slot machine or player | ItemSlotMachine.command.statistic.reset |
| /statistic help [page] | Displays help pages for the statistic command | - |
| - | All plugin permissions | itemslotmachine.* |
| - | All command permissions | itemslotmachine.command.* |
| - | All design command permissions | itemslotmachine.command.design.* |
| - | All coin command permissions | itemslotmachine.command.coin.* |
| - | All slot machine command permissions | itemslotmachine.command.slot.* |
| - | All statistic command permissions | itemslotmachine.statistic.* |
| - | Modify a specific slot machine | itemslotmachine.slot.modify.<name> |
| - | Modify all slot machines | itemslotmachine.slot.modify.* |
| - | Inspect a slot machine by right clicking it | itemslotmachine.slot.inspect |
| - | Use a slot machine | itemslotmachine.slot.use |
| - | Use all slot machines | itemslotmachine.slot.use.* |
| - | Create a coin shop | itemslotmachine.shop.create |
All listed commands and permissions above are always referring to the newest version of ItemSlotMachine!
How to: Coin Shop
You have to write [CoinShop] in the first line of a new sign and click done in order to create a coin shop sign automatically. You can change the amount of coins you want to buy by pointing your cursor at the sign and scrolling up or down. (if you hold shift while scrolling, the amount will increase/decrease by 10) Simply right click the sign after you've chosen the amount of coins you want to buy to make a purchase.
Source
The source code can be found in my repository on GitHub!
Contribute
If you find a bug or encounter an error, please open a new ticket on CurseForge or GitHub, send me a private message or comment down below! Suggestions and ideas for new features are always welcome and can be submitted via the previously mentioned ways.
Videos
-
View User Profile
-
Send Message
Posted Apr 18, 2014@Seletchi
Check if your template for the slot machine config is valid!
-
View User Profile
-
Send Message
Posted Apr 18, 2014hey! it's not work /slot * it back me: /slot help
Error occurred while enabling ItemSlotMachine v1.3.1 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/util/org/apache/commons/lang3/StringEscapeUtils
-
View User Profile
-
Send Message
Posted Apr 18, 2014Hey guys I have a problem... When I type /slotmachine build default (name) it says == Invalid Format ==
What I need to do?
-
View User Profile
-
Send Message
Posted Apr 16, 2014I changed my item for coin but the other item doesn't work?
-
View User Profile
-
Send Message
Posted Mar 20, 2014@MavErik1618
If you haven't created your own design you have to take default as the design name!
-
View User Profile
-
Send Message
Posted Mar 19, 2014It wont let me build a machine: Im typing /slot generate lol and it just says uknown command and when im typing /slot build lol lol it says this design doesent exist! Which design am i supposed to write in?!
-
View User Profile
-
Send Message
Posted Mar 14, 2014What happened to the Youtube video for this plugin? I learn plugins best through videos, so it would be extremely helpful if there were another video created for this plugin.
-
View User Profile
-
Send Message
Posted Mar 10, 2014@TNTUP
Hmm... I might add this, since it could be useful for some servers.
-
View User Profile
-
Send Message
Posted Mar 10, 2014@DarkShooter92
Well the configs are pretty much self-explaining since every setting is commented. If you simply want to create a default slot machine just look into the direction where it should be and type /slot build default. If you want to make a design simply type /design wand, select two positions and type /design create. Sorry for not being able to setup a wiki yet, I have to learn for school and driving school atm and I'm pretty busy with that :/
-
View User Profile
-
Send Message
Posted Mar 9, 2014Suggestion: Able to sell COINS that we bought too much...
-
View User Profile
-
Send Message
Posted Mar 7, 2014there is nothing on this plugin, nothing even here how to setup and slot machine this is stupid
-
View User Profile
-
Send Message
Posted Feb 28, 2014Bonjour je voudrais s'avoir que faut- il écrire pour crée une machine sur la commande /slot build ( design ) ( name ) ????
DESIGN ?? PLZ
-
View User Profile
-
Send Message
Posted Feb 27, 2014@huntershenep
Currently you can only add enchanted items by holding them in your hand and using the /slot item deposit hand command. Please note that the plugin is atm not able to store enchantments of items, so they will be gone after a reload/restart.
-
View User Profile
-
Send Message
Posted Feb 27, 2014@diannetea
Your problem is that you've added '; ' between every combo, but you only have to add ';' between them without the space! That's what it should look like then:
Combos: 388@388@388#ADD_TO_POT_AND_DISTRIBUTE#388-10;265@265@265#ADD_TO_POT_AND_DISTRIBUTE#265-10; 266@266@266#ADD_TO_POT_AND_DISTRIBUTE#266-10;264@264@264#ADD_TO_POT_AND_DISTRIBUTE#264-10;399@399@399#DOUBLE_POT_ITEMS_AND_DISTRIBUTE#399-10-1The sign only tells you how many different items are currently in the pot, but it might change it to the actual amount!
-
View User Profile
-
Send Message
Posted Feb 27, 2014@ccattell
Can you upload your slot machine config so I can test that out and fix it? Sorry for the late response, I've been ill since a few days :/
-
View User Profile
-
Send Message
Posted Feb 24, 2014Why can I not add more than one combo to the item combos? I tried deleting them each one by one, but it will only work when there is one left, regardless of the items.
The message I receive is: "The value of 'Combos' in section 'Combo_Settings' contains an invalid item name
It also "builds" the machine even though it doesn't work or activate so I have to manually remove it by hand each time before I can try again :(
I have tried replacing numbers with item names, and that made no difference.
The amount of items are not updating on the sign, though they ARE actually increasing.
http://pastebin.com/itN6EYkD
-
View User Profile
-
Send Message
Posted Feb 22, 2014how many combos can you add to the payout list?
i tried adding 12 combos to a single slot machine, and it crashed my server
also i posted a ticked about adding a wildcard item a couple of days ago and still havent gotten a response.....
-
View User Profile
-
Send Message
Posted Feb 19, 2014How do I put enchanted items into the Pot?
-
View User Profile
-
Send Message
Posted Feb 19, 2014@cs34026
Currently not, this will be added in a future update! ;)
-
View User Profile
-
Send Message
Posted Feb 18, 2014I like the plugin but is there to add a solid way to set items you specify into the pot to stay as default items instead of reseting every win you add item in-hand item? I ask this so i can add enchanted books and other items that support meta data default config seems to not support this but adding an item from your hand to the pot does