Plugin not loading in on server start upSolved

Had this issue for a while now, just didn't bother to make a post about it since I thought eh, Ill manage, but it's getting annoying.

Everytime I restart the server, I have to manually reload the plugin, together with DiscordStatus, in order to get them working. Rustcord works fine though.
Any idea why this happens and how it could be fixed?

Kind regards

Did you check your oxide/logs for errors?

It seems that oxide just doesn't load them on server startup, them and DiscordRoleSync.

Rustcord, DiscordWipeAnnouncement and Discord.cs do load in though.

Go to your oxide folder where you should have folders such as plugins and config. Then go to the logs folder and paste your compiler log here.

Here's the first 1000 lines, including the startup log. Didn't see a point in uploading the whole log since it's repetitive after the scheduled restart.

Merged post

Please notify me as soon as I can delete this link since I do not want my oxide log out in the open.
I want your compiler log not your start up log...
[SERVER v1.0.24] Started as service
[SERVER v1.0.24] Running as service
[SERVER v1.0.24] Got Message: Ready
[SERVER v1.0.24] Got Message: Compile
[SERVER v1.0.24] Console: 
[SERVER v1.0.24] Got Message: Compile
[SERVER v1.0.24] Console: 
[SERVER v1.0.24] Connection closed.
[SERVER v1.0.24] Shutdown


Merged post

Is this matter just going to be ignored?

This is the error that the oxide log provides for DiscordAuth not loading in on server start up:

05:32 [Error] Error while compiling: DiscordAuth.cs(469,47): error CS0117: `Oxide.Plugins.Discord' does not contain a definition for `CloseClient'

Adverisk

This is the error that the oxide log provides for DiscordAuth not loading in on server start up:

05:32 [Error] Error while compiling: DiscordAuth.cs(469,47): error CS0117: `Oxide.Plugins.Discord' does not contain a definition for `CloseClient'

Make sure you have the latest Discord extension, not the Discord plugin.
5e13a8d5b2bc5.jpg Wulf
Make sure you have the latest Discord extension, not the Discord plugin.

Yes, I have updated to the latest version, that appeared 2 days ago and this error still appears. I've removed the `CloseClient` line from the privateVoid Unload and will test how it works in 15 minutes, at :00



Merged post

Same error appeared.

Just tried removing the following from the #helpers region, alongside what I removed earlier:

private void CloseClient() => Discord.CloseClient(Client);

Same error appears though? The error seems to also appear for: DiscordStatus and DiscordSync.

Please advise.

The error means that the Discord extension is either outdated or not loaded. The plugins will not work without it.
The plugins work after a reload though? That's what bugs me.

Merged post

Damn!

Found the issue! After nearly 6 months of reloading the plugin after restart! Man, I'm so relieved.

There is a plugin I had for some reason called 'Discord' by 'seanbyrne88'. Do not download it, if you plan to use the Discord Extension!

I hope this helps someone else..

Have a blessed day!

Any plugin with a conflicting name would cause issues if there is an extension being used with a shared name. That is why I mentioned earlier to make sure you aren't using that plugin, k my the extension. Glad you got it resolved though!
Locked automatically