NOTE: This custom enchant module requires the latest TokenEnchant
This plugin contains a custom enchantment effect to let players have a "glow" effect.
You can customize the duration of the glow effect being applied using a multiplier config option. (or you can give a infinite duration with '-1'). You can also configureit so that when all armors (helmet, chestplate, pants and boots) have the same glow enchant, it would give an infinite glow effect.
NOTE: This is a polymorphic custom enchantment! You can define multiple similar custom enchantments such as Holy (white color), Devil (red), etc. with this custom enchant!
Demo:
with multiple colors
Installation:
Just install TE-GlowEnchant.jar in TokenEnchant/enchants folder. Then you can either "restart the server" or "reload the plugin (not /te reload)". GlowEnchantment will automatically be loaded into TokenEnchant framework.
Configuration:
Once you restart the server, Glow_config.yml will be auto-generated in your enchants folder. You can customize this file to suit your server's needs.
Enchants:
Holy:
description: "Gvies you holy glow!"
price: 10
max: 1
occurrence: always # you can set it to random as well.
# if duration_multiplier is set, duration (second) = level * duration_multiplier
# if duration_multiplier is set to -1 (negative value), it will give an infinite duration.
duration_multiplier: 300
colors:
- RED
- GOLD
- YELLOW
- GREEN
- BLUE
- LIGHT_PURPLE
infinity_on_all_armors: true # you get a parmanent glow when all armors have this enchant.
Devil:
description: "Gvies you devil glow!"
price: 10
max: 1
occurrence: always # you can set it to random as well.
# if duration_multiplier is set, duration (second) = level * duration_multiplier
duration_multiplier: 300
colors:
- RED
infinity_on_all_armors: true # you get a parmanent glow when all armors have this enchant.