Price

Price property can be added to functions, to make them cost money to execute. If the player doesn't have the funds, the function will not execute.

warp_price:
  type: button
  size: 256 128
  color: blue
   
  on-click:
    command1:
      type: command
      execute-from-console: true
      command: 'warp %player_name% exclusivewarp'
      
      ## the amount it costs to execute the function
      price: 500
```   
          

Last updated