Change order plugins use a hook?
Hi all. Writing a plugin to collect statistics on the actions of the players on the server, on my server, there are also plugins to increase the rate, the total resource extraction rate and rate through the system of skill. So, all these plugins and mine use the function OnDispenserGather, and I found that the first one started and the first to get in OnDispenserGather. Please advise how to properly implement the processing of OnDispenserGather first? As an option in OnServerInitialized() write a restart of rate plugins and get that my first involved in OnDispenserGather, will it be correct?
Or is there a more correct implementation?
Just to clarify something, is the problem that the hook is being called first in other plugins and you want to find a way to have the hook triggered in your hook first?
5f542b9181eac.png 0x89A
Just to clarify something, is the problem that the hook is being called first in other plugins and you want to find a way to have the hook triggered in your hook first?

Yes.
Is it possible to specify the order of use in the plugins?

Why did you need to do this? Pretty sure Oxide takes into account all values from each plugin.
5f542b9181eac.png 0x89A
Why did you need to do this? Pretty sure Oxide takes into account all values from each plugin.

The first post described the essence of the problem.

5f542b9181eac.png 0x89A
Why did you need to do this? Pretty sure Oxide takes into account all values from each plugin.
Hooks would be called in the order they are registered, which is typically A-Z. So a plugin named Apple would be called before Zebra; and whichever one is called first would be the one handling thing first. Oxide only handles returns in the sense of cancellations usally, but there isn't really any communication or handling of multiple beyond that.