AdvancedBan icon indicating copy to clipboard operation
AdvancedBan copied to clipboard

Change chat listener priority

Open RoinujNosde opened this issue 4 years ago • 3 comments

https://github.com/DevLeoko/AdvancedBan/blob/70eba20d9c0a86d02e5c86d2ed89f59ce86a1683/bukkit/src/main/java/me/leoko/advancedban/bukkit/listener/ChatListener.java#L13 I have a plugin that listens to the ChatEvent at LOW, sends the player message to an alternative chat and cancels the event. So this HIGHEST priority of AdvancedBan has no effect because it will run after my plugin's listener. Solutions:

  1. Add another listener at LOWEST
  2. Change the current one to LOWEST

RoinujNosde avatar Mar 20 '21 00:03 RoinujNosde

This has been mentioned in the context of other discussions too.

The priority should be configurable so that savvy users can orchestrate their plugins properly.

A248 avatar Apr 25 '21 15:04 A248

That's definitely a better solution.

RoinujNosde avatar Apr 25 '21 15:04 RoinujNosde

Still nothing?

PSYCHEER avatar Feb 14 '24 19:02 PSYCHEER