<kill-rewards> module allows players to get items or a kit when they kill a player.
A kill reward can contain either individual items, kits or references to kits.
The reward can optionally filter which players are eligible to receive the reward, or when/where the reward is active.
This module can, for example, be used to give upgrades to players by giving them gold ingots. Then once they have collected enough ingots they can craft armor, etc.
Kill Rewards Element
|Node containing all kill reward definitions.||Kill Reward elements|
|Kill Rewards Sub-element|
|A single kill reward.||Kill Reward Sub-elements|
|Kill Reward Attributes|
|Property Filter who can claim this reward and when.||Filter|
|Property The kit to give players as the kill reward.||Kit ID|
|Kill Reward Sub-elements|
|Individual items given as a kill reward.||Item|
|Property Filter who can claim this reward and when.||Filters|
|PropertyThe kit to give as the reward.||Kits|
<!-- Give two emeralds for all kills -->
<item amount="2" material="emerald"/>
<!-- Give a cactus to players on the red team for every third kill -->
Kill rewards with kits
<item slot="0" material="iron sword"/>
<helmet material="iron helmet"/>
<!-- Give the "reward-kit" to the player for every 8th kill -->
<kill-streak count="8" repeat="true"/>