Skip to content

killstreaks.yml

Cervinakuy edited this page Sep 14, 2020 · 2 revisions

Killstreaks allow for events to be run on a certain kill count being reached (killstreak), or on a certain kill count being lost (endstreak).

Documented Sample Configuration

KillStreaks: # section for killstreaks
  3: # kill streak number
    Sound: # sound played to ALL players in the KitPvP arena
      Sound: ENDERDRAGON_GROWL
      Pitch: 1
    Message: # message sent to ALL players in the KitPvP arena
      Message: '%prefix% &b%player% &7is on a killstreak of &b%streak% Kills&7.'
  6: # example with all options
    Title: # title sent to ALL players in the KitPvP arena
      Title: '&6&lKill Streak'
      Subtitle: '&6%player% &7is on a &6%streak% &7kill streak.'
    Sound:
      Sound: ENDERDRAGON_GROWL
      Pitch: 1
    Message:
      Message: '%prefix% &b%player% &7is on a killstreak of &b%streak% Kills&7.'
    Commands: # commands either run from the streaker or the console
      - 'player: this command is run from the player, %player% can be used'
      - 'console: this command is run from the console, %player% can be used'
EndStreaks: # section for endstreaks
  3:
    Sound:
      Sound: ENDERDRAGON_GROWL
      Pitch: 1
    Message:
      Message: '%prefix% &b%player% &7lost their streak of &b%streak% Kills&7.'

It is important to note that not all options need to be present in order for a Killstreak or Endstreak to function. For instance, the 6 Killstreak example in the snippet above includes all possible options (Title, Sound, Message, and Commands). However, the previous Killstreak for 3 kills only includes a Sound and Message section.

To entirely disable the Killstreak (and Endstreak) system, change your killstreaks.yml to the following content:

KillStreaks: {}
EndStreaks: {}