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 Nov 7, 2014Changed the sound of winning..
Reloaded server and config..everything. It won't change. I mucked up on the pitch and it's a weird sound of enderdragon growl..
-
View User Profile
-
Send Message
Posted Oct 29, 2014@Dillzzzzz
Well It's on github so i presume so.
-
View User Profile
-
Send Message
Posted Oct 28, 2014Support for larger numbers would be cool
http://puu.sh/cu10Q/056735869f.png
instead of that format just have it to say 11bil
-
View User Profile
-
Send Message
Posted Oct 27, 2014Wait, can there be a different price for each machine?
-
View User Profile
-
Send Message
Posted Oct 27, 2014@charleyx115
Is that allowed?
-
View User Profile
-
Send Message
Posted Oct 10, 2014@rangewonk
Nah. I already tried adding the frames in after and it didn't work. Also I can't downgrade the server either due to the mods we use require the map to be generated first. I'll see if anyone could upgrade from the source code.
-
View User Profile
-
Send Message
Posted Oct 7, 2014@charleyx115
@teddy_love_cake
DarkBladee12 would be able to give you a better answer, although on my server I still use this plugin and it works without any problems.
You could try generating the slots and then manually adding the item frames, or using world edit to put them in although i'm not sure if this would world.
If possible, make your server pre-1.7.10 then generate the slot machines and then update the server again, this should fix your problem.
-
View User Profile
-
Send Message
Posted Oct 5, 2014Will this be updated to 1.7.10 anytime soon? Or has someone already done it? Every time I make a design the item frames disappear when i build the slot.
-
View User Profile
-
Send Message
Posted Sep 30, 2014can you please update to 1.7.10 it doesnt seem to work it says this slot machine appears to be broken i need this for my casino server please and thank you!!
-
View User Profile
-
Send Message
Posted Sep 1, 2014I think I found a bug with the 'Command_Execution'. I've set the command execution to a /broadcast. It's working fine with regular combos and with multiplier combos, but only when the three items in the slots are the same. 3x Diamond blocks gives a broadcast, so does 3x Gold and 3x Iron, but the combination of 1x Diamond, 1x Gold, 1x Iron does not execute the command. It does however pay out, reset the pot money, launch the fireworks, play the sound, and shows a message to the winner.
-
View User Profile
-
Send Message
Posted Aug 22, 2014@DarkBladee12
http://pastebin.com/AcrDjW5z Sorry!
-
View User Profile
-
Send Message
Posted Aug 22, 2014@_elements
This isn't the full error since it's missing the stacktrace for files of ItemSlotMachine. Please post the full error log and I can see what caused that!
-
View User Profile
-
Send Message
Posted Aug 10, 2014http://pastebin.com/w6yYyY1n
-
View User Profile
-
Send Message
Posted Aug 8, 2014@VGamersReview
same problem pls help
-
View User Profile
-
Send Message
Posted Aug 8, 2014@xxfire17xx
The permission for using a slot machine is ItemSlotMachine.slot.use!
-
View User Profile
-
Send Message
Posted Aug 7, 2014Is there a perm to use them cause only ops can use them
-
View User Profile
-
Send Message
Posted Aug 4, 2014I broke my 'lang_EN.txt' file. Is there anyway you could send them to me or just comment them?
It's not everything, it's just:
Greetz, Heggy
-
View User Profile
-
Send Message
Posted Aug 2, 2014@DarkBladee12
fixed it, i had to replace the frames, wich i already tried ... but oh well, technology .... xD
Thanks anyway :)
-
View User Profile
-
Send Message
Posted Aug 2, 2014@VGamersReview
Check your server log for warnings or errors and post them here properly please!
-
View User Profile
-
Send Message
Posted Aug 1, 2014@DarkBladee12
Hey, so i have a problem i hope someone can help me with. When i build a default slotmachhine and try to use it i get a message saying: "This slot machine seems to be broken an can't be used!" Can you please help me solve this?