Hooks on load/unload plugin? Solved

Posted 5 years ago
Last updated 5 years ago

#1
can we gat some triggers added for load & unload plugin.....
something that is called just before oxide loads/unloads a plugin...
Iv'e noticed recently tht there are more server hangs on these actions.

Posted 5 years ago
Last updated 5 years ago

#2
OnPluginUnloaded/Loaded
These can be found in the Docs.

Posted 5 years ago
Last updated 5 years ago

#3
doh........
Can you make the API docs a bit easier to find, seems to be buried , not everyones first language is English.....
I was looking for the trigger to be "pre-unload", which might also be useful to prevent unloading plugins, if a certain set of criterea is met.
It seems the current setup is "post" unload.
also the same with  OnPluginLoaded.
Merged post
OnAttemptedPluginLoad
OnAttemptedPluginUnload
then the other  current two able to signal sucess....

Posted 5 years ago
Last updated 5 years ago

#4
It is unlikely pre-hooks would be added for that. The Docs are easily accessible via the top of our site, not sure how we can make that easier.

Posted 5 years ago
Last updated 5 years ago

#5
Thats a real pain.......
I wanted to use it for an auto debug of plugins.... to grab crash points just before they occured ,
once they occur you can do nothing to record or correct them... since the server is gone....

Locked automatically 5 years ago