Ensuring plugins are loaded in order?Solved
Is there a way to modify the order that plugins load to ensure dependencies load first? Every restart I have to reload several plugins to get them back working, due to the plugin loading before dependency. 
Like what? If it's a hard dependency (I mean required for compilation) then use //Required, else use plugin reference and use other hooks that won't be triggered before references are set. Usually it's OnServerInitialized or something
Ok the main ones I am having issues with are the Discord plugins. Most all of them require Discord and Discord Core Plugins but unfortunately they don't get loaded till about last but the plugins the require them get load almost first so they all fail and do not get loaded requiring me to reload them.
Well then you should most likely contact its author
At the server startup plugins are loaded in alphabetical order, so as a tempopary solution you could just rename plugin files and classes to match the right order. But easier to add // Require: something directives
Extensions such as Discord are loaded long before plugins are. Make sure you are using the extension, not the Discord plugin as mentioned in the other thread.
Wulf, I suppose he means that plugins dependent on Discord Core and similar (or whatever its name is by MJSU) should be reloaded sometimes.
Discord Core plugins don't care about the order they're loaded in. They all use OnServerInitialized or a hook provided by DiscordCore to set themselves up. Something else must be going on if they're not loading which I would need logs from startup to see. I also use the DiscordCore plugins on my servers without any issues. @ratomas79 can you please provide your startup logs so I can see what's going on.
MJSU
Discord Core plugins don't care about the order they're loaded in. They all use OnServerInitialized or a hook provided by DiscordCore to set themselves up. Something else must be going on if they're not loading which I would need logs from startup to see. I also use the DiscordCore plugins on my servers without any issues. @ratomas79 can you please provide your startup logs so I can see what's going on.
I believe there's a thread under that section specifically, so I'd focus there rather than here for plugin-specific help.
@MJSU here is the log output you request Oxide fresh startup log and Plugins command output. As you can see Discord Core is not being loaded. Once the startup is complete I can then begin o.reload all of the failed plugins which is annoying. It should be loading before DiscordAuth but as you can see it loads after it and still fails to compile.
It does look like there is an issue on startup causing the plugins to fail to compile. It looks like it's more related to the Discord Extension though as the compilation errors are from the plugins not being able to find Discord Extension related methods at compile time.

@Wulf do you have any idea what would cause the exception in the startup log file that was posted?
MJSU
@Wulf do you have any idea what would cause the exception in the startup log file that was posted?
I have very little experience with the old mono compiler in terms of inner workings, but in most cases, it was another install of mono on the system that was conflicting.
Locked automatically