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 Jun 9, 2013@DarkBladee12
What I do is:
/slot generate default 1 The item frames or on the wrong side so I relog and they are fixed. Then I buy a Coin. Then I try to use the slot I just created and it says "Slot machine already in use." In the console it gives this error: http://pastebin.com/5Hmh15sC I relog again and try to use it again and I get the same error with different task # : http://pastebin.com/6Tf6s9xv
Then I try "/slot remove 1" It says an internal error accured. So I check console and it says: http://pastebin.com/QEwAG01i
AND this only happens with slot machines facing North. If I am facing South while placing the machine it works just fine. (I did not try East and West.)
Edit: South and West work fine. East needs relog. North gives severe error.
Please fix this issue. Ty
-
View User Profile
-
Send Message
Posted Jun 9, 2013@saxons12
Hey, you (or all players) have to relog if the item frames are on the wrong site, that's just a client-side bug which I can't avoid atm. I think I'm going to evolve the logger, so you can see which slot machine causes an error and remove/reset it!
-
View User Profile
-
Send Message
Posted Jun 8, 2013BUG!
When I generate a slot machine the item frames are at the back of the machine. I can't break them and put them in the right place because it says "you can't build here". And when I try to remove that slot it gives internal error.
This spams the console: http://pastebin.com/KJEwb1ZB
Please fix this! And allow us to have multiple types with different pots..
-
View User Profile
-
Send Message
Posted Jun 8, 2013Yo, having some problems, when i do /slot or any other related command nothing happens, i have not changed anything and im so desperate to have this plugin on my server, Titanpvp.verygames.net
-
View User Profile
-
Send Message
Posted Jun 8, 2013also can you add to config file starting pot for slotmachine? becouse where is slotmachines and it says pot i can't add more
-
View User Profile
-
Send Message
Posted Jun 8, 2013@bobeeb
Thanks for your contribution, just added this to the list! ;)
-
View User Profile
-
Send Message
Posted Jun 7, 2013i love this plugin. my feature requests: 1.a logging function who has won. 2.a config to modify the messages. 3.disbabling the use of a slotmachine in creative, because its possible to cheat in crea with the item dupe. (Hovering over an item in an inventory and clicking with the mouse wheel when in creative gives the maximum stack of that item.)
-
View User Profile
-
Send Message
Posted Jun 7, 2013@BiweGas
Yes, I'll add that next version, also saw this at the slot machines in Borderlands 2, where you get also prizes if there are only 2 similar ones in a row ;)
-
View User Profile
-
Send Message
Posted Jun 6, 2013can you make mini prizes from 2 in a row and same items in a row(i mean pickaxes,shovels, and other like that) also that should be fully configurable
-
View User Profile
-
Send Message
Posted Jun 6, 2013thanks D:
-
View User Profile
-
Send Message
Posted Jun 6, 2013@BiweGas
Did you do a relog? It's a common thing that item frames spawn at the right side first, but when you relog all should be fine ;)
-
View User Profile
-
Send Message
Posted Jun 6, 2013i have structure error when i not generate slot machine in south way the item frames generate backward in block... how to fix it? here is some screenies: http://imgur.com/EjaVGgt,PXm0ln0
Also i tried to slot save thing but it still generate itemframes backwards
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Carlitoslop12
Step 1: Type in "/slot wand" and take the item you get in your hand.
Step 2: Select the two positions of the cuboid are of your slot machine.
Step 3: Stand close to your slot machine and face to it then type "/slot save NAME".
Now you can generate it with "/slot generate NAME" everywhere you want ;)
-
View User Profile
-
Send Message
Posted Jun 5, 2013Im getting stuck on the styles help me please!
-
View User Profile
-
Send Message
Posted Jun 1, 2013New version is uploaded! :D
-
View User Profile
-
Send Message
Posted May 31, 2013@unrivaledneo
Yes, that's possible ;)
-
View User Profile
-
Send Message
Posted May 30, 2013@DarkBladee12 could you add for the server message that player had won %item% to go along with the money?
-
View User Profile
-
Send Message
Posted May 29, 2013New version will be out soon featuring saving own slot machine designs and much more ;)
-
View User Profile
-
Send Message
Posted May 29, 2013@The_Wizard
At the moment 1 out of 100 is the lowest chance (besides random) but I'm planning to let you customize the min and max value so you can do a chance of 1 out of 1000 or whatever numbers you like!
-
View User Profile
-
Send Message
Posted May 29, 2013@fearless125
I see what I can do ;)