NOTE: This enchantment is rather obsolete.  RandomCommands enchantment can be used to derive the same enchant as KillReward enchant.

NOTE: This a custom enchant module require TokenEnchant plugin.

This plugin contains a custom enchantment effect which allows players to receive rewards when they kill other players or hostile mobs.

You can configure the enchantment and define different rewards for different enchantment levels. The rewards are given in the form of executing pre-defined commands as shown in the example config.yml.

Installation:
Just install TE-KillRewardEnchant.jar in TokenEnchant/enchants folder. Then you can either "restart the server" or "reload the plugin (not /te reload)". KillRewardEnchantment will automatically be loaded into TokenEnchant framework.

Configuration:
You need to add a new entry for "KillReward" enchant under "Potions:" section in your config.yml.

To execute reward commands, there are three options:
  • '@cmd...' : execute the command as a player
  • '>cmd...' : execute the command as OP
  • '!cmd...' : execute the command as a console.

[/font][/size][/color]
Potions:
    KillReward:
      price: 10
      max: 3
      occurrence: always
      rewards:
        1:
          reward_msg: "&aYou've received level 1 reward for killing!"
          commands:
            - "!te add %player% 10"
            - "!eco give %player% 10"
        2:
          reward_msg: "&aYou've received level 2 reward for killing!"
          commands:
            - "!te add %player% 20"
            - "!eco give %player% 20"
        3:
          reward_msg: "&aYou've received level 3 reward for killing!"
          commands:
            - "!te add %player% 30"
            - "!eco give %player% 30"


Donation:
It would be greatly appreciated for your donation for the provision of support for this plugin.
[img] tag