Question How apply a temporary custom effect to player?


New member
Jan 16, 2022
Well, i did my own implementations of enchantments and it works very very well, but the problem now is the following:

I created an enchantment that increase your movement speed till 100%. And now i need a counter enchantment that will temporary reduce the victim's movement speed when him receive damage with a weapon with this enchantment.

So, in view of this situation, i need apply a temporary and refreshable custom effect to the victim. Is there a way to do this? If not, which be the best way to implement this?

🇦🇷 Thanks in advance ñ_ñ