Items In A Slot Machine

The slot machine is a new addition to Borderlands 2, and it allows you to spend all of your hard earned cash for the chance to win fantastic prizes.

Tested Minecraft Versions:
  • 1.7
  • 1.8
  • 1.9
  • 1.10
  • 1.11
  • 1.12
  • 1.13
  • 1.14
  • 1.15
  • 1.16
Source Code:
https://gitlab.com/GuillaumeVDN/GSlotMachine
Languages Supported:
Default files : English -- French -- Chinese (by 冷冷)
Donation Link:
http://www.guillaumevdn.com/plugins/donate/

A recode is planned, with the fresh, recoded version of GCore.
There's no ETA, but I will work on it whenever I can unlock time for it, during 2020-2021.
Until then, this plugin will use the legacy version of GCore.
Bug fixes and support will still be provided.

⭐️⭐️⭐️
GuillaumeVDN's plugins on Spigot !
SupremeShops | QuestCreator | BettingGames | Potatoes
CustomCommands | GParticles | GSlotMachine

⭐️⭐️⭐️


(I don't answer to reviews anymore but I still read them and appreciate them ! <3)
GSlotMachine is a simple plugin to gamble easily, with just one button. Since it's better to explain something with an image instead of 15 text lines, here you have a simple GIF that resumes everything :
https://s5.gifyu.com/images/giphyf0ef42b9edb125f8.gif
(the machine can look like whatever you want, this is just an example)
MachineFeel free to send me ideas to improve the plugin !
  • Simple configuration system
  • Can be easily set up + the machine can basically look like everything
  • Win items or commands
  • Plugin reload system
  • ... and more !
  • Java 8and above
  • Spigot 1.7.2, 1.7.9, 1.7.10, 1.8.8, 1.9.4, 1.10.2, 1.11.2, 1.12.2, 1.13.2, 1.14.4 or 1.15 (others versions may work but it's not guaranteed, for example custom Spigot versions like Paper)
  • Latest version of GCore (included in the zip file)
The Holy Spirits
Steps :
  1. Build the machine ; you can use any type of blocks (can be different) and any type of button. The cases don't have to be next to each other if you don't want.
  2. Create the machine (specify an ID and a type) with /machine create -m:MACHINE_ID_HERE -type:TYPE_HERE (type is the config ID of the type you want to create)
  3. Look at the button (crosshair must be on id) then define it with /machine setbutton -m:MACHINE_ID_HERE
  4. Define the 3 cases with /machine setcase -m:MACHINE_ID_HERE -case:NUMBER_HERE (with 1, 2 and 3 instead of NUMBER_HERE)
  5. You're done with the machine, it's ready to use !

Video tutorial :

  • /gslotmachine reload (permission gslotmachine.admin) : reload the plugin
  • /gslotmachine create -machine|m [id] -type|t:[id] (permission gslotmachine.admin) : create a machine
  • /gslotmachine setbutton -machine|m [id] (permission gslotmachine.admin) : set the machine button
  • /gslotmachine setcase -machine|m:[id] -case:[id] (permission gslotmachine.admin) : set a machine case

See Full List On Borderlands.fandom.com

Command aliases : /gslotmachine, /slotmachine, /machine

Items In A Slot Machines


Slot

#----------------------------------------------------------------------------------------------------
# Configuration file for GSlotMachine
#----------------------------------------------------------------------------------------------------
# Data management
data:
# Back end (JSON, MYSQL) (default JSON)
# If you enable MySQL here, you should definitely enable it for GCore as well
backend: JSON
# Synchronization delay (in seconds) (disabled with -1, by default)
# If this is enabled, the plugin will check the stored data (json/mysql), and if there's new/different data, cached data will be overriden here
sync_delay: -1
# MySQL identifiers (if backend is MYSQL)
# mysql:
# host: mysql.myserver.com
# name: mydatabase
# user: username
# pass: pwd
# Machines types
types:
gold:
cost: 100.0
animation_sound: BLOCK_WOODEN_BUTTON_CLICK_ON
win_sound: ENTITY_PLAYER_LEVELUP
lose_sound: BLOCK_ANVIL_BREAK
prizes:
1:
type: GOLD_INGOT
amount: 16
chance: 30
give_item: true
commands:
- 'broadcast &a{player} won 16 gold ingot in a slot machine !'
2:
type: DIAMOND
amount: 1
chance: 10
give_item: true
commands:
- 'broadcast &a{player} won 1 diamond in a slot machine !'
3:
type: QUARTZ
amount: 32
chance: 10
give_item: true
commands:
- 'broadcast &a{player} won 32 quartz in a slot machine !'
4:
type: COBBLESTONE
amount: 64
chance: 20
give_item: true
commands:
- 'broadcast &a{player} won 64 cobblestones in a slot machine !'
5:
type: APPLE
amount: 16
chance: 10
give_item: true
commands:
- 'broadcast &a{player} won 16 apples in a slot machine !'
6:
type: DEAD_BUSH
amount: 16
chance: 10
give_item: true
commands:
- 'broadcast &a{player} won 16 dead bushes in a slot machine !'
7:
type: BONE
amount: 16
chance: 10
give_item: true
commands:
- 'broadcast &a{player} won 16 bones in a slot machine !'

By using this plugin, you agree to the following !
  • The reviews section is provided for you to give your opinion on the plugin and not to get support / suggest things. See links at the top of the page to get help ! (discord)
Thanks to waqe, for your 25.00€ donation ! <3[/SPOILER]