This plugin contains a custom enchantment effect that will randomly pick an item with Upgrade enchantment and upgrade one of enchantment on that selected item!.
You can configure what sort of actions would trigger such upgrades!
Just install TE-UpgradeEnchant.jar in TokenEnchant/enchants folder. Then you can either "restart the server" or "reload the plugin (not /te reload)". Upgrade enchantment will automatically be loaded into TokenEnchant framework.
Potions: Upgrade: description: "With a small chance, upgrade a randomly selected enchantment level." event_map: PlayerFishEvent: "NORMAL" BlockBreakEvent: "NORMAL" EntityDamageByEntityEvent: "HIGHEST" PlayerDeathEvent: "HIGHEST" price: 10 max: 1 message: "&aYour &e%enchantment% &ahas been upgraded to the level &e%level%&a!" display_message: false use_action_bar: false occurrence: 0.01 triggers: - FISHING - WOODCUTTING - MINING - FARMING # you can list type of blocks associated with mining (mineral), woodcutting (wood) # and farming (Crop) block_types: minerals: - DIAMOND_ORE - IRON_ORE woods: - LOG - LOG_2 crops: - CROPS # you can list which enchants should be upgraded whitelist: - "*" # if you have this, all available enchants are subject to upgrade. # - Excavation