Is there a way to order event callbacks (by plugin)?
I'm extending a chat-filter plugin to work with several other chat-based plugins. The other plugins handle the "CHAT_MSG_CHANNEL" event, and return true, indicating they've handled the message and (I assume) stopping the event from bubbling to other plugins.
In order to filter these messages, I need to handle them before the other plugins. Is there some way of guaranteeing the order that events are passed to plugins?
|