NOTE: This a custom enchant module requires TokenEnchant plugin.

NOTE: This enchantment is rather obsolete (although you can still use it with an old TokenEnchant).  The new enchantment called CommandMinerEnchant can be used to define TokenMiner enchantment.

This plugin contains a custom enchantment effect that allows you to gain tokens when you mine!.

It supports fortune enchant and explosive-type enchants.  You can adjust multiplier and also fortune multiplier in the config.

The amount of token = (enchent_level * multiplier) per interval

Demo Video:
coming...

Installation:

Just install TE-TokenMinerEnchant.jar in TokenEnchant/enchants folder. TokenMiner enchantment will automatically be loaded into TokenEnchant framework.  You will also find the default config file (TokenMiner_config.yml) in the enchants folder.

Configuration:

Potions:
  TokenMiner:
    event_map:
      BlockBreakEvent: "LOW"
      TEBlockExplodeEvent: "LOW"
    price: 10
    max: 4
    multiplier: 2
    occurrence: always
    applyfortune: false
    fortune_multiplier: 2
    action_bar_message: "&aYou mined &e%amount% &atokens!"
    sound: "ORB_PICKUP"
    interval: 10 #every 10 blocks mined, you get the tokens.
    trigger_event:
      BlockBreakEvent: true
      TEBlockExplodeEvent: true