Is there any hook to unload another plugin?
specifically mis behaving plugins?
or do i ghave to character stuff the console?
Unload a plugin from another plugin?Solved
That isn't what a hook does. You can unload plugins via commands or via the methods those commands use.
I was assuming there was an internal system in OXIDE to manage plugins.... rather than a API/hook into RUST.
Since plugins are not part of RUST but part of OXIDE.
having to contiinually clean up multi GB log files is getting to be a pain..
ESP. when they would be totally avoidable with a correctly manage error reporting system.
I'm not saure what you are referring to, but by METHOD I was referring to a METHOD in Oxide; which is not a HOOK, just a METHOD. You can see how the load/unload commands work and the methods they use here: https://github.com/OxideMod/Oxide.Rust/blob/develop/src/RustCommands.cs#L609
I'd rather find a solution to all these NRE's recently.
The server can run for days, hours ..and nothing misbehaves....
then some thing happend with a player , and it all turns to shit.
(spawning/ suicide/) , but not always.
I'm thinknig its caused by a payer suddenly spawning into an NPC scan area.... where they were not there before...
like this sort of thing
There must be a more robust way to deal with them....
Thanks for the pointer anyway....