timderspieler / DeluxeCombat-Issues

Official repository for feature requests and bug reports related to DeluxeCombat
0 stars 0 forks source link

Reward for kill assist #12

Open AnghiYt opened 2 years ago

AnghiYt commented 2 years ago

Description

Like reward command for kill. This reward work only if the player dont kill the victim

Category

General

Configuration

permission-one:

  # Decide when this reward will be triggered
  # Kill modes:
  # 'PLAYER': Rewards for killing a player (Playerholder: %victim%)
  # 'ANIMAL': Rewards for killing an animal (Placeholder: %animal%)
  # 'MONSTER': Rewards for killing a monster (Placeholder: %monster%)
  # 'BOTH': Rewards for killing players / animals (Placeholder: %entity%)
  # 'BOUNTY': Extra rewards for killing bounties
  # 'KILLSTREAK_BREAK:5': Reward for killing players with killstreak of e.g 5
  kill_mode: "PLAYER"

  # Chance in percent that this reward will be executed
  # when killing a %kill_mode%. 100 to always get this
  # reward
  chance: 100

  #Percentage of damage for execute this command
  percentage: 50

  # Commands executes on when killing a 'kill_mode'
  # Placeholders:
  # %victim% Name of the killed player (Only in kill_mode player)
  # %player% Name of the player
  # %animal% Name/Type of the killed animal (Only in kill_mode animal)
  # %entity% Name of the killed enemy (Only in kill_mode both)

  # Available cmds:
  # [CMD] <arguments> : Runs command from console
  # [MSG] <message> : Sends message to the player
  # [TITLE] <message> : Sends title to the player
  # [SUBTITLE] <message> : Sends subtitle to the player
  # [SOUND] Sound, Volume, Pitch : Plays a sound to the player
  cmds:
  - "[TITLE] &a&l+1 Kill"
  - "[SUBTITLE] &cYou killed %victim%"
  - "[CMD] give %player% diamond 1"