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 Jan 15, 2014@mikkibee
Thanks for reporting, this will be fixed immediately and the new version will be reuploaded!
EDIT: New version has been reuploaded and is available here!
-
View User Profile
-
Send Message
Posted Jan 14, 2014when players have 1 coin (specifically a nugget) that one never gets used up. Some of my honest players let me know about it, and we checked with every possible rank.
Edit: I did post a ticket, I just wanted to put a comment to warn other people =P
-
View User Profile
-
Send Message
Posted Jan 14, 2014New version has been uploaded and is available here! Please tell me if you still find any bugs so I can fix them and reupload the file before it's approved ;)
-
View User Profile
-
Send Message
Posted Jan 13, 2014@mikkibee
Sure I will keep it updated ;)
-
View User Profile
-
Send Message
Posted Jan 13, 2014@DarkBladee12
10-4 yeah i completely disabled item payouts, thank you for such a great plugin btw. Before this update i had to completely disable the slots due to players being able to rob the items off the frames xD
-
View User Profile
-
Send Message
Posted Jan 13, 2014I was just posting when I saw you posted. My derpy admin was still op'd. All's well. This plugin is pretty damn cool bro. I hope you keep updating it in the future! I have yet to see how my players react to it, as we haven't opened the casino to them yet. But if nothing else, lol at least it will entertain me!
-
View User Profile
-
Send Message
Posted Jan 13, 2014@marine_mca
I'll look into that, you can just disable the item pot of the slot machine by now, so they won't win any items ;)
-
View User Profile
-
Send Message
Posted Jan 13, 2014@mikkibee
That's not possible if you didn't give your players the modify permission... I've tested this several times without the modify permission and it was not possible to pop the items out of the frames! You can do that with commands that are executed upon winning, it's in the config of a slot machine.
-
View User Profile
-
Send Message
Posted Jan 13, 2014Just so you know, players can go up to the item frames and pop stuff out. Even when it's in a protected area and has all the appropriate flags.
Edit: I'm also wondering, if there is a possibility of adding a global broadcast when a player wins: {name} has won {xamount} playing slots - or something to that nature. If it's already there, forgive me =P .
-
View User Profile
-
Send Message
Posted Jan 13, 2014@DarkBladee12
Players are wining stacks of glowstone and lapiz. could you please fix it? and what is the best and fastest way to disallow item wins if there's any?
Thank you.
{{[URL=http://s1332.photobucket.com/user/marine_mca/media/2014-01-13_012322_zps83d9986b.png.html]
[IMG]//i1332.photobucket.com/albums/w604/marine_mca/2014-01-13_012313_zpsa5f85585.png" rel="noopener nofollow" target="_blank">http://i1332.photobucket.com/albums/w604/marine_mca/2014-01-13_012313_zpsa5f85585.png[/IMG][/URL]|screenshot2">http://i1332.photobucket.com/albums/w604/marine_mca/2014-01-13_012313_zpsa5f85585.png[/IMG][/URL]|screenshot2}}
-
View User Profile
-
Send Message
Posted Jan 12, 2014np, also in the latest release, adding another lore to the coins, and they wont work.
it worked in v. 1.2.8 , but in 1.3.0 it dont.
-
View User Profile
-
Send Message
Posted Jan 12, 2014@Chriszh
Thanks for reporting this bug, I've fixed it immediately and the new version will be uploaded once I finished everything on the upcoming features list ;) For now I advise you to have a maximum of one stack of coins in the inventory when playing at a slot machine in order to not lose more than 1 coin!
-
View User Profile
-
Send Message
Posted Jan 11, 2014People are complaining about their slot coins disapear, i made some testing myself also, i bought 5 stacks, put 1 coin into a slot machine, open inventory and click and stack the coins in different ways, you will lose some coins, if not a lot of coins.
also they lose stacks of coins when playing ?
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Revdutchie
Well I don't think that's possible with the system im currently using, but I'll see if it works and fits in ;)
-
View User Profile
-
Send Message
Posted Jan 10, 2014Great DarkBladee12
May I give an other suggestion. There is a plugin called gambleitem, what it basicly does is you can gamble for double or nothing. Now the idea is to do something like that with a sign on the slot machine. So if you win an ammout that you can choose payout, or press a sign for double or nothing.
Maybe I am asking to much :-)
-
View User Profile
-
Send Message
Posted Jan 10, 2014@Revdutchie
I'm going to add an option to make multiple coins with different ids and prices ;)
-
View User Profile
-
Send Message
Posted Jan 10, 2014@Revdutchie
You can already make machines cost different amounts to use. Although you can't have different coins.
In the slotmachine config file you can chose how many coins it will cost to use that machine.
For example, if in the main config.yml you have coins set at $10 each to buy. Your default slotmachine will use 1 coin per use, costing you $10 each time. Where as in the slotmachine config if you change it to use 10 coins each time then it would take 10 coins out of the players inventory costing them $100. If they playing does not have the amount of coins required in his inventory then the slot machine won't run.
You can also change the default pot in the slotmachines config file, making the slot machines that cost more coins to use pay out bigger.
I hope this helped you. And I am working on a video for ItemSlotMachine which should be released today if not in the next few days.
-
View User Profile
-
Send Message
Posted Jan 9, 2014Hello,
I found the no space error, it was because I tried in an area that was covered with snow so it would not build. now I have it working and I LOVE IT !! many thanks for this great plugin.
Next to that I have a request. I want to build a little Casino with different slot machines and I have 3 so far without any problems, but it would be nice if I can use different coins and/or items.
For example I want to have a super cheap machine where players can play using cobblestone for example.
Next to that I have machines for $1, $10 and $100. Now that forces me to make a coin $1 but if a player wants to play on the $100 machine, he needs 3 stacks of coins for 3 spins.
So long story short, it would be very nice to have multiple value coins.
Thanks for reading, Rev
-
View User Profile
-
Send Message
Posted Jan 8, 2014DarkBladde12
Can you do a new version of Modern Weapon please :c I been waiting for it from 2 months ago please :c Or tell us how you go on the progress on it :)
-
View User Profile
-
Send Message
Posted Jan 8, 2014@Revdutchie
Well every block counts even grass and flowers, the space has to be complete empty!