Rewards.yml - wouter-blockken/ChatBrawl GitHub Wiki

#list of rewards you can use to assign to race entries, you can add as many entries as you like
#make sure to use a unique identifier when adding! (1 in this example)
#these identifiers can be used under the "reward-id's" option of race entries
rewards:
  1:
    #chance of this reward being executed
    chance: 20

    #list of commands that is executed if this reward
    #get's selected, add as many as you want
    commands:
      - 'eco give <player> 10'
      - 'time set day'

    #broadcasted when selected, if you want to disable leave
    #the single quotes empty ('') DON'T REMOVE THEM!!!
    broadcast: '<player> has won $10!'

    #title sent to player, if you want to disable leave
    #the single quotes empty ('') DON'T REMOVE THEM!!!
    title: 'You won 10 dollar!'

    #subtitle sent to player, if you want to disable leave
    #the single quotes empty ('') DON'T REMOVE THEM!!!
    subtitle: 'Enjoy!'
⚠️ **GitHub.com Fallback** ⚠️