Plugin Priority? How does it really work?

Discussion in 'Plugin Development' started by void420, Feb 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    void420

    I've been coding my plugins under the assumption that they get executed in this order:

    Lowest => Low => Normal => High => Highest => Monitor

    However today as I was trying to fix some permission / command issue I realized that this order is in fact not respected all the time and seem downright arbitrary.

    Here are some examples of my testing on plugins listening to onPlayerCommand logging their current priority and call order:

    For some reason, I can never manage to make my "logging" (WorldLog) plugin to be called last, no matter which priority I set it to. I am not sure if I'm doing anything wrong or if the registered priority is ignored or what. This is causing me some issues right now because I have plugins dependent on the order they get called.

    Anyone able to provide some insight on the cause or possible solution?
     
  2. Offline

    Snowl

    Doesn't work properly atm. I submitted a bug report.
     
Thread Status:
Not open for further replies.

Share This Page