eventpriority low vs high

for example i did eventpriority low in my plugin. then does it mean if the event is already cancelled by other plugin, then the event will count as cancelled in my plugin?
8 Replies
Admincraft Meta
Admincraft Meta9mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by djarda2#0
NieGestorben
NieGestorben9mo ago
Listeners with Lower Priority will get called before the ones with higher Priority
NieGestorben
NieGestorben9mo ago
If it is cancelled by an Plugin which is on a lower level it will be set to cancelled iirc
djarda2
djarda2OP9mo ago
thx
Snow Kit
Snow Kit9mo ago
by default, EventHandlers don't ignore cancelled events
No description
Snow Kit
Snow Kit9mo ago
and you do Event.isCancelled() to check if the event was set to cancelled by another plugin
djarda2
djarda2OP9mo ago
oh ok i didnt know that i will do it now. thank you a lot

Did you find this page helpful?