Supported MC Versions1.16, 1.15, 1.14, 1.13, 1.12, 1.11, 1.10, 1.9, 1.8, 1.7
DependenciesTokenEnchant

NOTE: This a custom enchant module require TokenEnchant plugin.

This plugin contains a custom enchantment effect which automatically changes the type of item you're holding depending on your action:
 
  • mining -> item will be switch to PickAxe
  • excavating -> item will be switch to Spade
  • woodcutting -> item will be switch to Axe
  • fighting/cobweb -> item will be switch to Sword.

Depending on the enchant level, type of tool will be determined.  Which level yield what type of tools can be configured in the config file.  A sample configuration is attached at the bottom:

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

Configuration:

#plugin.author:[TeamVK](https://www.mc-market.org/resources/authors/190740/)
#plugin.url:https://www.mc-market.org/resources/14380/
#plugin.price:US$4.0
Potions:
  Universal:
    description: "It allows your tool to automatically morph into an appropriate tool depending on what you're doing."
    event_map:
      PlayerInteractEvent: "HIGHEST"
      BlockDamageEvent: "LOW"
      EntityDamageByEntityEvent: "HIGHEST"
    price: 10
    max: 5
    occurrence: always
    default_item: FISHING_ROD
    shears: true
    # tools will be search in the following order atains the nominated block material.
    # if you want DIRT, GRASS, GRASs_BLOCK/PATH to trigger a hoe, you should move HOE
    # to above SHOVEL.
    tool_search_order:
      - AXE
      - PICKAXE
      - SHOVEL
      - SWORD
      - HOE
      - SHEARS

    levels:
      1:
        axe: WOOD_AXE
        pickaxe: WOOD_PICKAXE
        sword: WOOD_SWORD
        spade: WOOD_SPADE
        hoe: WOOD_HOE
      2:
        axe: STONE_AXE
        pickaxe: STONE_PICKAXE
        sword: STONE_SWORD
        spade: STONE_SPADE
        hoe: STONE_HOE
      3:
        axe: IRON_AXE
        pickaxe: IRON_PICKAXE
        sword: IRON_SWORD
        spade: IRON_SPADE
        hoe: IRON_HOE
      4:
        axe: GOLD_AXE
        pickaxe: GOLD_PICKAXE
        sword: GOLD_SWORD
        spade: GOLD_SPADE
        hoe: GOLD_HOE
      5:
        axe: DIAMOND_AXE
        pickaxe: DIAMOND_PICKAXE
        sword: DIAMOND_SWORD
        spade: DIAMOND_SPADE
        hoe: DIAMOND_HOE
      6:
        axe: NETHERITE_AXE
        pickaxe: NETHERITE_PICKAXE
        sword: NETHERITE_SWORD
        spade: NETHERITE_SPADE
        hoe: NETHERITE_HOE