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 Feb 15, 2014@Marv55H
Hmm, I'll try to resolve the issue of that and fix it asap.
-
View User Profile
-
Send Message
Posted Feb 15, 2014I've already tried it,but it still Not work.
-
View User Profile
-
Send Message
Posted Feb 15, 2014@ozenc123
What is your problem exactly?
-
View User Profile
-
Send Message
Posted Feb 15, 2014@Marv55H
Have you tried destroying the sign and placing a new one?
-
View User Profile
-
Send Message
Posted Feb 14, 2014I change my Language in German, after i buildt a new slot machine and put a sign for the shop on it, the shop don't work. The sign shows correctly all words in german, but if i click on the sign, i wouldn't get any coins? Where could be the problem?
-
View User Profile
-
Send Message
Posted Feb 12, 2014I don't change coins price
-
View User Profile
-
Send Message
Posted Feb 6, 2014@Minkafighter
What kind of pot do you mean? (item or money) If it is money, make sure you have Vault installed and a supported economy plugin!
EDIT: Bug was fixed, if you encounter ifinite fireworks spawning either update to the latest development build of CraftBukkit or disable Fireworks_Enabled for your slot machines!
-
View User Profile
-
Send Message
Posted Feb 6, 2014HELP
Umm, My Players dont become the Pot when they win.. why? did they need an permission? please answer fast!
-
View User Profile
-
Send Message
Posted Feb 6, 2014@Dsiddia
No that's not possible atm, however you can give that machine a cool design.
-
View User Profile
-
Send Message
Posted Feb 5, 2014Anyway I could have a slot machine that has more than 3 item frames? I'm wanting to make a "Jackpot" type machine that has a ton of item frames. :)
-
View User Profile
-
Send Message
Posted Feb 4, 2014Darkbladee,
I use the Quests addon and I give items on completed quests, nw I tried to give Casino Coins with give "id-371:amount-10:name-Coin"
It gives the coins but the slotmachine doesnt accept them, any idea on how I can do this ?
Rev
@DarkBladee12
@DarkBladee12
NVM, got it working, the quest addon can handle your /coin grant <player> <amount> command :-)
-
View User Profile
-
Send Message
Posted Feb 4, 2014@Revdutchie
Well check if you can add somehow the lore to the item (maybe with :lore-<lore>) in order to make them actually work. But if you can also define the lore of the item somehow with the plugin check if the name and the lore matches with the name and the lore in the language file!
-
View User Profile
-
Send Message
Posted Feb 4, 2014@Xemnian
No currently not, you can only make one type of machine take more coins than another.
-
View User Profile
-
Send Message
Posted Feb 4, 2014@DarkBladee12
Ok, but is there any way to do it ? I think it is fun to have quests where you win Casino coins, makes them use the casino more also.
-
View User Profile
-
Send Message
Posted Feb 4, 2014So I couldn't use the plugin twice with 2 different coins, assuming only one used the coinshop sign? Its important that the two are kept separate.
-
View User Profile
-
Send Message
Posted Feb 4, 2014@Xemnian
Well currently you can do something similar, you just can't have different coins. As of now you'd have to make the activation amount different for the groups of slots!
-
View User Profile
-
Send Message
Posted Feb 4, 2014@Revdutchie
The problem is that you don't add a lore to the coin item, because it will check for the exact name and lore which is defined in your language file! ;)
-
View User Profile
-
Send Message
Posted Feb 3, 2014Darkbladee,
I use the Quests addon and I give items on completed quests, nw I tried to give Casino Coins with give "id-371:amount-10:name-Coin"
It gives the coins but the slotmachine doesnt accept them, any idea on how I can do this ?
Rev
-
View User Profile
-
Send Message
Posted Feb 3, 2014I was hoping to use this plugin to operate 2 groups of slots, each with it's own rewards set and coin. Would I be able to do this with this plugin or would I need a secondary plugin alongside this?
-
View User Profile
-
Send Message
Posted Feb 3, 2014@chopstick121
Yes this will be included in a future update, as well as maybe the function to define enchantments for items in the config files!