please delete old config.yml if you download an update
If you have errors regarding mysql, please check if you installed it properly(You can disable mysql in config)
What is this plugin about?
Slot machine is the perfect plugin for servers like skyblock ,prison, factions and more. Its fun and addictive, players can win or lose money when playing. Its like a real world slot machine.
NOTE: You would need vault and an economy plugin for this plugin to work.
Players would run a command(/slotm start) to open the gui. They would set the amount they want to bet, then the plugin opens the slot machine and it spins. Players win when an item is three in a row. The prizes are rewarded as shown:
if 3x iron in a row = player gets the amount of money he/she bet x 2
if 3x diamond in a row = player gets the amount of money he/she bet x 4
if 3x coal in a row = player gets the amount of money he/she bet x 1
NOTE: These items(diamond, iron and coal) and multiples(x2 ,x4 , x1) can be configured in the config.yml
Aliases: slotmachine, slotm, smachine ( NOTE: /sm has been removed )
slotmachine.use - use slot machine player commands
slotmachine.admin - use slot machine admin commands
Video credit to NhutThinVN
Like what im doing and want more?
You can do the following if you want a custom plugin made for your server:
Downloads:
Please don't post errors on the review page:
Posts about problems regarding this plugin in the review page will not be replied, please post them in the discussions page
If you have errors regarding mysql, please check if you installed it properly(You can disable mysql in config)
What is this plugin about?
Slot machine is the perfect plugin for servers like skyblock ,prison, factions and more. Its fun and addictive, players can win or lose money when playing. Its like a real world slot machine.
NOTE: You would need vault and an economy plugin for this plugin to work.
Players would run a command(/slotm start) to open the gui. They would set the amount they want to bet, then the plugin opens the slot machine and it spins. Players win when an item is three in a row. The prizes are rewarded as shown:
if 3x iron in a row = player gets the amount of money he/she bet x 2
if 3x diamond in a row = player gets the amount of money he/she bet x 4
if 3x coal in a row = player gets the amount of money he/she bet x 1
NOTE: These items(diamond, iron and coal) and multiples(x2 ,x4 , x1) can be configured in the config.yml
- Fun animated slot machine
- Easy to understand, self explaining help menu gui
- Easy to setup and play
- Sound effects
- Everything is configurable (well... almost)
Spoiler: config.yml
Code (Text):
#
#
# <--- SLOT MACHINE --->
# Created by Ean224, version 1.0
#
# Please refer to Spigot page to know more
# about this plugin
#
# If you still have any questions, feel
# free to pm me on Spigot
#
#
#Sets the default and minimum bet price
#This value will also effect the value of increase and decrease per press
bet_price: 50
#materials in slot machine
#insert block id
material:
material1: DIAMOND
material2: IRON_INGOT
material3: COAL
#Multipliers for the materials
#Players who won are rewarded relative to multipliers
#example: if a player won with material1 three in a row the player would recieve
#an amount of money which is equal to (amount bet) * (material1 multiplier)
#REMEMBER: multiplier1 is for material1, multiplier2 is for material2...
multiplier:
multiplier1: 4
multiplier2: 2
multiplier3: 1
#Sound effects
UI_CLICK: true
POP_SOUND: true
#
# <--- SLOT MACHINE --->
# Created by Ean224, version 1.0
#
# Please refer to Spigot page to know more
# about this plugin
#
# If you still have any questions, feel
# free to pm me on Spigot
#
#
#Sets the default and minimum bet price
#This value will also effect the value of increase and decrease per press
bet_price: 50
#materials in slot machine
#insert block id
material:
material1: DIAMOND
material2: IRON_INGOT
material3: COAL
#Multipliers for the materials
#Players who won are rewarded relative to multipliers
#example: if a player won with material1 three in a row the player would recieve
#an amount of money which is equal to (amount bet) * (material1 multiplier)
#REMEMBER: multiplier1 is for material1, multiplier2 is for material2...
multiplier:
multiplier1: 4
multiplier2: 2
multiplier3: 1
#Sound effects
UI_CLICK: true
POP_SOUND: true
Spoiler: messages.yml
Code (Text):
#
#
# configure this file to modify the
# messages sent to players
#
#
#The prefix for all messages
#Remember to put a space after the prefix
prefix: "&6[&bSlotMachine&6] "
#Error message when player inputs incorrect command
error_msg: "&cWrong usage: do &e/sm help &cfor help!"
#Insufficient money when player's balance is less than the bet amount
not_enough_money: "&c&lYou do not have enough money!"
#Win message when player wins
#Use %money% as money placeholder
win_msg: "&eCongrats! You have won &c$%money% &efrom the bet!"
#Message sent when a player loses
lose_msg: "&cSorry, better luck next time"
#Message sent when player executes the slot machine
msg_money_taken: "&e$%money% &2has been taken from your account, you now have &e$%balance%"
#
# configure this file to modify the
# messages sent to players
#
#
#The prefix for all messages
#Remember to put a space after the prefix
prefix: "&6[&bSlotMachine&6] "
#Error message when player inputs incorrect command
error_msg: "&cWrong usage: do &e/sm help &cfor help!"
#Insufficient money when player's balance is less than the bet amount
not_enough_money: "&c&lYou do not have enough money!"
#Win message when player wins
#Use %money% as money placeholder
win_msg: "&eCongrats! You have won &c$%money% &efrom the bet!"
#Message sent when a player loses
lose_msg: "&cSorry, better luck next time"
#Message sent when player executes the slot machine
msg_money_taken: "&e$%money% &2has been taken from your account, you now have &e$%balance%"
Spoiler: items.yml
Code (Text):
# Slot machine items configuration file - this file will load the items in guis
# Waring: if any errors are detected, this file will automatically reset to default
selection_menu:
add_money_name: '&a&lAdd'
add_money_lore: '&7Increase bet amount by %amount%'
minus_money_name: '&c&lMinus'
minus_money_lore: '&7Decrease bet amount by %amount%'
confirm_bet_name: '&e&l$%money%'
confirm_bet_lore: '&7Click me to start the bet'
confirm_bet_material: PAPER
cancel_bet_name: '&c&lCancel'
cancel_bet_lore: '&7Cancel the bet'
cancel_bet_material: BARRIER
help_menu:
help_instructions_name: '&e&lInstructions'
help_instructions_lore_1: '&7This page shows instructions for the slot machine game'
help_instructions_lore_2: '&7Do &e/sm start&7 to start the game'
help_instructions_material: BOOK_AND_QUILL
help_intro_name: '&4&lIntro'
help_intro_lore_1: '&7Prizes are shown below'
help_intro_lore_2: '&7You win only if you get 3 in a row'
help_intro_material: SIGN
help_command_name: '&6&lLIST OF COMMANDS'
help_command_lore_1: '&3/sm- &amain command'
help_command_lore_2: '&3/sm help- &aopens the help menu'
help_command_lore_3: '&3/sm start- &aopens the slot machine menu'
help_command_material: BOOK
# Waring: if any errors are detected, this file will automatically reset to default
selection_menu:
add_money_name: '&a&lAdd'
add_money_lore: '&7Increase bet amount by %amount%'
minus_money_name: '&c&lMinus'
minus_money_lore: '&7Decrease bet amount by %amount%'
confirm_bet_name: '&e&l$%money%'
confirm_bet_lore: '&7Click me to start the bet'
confirm_bet_material: PAPER
cancel_bet_name: '&c&lCancel'
cancel_bet_lore: '&7Cancel the bet'
cancel_bet_material: BARRIER
help_menu:
help_instructions_name: '&e&lInstructions'
help_instructions_lore_1: '&7This page shows instructions for the slot machine game'
help_instructions_lore_2: '&7Do &e/sm start&7 to start the game'
help_instructions_material: BOOK_AND_QUILL
help_intro_name: '&4&lIntro'
help_intro_lore_1: '&7Prizes are shown below'
help_intro_lore_2: '&7You win only if you get 3 in a row'
help_intro_material: SIGN
help_command_name: '&6&lLIST OF COMMANDS'
help_command_lore_1: '&3/sm- &amain command'
help_command_lore_2: '&3/sm help- &aopens the help menu'
help_command_lore_3: '&3/sm start- &aopens the slot machine menu'
help_command_material: BOOK
Aliases: slotmachine, slotm, smachine ( NOTE: /sm has been removed )
- /slotmachine- main command
- /slotmachine help - opens help gui
- /slotmachine start - starts a bet
- /slotmachine stats - shows player stats(wins,loses) only if mysql enabled
slotmachine.use - use slot machine player commands
slotmachine.admin - use slot machine admin commands
Spoiler: Pictures
Video credit to NhutThinVN
Like what im doing and want more?
You can do the following if you want a custom plugin made for your server:
- Pm me on spigot(Ean224)
- email me: [email protected]
- Contact me on discord: [email protected]
Downloads:
- 50 - DONE
- 100 - DONE
- 200 - DONE
- 400
- coming soon
Please don't post errors on the review page:
Posts about problems regarding this plugin in the review page will not be replied, please post them in the discussions page
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
SlotMachine|Probability now configurable|Massive bug fix|1.8.x-1.12.x is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 3,144 times (via Spigot). Download it and open it directly in the game.