Huntrace.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 mobs players need to kill, you can add as many entries as you like
#make sure to use a unique identifier when adding! (1 in this example)
mobs:
  1:
    #mob to be killed, mobs can be found on:
    #https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
    mob: COW

    #amount to be killed
    amount: 5

    #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&oHunt Race &7&l>> &fKill &b<amount> &fx &b<mob>'

  #start broadcast, lines can be removed/added
  start:
    - ' \n'
    - '&7&l>&m========&r&7{ &7(&e!&7) &6Hunt Race &7(&e!&7) &7}&m=======&r&7&l>\n'
    - ' \n'
    - ' &fKill the following mobs:\n'
    - ' \n'
    - '       &b<amount> &fx &b<mob>\n'
    - ' \n'
    - '&7&l>&m===========================&r&7&l>\n'
    - ' '

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

  #when someone wins broadcast, lines can be removed/added
  winner:
    - ' \n'
    - '&7&l>&m======&r&7{ &7(&e*&7) &6Hunt 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 &eHunt Race&7!'
⚠️ **GitHub.com Fallback** ⚠️