NOTE:  This custom enchant is now obsolete.  It should be replaced by GenerousEnchant

NOTE: This a custom enchant module requires the latest TokenEnchant

This plugin contains a custom enchantment effect to give out a random amount of $ to all online players!

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

Configuration:
Once you restart the server, Charity_config.yml will be auto-generated in your enchants folder.  You can customize this file to suit your server's needs.  

Charity: # give out $ to online players.
  description: "Give out random amount of $ to all online players!"
  event_map:
    BlockBreakEvent: "NORMAL"
  price: 10
  max: 5
  RewardMsg: "&e%player% &awas very charitable and you've received &e$%amount% &a!"
  Rewards:
    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.