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 Sep 13, 2013hi, I encounter a problem a game without error that playing in the console, here is the bug appeared itemslotmachine I put up in sets and one day after the frame disappears into the machine and the machine will then work more
-
View User Profile
-
Send Message
Posted Sep 13, 2013@jessefjxm
Sure, just use "371,88" instead of "371" ;) However the "," will be changed to "-" in the next version but for this version "," works!
-
View User Profile
-
Send Message
Posted Sep 12, 2013Can we use meta data in CoinItem ,like 371:88 ? 0.0
-
View User Profile
-
Send Message
Posted Sep 9, 2013So guys, I just finished my work on PaintWar and I'm going to continue working on ItemSlotMachine! You can still post some suggestions for the new version!
Current recoding progress: 25%
-
View User Profile
-
Send Message
Posted Sep 9, 2013@kuwoobie
I know, I disabled it for current version as a placeholder! There will be a bypass permission in the next version soon with the exception that you can't break the sign, the jukebox, on of the item frames or the blocks on which the item frames are attached to.
-
View User Profile
-
Send Message
Posted Sep 7, 2013Why can't OPs break or place blocks onto slot machines? There doesn't appear to be any way to bypass or configure it otherwise...
-
View User Profile
-
Send Message
Posted Sep 7, 2013@jonasfire64
However I'll add in the next version that Vault is of optional dependency, so you can chnage it so that ItemSlotMachine just gives out items! I'm going to start working on ItemSlotMachine again as soon as I finished my work on PaintWar which will be pretty soon!
-
View User Profile
-
Send Message
Posted Sep 7, 2013@jessefjxm
This will definitely be in the next version! ;)
-
View User Profile
-
Send Message
Posted Sep 6, 2013@DarkBladee12
Oh sorry! I didn't see that in the Features section! X) Thanks for the help! (:
-
View User Profile
-
Send Message
Posted Sep 6, 2013Hope there is a "manual stop" mode to make it more interesting :)
-
View User Profile
-
Send Message
Posted Sep 2, 2013@Geoneo97
Well that's obviously a bug of the "broadcastEffect" method from the minecraft server world class! It occurs only sometimes but the most time it should work though ;)
-
View User Profile
-
Send Message
Posted Sep 1, 2013please add translation file i will translate it in german for you when you add it :)
-
View User Profile
-
Send Message
Posted Sep 1, 2013hey .. when i win no firework explode i have it in the config enabled
-
View User Profile
-
Send Message
Posted Sep 1, 2013@jonasfire64
Hey, did you check if you're running Vault + Economy plugin? If not install them please, you could take a look at the server.log and search for errors associated with ItemSlotMachine. (in your case it's likely at the startup)
-
View User Profile
-
Send Message
Posted Aug 31, 2013Hey there! (: I'm currently working on a Casino/Hotel place for my server, and every time I type a command (ex. /slot generate) nothing happens. Even if I type /slot help, nothing happens in the game, or in the server log. Would any of you be kind enough to tell me if I'm doing anything wrong? Thanks!
By the way, I'm using bukkit 1.6.2-R0.2. Thanks (:
-
View User Profile
-
Send Message
Posted Aug 31, 2013@manugeist
u will need groupmanager to make it easiest way i think
-
View User Profile
-
Send Message
Posted Aug 31, 2013How can i do to give permissions in essentials? i dont have group.. i agree ItemSlotMachine.use and the players cant use it
-
View User Profile
-
Send Message
Posted Aug 26, 2013Thanks for the info, and GREAT plugin! ;)
-
View User Profile
-
Send Message
Posted Aug 26, 2013@tomeke1000
That only happens for certain directions, just relog and the frames will be displayed correctly! And yeah, I was on vacation and I'm back now so I try to work on ItemSlotMachine again ;)
-
View User Profile
-
Send Message
Posted Aug 26, 2013When i do /slot generate i get the slot and everything, but the itemframes are on the back of the slotmachine! Someone please help!