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
Please add support for version 1.12.2
Please add support for version 1.12.2
Please add support for version 1.12.2
Please add support for version 1.12.2
Please add support for version 1.12.2
Please add support for version 1.12.2
Please! ❤
please I need the config of a slot machine with combos to learn how to set it up.
of the last version pls
Please tell me how to use custom model data for coin and slot designs, and make the sound of hitting a resource pack sound. I am Japanese, so I use a translator.
Please update the plugin if possible. Ill try using as is.
Please add support for version 1.12.2. Now there ara more minecraft servers with 1.12.2 version, then servers with 1.17 - 1.19
IS it possible to put player heads in the slot machines? I tried player_head with the usual SkullOwner tag but it doesn't work. Can't find any examples based on custom blockdata :(
PS: The plugin works fine on a 1.17 server
Hi. I have a problem with the slot machines. When I use one of them, and i disconnect from the server after having used it, the slot machine keep the items in the itemframes and they dont rotate anymore until i do a /slot rebuild.
Is there any way to fix it?
Heyy just found out this works again, really nice!
I deactivate an slot how i activate again ????
version 1.4.2 works fine on my 1.6.1 paper. :)
Hey i have a question my slotmachine keeps paying out milions and milions of lapis and glowstone
In reply to Daycarejr:
Thanks for reporting, can you provide me with any error logs from the server console? If you haven't already, turn on the debug mode in the config.yml for the full exceptions to be logged in the console.
Please add support for version 1.12.2
Please add support for version 1.12.2
Please add support for version 1.12.2
Please add support for version 1.12.2
Please add support for version 1.12.2
Please add support for version 1.12.2
Please! ❤
Can I decide on the compensation item? Put it in the GUI, not the vanilla item, and recognize it
I wonder if I can use custom model data for coins
Can you decide the name and lower of the reward item if the custom model data is available?
Please understand that I am not good at English so I use a translator
In reply to dakdld:
Currently you can only set the name and the lore of the coin item which is defined in your selected messages file. This will only apply if you set coin.use-common-item in the config.yml to true. The reward items in the item pot don't have optional item meta in the config yet. So they can only be regular items with the exception of the coin (coin as placeholder in the item name). However you can add some items with meta manually via the ingame command /slot item <name> add hand or by modifying the current item pot in the <name>.json file of the slot machine.
Would be awesome to get some kind of placeholder support to make a leaderboard of top winners across all machines.
In reply to SmallSansSerif:
Could you elaborate on how that would work? I could imagine you want those placeholders for signs, right?
In reply to DarkBlade232:
I plan to use the placeholders for holograms. I know you already have all of the statistics built it pretty much so imagining just translating the commands into multiple placeholders instead. %itemslot.player% %itemslot.topplayerwinnings.1%, %itemslot.topplayerwinnings.2%, etc. or something like that for 10 different placeholders to create a top 10 hologram. Or %itemslot.slotmachinename% %itemslot.totalwinnings% could track each machine so you could list the winnings from each machine or something. More interested in the player focused placeholders however. Anything that create a ranking would be great!
I made a ticket on GitHub but wanted you to know ASAP that there was a permissions bug with the latest version. Can you fix this? I’ve had to disable the plugin in the interim as it was letting all players create slots and give unlimited coins with the commands.