Chatrace.yml - wouter-blockken/ChatBrawl GitHub Wiki

#turn this race on/off
enabled: true

#The chance of this race occuring
chance: 10

#The duration of this plugin in seconds
# !!!Needs to be lower than the event
duration: 900

#list of words players need to type, you can add as many entries as you like
#make sure to use a unique identifier when adding! (1 in this example)
words:
  1:
    #word players need to type
    word: Woolly Development

    #list of rewards for this entry, one of them will be executed
    #when someone wins
    rewards:
      - 1
      - 2

#enable firework when someone wins
enable-firework: true

#enable actionbar for announcing the start of this race
enable-actionbar: true

#list of settings about broadcasts
broadcast:

  #center broadcast messages
  center-messages: false

  #enable the start broadcast
  enable-start: true

  #enable the end broadcast when no one wins
  enable-end: true

#sound settings
sound:
  #enable sound on start/finish
  enabled: true

  #sound used for start/end of race, list of sounds can be found on:
  #https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
  begin-race: BLOCK_ANVIL_PLACE
  end-race: BLOCK_NOTE_BLOCK_PLING

#language entries for this race
#make sure to keep the placeholders in the correct messages,
#changing them around might break the plugin!
language:

  #actionbar message shown if enabled
  actionbar: '&6&oChat Race &7&l>> &fType &b<word>'

  #start broadcast, lines can be removed/added
  start:
    - ' \n'
    - '&7&l>&m======&r&7{ &7(&e!&7) &6Chat Race &7(&e!&7) &7}&m======&r&7&l>\n'
    - ' \n'
    - ' &fType the following word:\n'
    - ' \n'
    - '        &b<word>\n'
    - ' \n'
    - '&7&l>&m===========================&r&7&l>\n'
    - ' '

  #end broadcast when there is no winner, lines can be removed/added
  ended:
    - '&7The &6Chat Race &7ended without a winner!'

  #when someone wins broadcast, lines can be removed/added
  winner:
    - ' \n'
    - '&7&l>&m====&r&7{ &7(&e*&7) &6Chat Race Winner &7(&e*&7) &7}&m====&r&7&l>\n'
    - ' \n'
    - ' &fCongrats! &b<player> &fwas the fastest!\n'
    - ' \n'
    - '&7&l>&m==============================&r&7&l>\n'
    - ' '

  #message sent to the winner only
  winner-personal: '&7you won the &eChat Race&7!'
⚠️ **GitHub.com Fallback** ⚠️