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