Hello everyone! Is there any way to set the priority for hook calls?
For example, with two plugins, ReputationMaster and AdvancedStatus, when the OnPlayerConnected hook is triggered, ReputationMaster receives it before AdvancedStatus. As a result, ReputationMaster calls an API method in AdvancedStatus to show a status bar, but AdvancedStatus can't create the bar because its OnPlayerConnected hook hasn't been triggered yet, and the player isn't initialized.
Even if AdvancedStatus is loaded before ReputationMaster, ReputationMaster still receives the hook before AdvancedStatus.
Are there any methods to tell Oxide/Carbon to call the OnPlayerConnected hook for AdvancedStatus first?
Of course, I could try to initialize the player when calling CreateBar, but in my case, the initialization should only be for real players and only for those who are online. Other plugins might send players/player IDs that don't fit this criteria, which would require additional checks, and I want to avoid that.
