It's finally here! Potion-effects on armor!
How this works is very simple:
Grab some armor, let's use a diamond chestplate for this example
Give it some lore, make it as fancy as you want, but keep the right format!
Let's say you'd like to add Haste to the player that wears this chestplate, simply add "Effect: Haste" (Yes, it supports any color-code!)
As you can see above, I gave it a nice look, and the chestplate now has a lore saying "Effect: Haste"
Now when any player equips this armor-piece, it'll give the player permanent haste, until the armor-piece is being taken off again.
Keep in mind:
- If you open your inventory, the armor-effects won't be recognized. Those will be removed from the player until the inventory is being closed again. This is to check whenever a player is still wearing armor with the right armor-effects or not.
Current supported potion-effects:
- Speed (SPEED)
- Strength (INCREASE_DAMAGE)
- Haste (FAST_DIGGING)
More to come soon!