Slot Machine icon

Slot Machine -----

Make GUI Slot Machines with deep customization and support



Execute a command when a user wins
You can execute commands or give items when players win
This can only be done by editing the machine's file.
You can use all placeholders in your commands (See plugin page for a list)

You have to change the 'type' to 'COMMAND' to execute a command, change the reward from 'item' to 'command'

Here is an example :
Code (YAML):
items:
  '0'
:
    item
: &id002
      ==
: org.bukkit.inventory.ItemStack
      v
: 1976
      type
: WOODEN_AXE
    weight
: 1
    rewards
:
      '0'
:
        type
: COMMAND
        command
: say $player won the lottery !
      '1'
:
        type
: ITEM
        item
: *id002
      '2'
:
        type
: COMMAND
        command
: givetokens $player 500 default
 
----------, Oct 25, 2018
Resource Information
Author:
----------
Total Downloads: 31,582
First Release: Apr 19, 2016
Last Update: Jan 19, 2025
Category: ---------------
All-Time Rating:
86 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings