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 May 1, 2013Is it just to write 'ItemSlotMachine.use in 'permissions.yml' then ?
-
View User Profile
-
Send Message
Posted May 1, 2013@ScribbleStep
Give your players the permission "ItemSlotMachine.use" then they can also play with the slot machines!
-
View User Profile
-
Send Message
Posted Apr 30, 2013@kukelekuuk00
@Etsija
I found a solution: I add that the plugin automatically gives the coin item a damage value of 1 so people can't sell these items in shops or can craft anything with them! (tested ;))
-
View User Profile
-
Send Message
Posted Apr 30, 2013Only ops can use the slots. How do i make so everyone can use it ?
/ScribbleStep
-
View User Profile
-
Send Message
Posted Apr 30, 2013@ScribbleStep
Download and install the Vault plugin.
DarkBladee12, The coin system is difficult to implement in an economy where most "unobtainable" items are being traded constantly, meaning we wouldn't have any items to use as coins and items you can obtain ruin the purpose of the coinshop. Therefore I'd request a way to simply use the installed Economy plugin, instead of buying coins beforehand.
-
View User Profile
-
Send Message
Posted Apr 29, 2013@Pixiyo
Yes, but I can buy the "coins" (ie. gold nuggets) for a cheap price, forge those into gold ingots and sell to our HyperConomy shop for afar larger price. Just tested it on my test server and made a nice $10k profit with this trick.
That's why we REALLY need this to work for whatever item (we'd prefer 142).
EDIT: On a second thought...we CAN work around this - by using a worthless material, which is not traded in our shop. Have to try out
-
View User Profile
-
Send Message
Posted Apr 29, 2013@Pixiyo
Nvm, other plugin. Sorry
-
View User Profile
-
Send Message
Posted Apr 29, 2013@DarkBladee12
Since i've added your plugin..: 29.04 16:42:53 [Server] SEVERE java.lang.ArrayIndexOutOfBoundsException 29.04 16:42:53 [Server] SEVERE java.lang.ArrayIndexOutOfBoundsException 29.04 16:42:53 [Server] SEVERE java.lang.ArrayIndexOutOfBoundsException 29.04 16:42:53 [Server] SEVERE java.lang.ArrayIndexOutOfBoundsException 29.04 16:42:53 [Server] SEVERE java.lang.ArrayIndexOutOfBoundsException 29.04 16:42:53 [Server] SEVERE java.lang.ArrayIndexOutOfBoundsException
keeps saying this in chat.
-
View User Profile
-
Send Message
Posted Apr 29, 2013@Etsija
You know you can't use a normal gold nuggut on the machine right? Only the one's you buy :)
-
View User Profile
-
Send Message
Posted Apr 29, 2013@Etsija
Mhh, no sorry I can't because I want to people use a specific item not the default ones! Even if I would make the name configurable and you would set it to "Potatoe" it wouldn't work, because it checks the custom name of the item and a legitimate item doesn't have a custom name. Sorry :/
-
View User Profile
-
Send Message
Posted Apr 29, 2013We want to use something as a coin which cannot be gotten legitimally in the game and the value of which is non-existent, to prevent misuse of coins (gold nuggets are not a good option, since they can be sold to our shops for a better prize than the slot machine charges).
We ended up with the idea of using item 142, which is some kind of potatoe or carrot seed I think. Alas, this does not work as a coin :( and the slot machine doesn't respond when I try to start it with the seed...I can still buy one from the CoinShop, but cannot use it with the slot machine.
Can you fix this?
-
View User Profile
-
Send Message
Posted Apr 26, 2013@fatmarleys
This issue has been posted over 100 times here, simple relog fixes your problem...
-
View User Profile
-
Send Message
Posted Apr 26, 2013@EpicDinosaurz
You can win money with the slot machines! ;)
-
View User Profile
-
Send Message
Posted Apr 25, 2013I can't generate a slot facing EAST...the item frames show up on the back of the slot machine.
Using your 1.2.2 build with 1.5.1r2 bukkit
-
View User Profile
-
Send Message
Posted Apr 23, 2013Is there a way to convert coins back to money? Or to make it so you make money from the slots? I use iconomy 6
-
View User Profile
-
Send Message
Posted Apr 22, 2013@aburt
Will be released the next days and everything should be fixed then ;)
-
View User Profile
-
Send Message
Posted Apr 22, 2013Hello, I write you because I have a problem with plugin: Has 3 in the daytime the plugin there walked correctly but when I put my waiter (hamachi ) on a host, the plugin did not work any more Nevertheless I can always buy corners but the machine does not answer. I hope that we can help me because plugin are really excellent. So I am French thus I took a software to translate everything x)
-
View User Profile
-
Send Message
Posted Apr 21, 2013Hi, this plugin shows great potential and we are considering taking it into use. Just one thing bothers me: is it not possible to pay out the wins directly to the player's account, using the internal /pay command? We have HyperConomy on our server, which kind of makes all mineral values floating (dynamic), therefore, paying out in diamonds, iron etc. is not so good.
-
View User Profile
-
Send Message
Posted Apr 21, 2013Using version 1.2.2 the slot machines work perfectly for a short time then randomly stop working at all. The only thing that fixes it is a server restart, until it inevitably stops working again.
-
View User Profile
-
Send Message
Posted Apr 21, 2013Is the new version going to be released soon?