NOTE: This custom enchant module requires the latest TokenEnchant
 
This resource contains a custom enchantment effect to let players have multiple potion effects when all armor elements are one with the same enchantment.
 
 
NOTE: This is a polymorphic custom enchantment!  You can define multiple similar custom enchantments such as BrothersGuard, Beast, etc. with this custom enchants!
 
Installation: 
 
Just install TE-FullArmorXEnchant.jar in TokenEnchant/enchants folder. Then you can either "restart the server" or "reload the plugin (not /te reload)". FullArmorXEnchantment will automatically be loaded into TokenEnchant framework.
 
Configuration: 
 
Once you restart the server, FullArmorX_config.yml will be auto-generated in your enchants folder.  You can customize this file to suit your server's needs.  
 
Enchants:
  BrothersGuard:
    description: "Allows you to get absorption hearts when you wear full armor set with this enchantment."
    price: 10
    max: 3    #this number should be same as the highest level in levels: section
    occurrence: always
    potions:
      Absorption:
        duration: -1 # -1: infinite
        amplifier: 1

Beast:
    description: "Allows you to get strength and nightvision when you wear full armor set with this enchantment."
    price: 10
    max: 3    #this number should be same as the highest level in levels: section
    occurrence: always
    potions:
      Strength:
        duration: -1 # -1: infinite
        amplifier: -1 #  -1: enchant leve = amplifier.
      Nightvision:
        duration: -1 # -1: infinite
        amplifier: 1 #  -1: enchant leve = amplifier.

Titanium:
    description: "When all your armour pieces (Helmet, Chestplate, Pants, Boots) have this enchant, it allows you to have resistance!"
    price: 10
    max: 3    #this number should be the same as the highest level in the levels: section
    occurrence: always
    potions:
      Resistance:
        duration: -1 # -1: infinite
        amplifier: -1 #  -1: enchant leve = amplifier.