NOTE: This a custom enchant module requires the latest TokenEnchant
This plugin contains a custom enchantment effect to give out a random amount of tokens to all online players!
Installation:
Just install TE-BlessingEnchant.jar in TokenEnchant/enchants folder. Then you can either "restart the server" or "reload the plugin (not /te reload)". BlessingEnchantment will automatically be loaded into TokenEnchant framework.
Configuration:
Once you restart the server, Blessing_config.yml will be auto-generated in your enchants folder. You can customize this file to suit your server's needs.
Blessing: # give out tokens to online players.
description: "Give out random amount of tokens to all online players!"
event_map:
BlockBreakEvent: "NORMAL"
price: 10
max: 5
RewardMsg: "&aYou're blessed by &e%player% &aand received &e%amount% &atokens!"
Rewards: # you can specify the material and its chance of dropping.
1:
min: 5
max: 10
2:
min: 10
max: 15
3:
min: 20
max: 25
4:
min: 30
max: 35
5:
min: 40
max: 45
occurrence: 0.04 # 4% chance of occurrence at the max level.