[SPIGOT-840] New Event - EntityPotionEffectChangeEvent Created: 27/Apr/15  Updated: 20/Jul/18  Resolved: 20/Jul/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Maksymilian Bukała Assignee: Unassigned
Resolution: Fixed Votes: 5
Labels: Craftbukkit, Spigot, bukkit, craftbukkit, entity, event, events, new, spigot


 Description   

Hello.

I was searching for EntityPotionEffectChangeEvent, pretty good event that handle when an entity (especially players) gain or lose a potion effect.

I'm going to use it on my Survival Server to check if player can get beacon effect (realistic mode ).

Here is a link to some code that i found, but when i try to use it, it doesnt work (no such event): https://github.com/gabizou/PotionsTest/blob/master/src/com/gabizou/PotionTestPlugin.java

Sorry for my bad english, i got A in my school



 Comments   
Comment by md_5 [ 20/Jul/18 ]

[Draft] EntityPotionEffectEvent

Comment by Alex [ 13/Feb/16 ]

Yes, please add such an event. If possible it should include the cause (beacon, command, potion, etc.) and provide methods to change the properties of the effect such as the duration, the amplifier or even the effect itself.

Comment by Maksymilian Bukała [ 27/Apr/15 ]

This shouldnt be on BuildTools, sorry for that.
Move this please to Spigot , thanks

Comment by GunfighterJ [ 27/Apr/15 ]

Please check which project you are posting to before you make a ticket.

Generated at Mon Apr 07 22:29:20 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.