NullReferenceException at LoadConfigVariablesFixed
I have this error in my console when starting / restarting my server.
Failed to initialize plugin 'AutomatedEvents v0.3.20' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.AutomatedEvents.LoadConfigVariables () [0x000d8] in <fc81e37292274d69ba44df34866f4ed9>:0
at Oxide.Plugins.AutomatedEvents.LoadVariables () [0x00006] in <fc81e37292274d69ba44df34866f4ed9>:0
at Oxide.Plugins.AutomatedEvents.Loaded () [0x00000] in <fc81e37292274d69ba44df34866f4ed9>:0
at Oxide.Plugins.AutomatedEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e2] in <fc81e37292274d69ba44df34866f4ed9>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <1e2d7ad0801a4037ab6a24578c814b54>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <1e2d7ad0801a4037ab6a24578c814b54>:0​
forced to relaunch the plugin for it to work.

I'm getting this error every time I start my server. If I reload the plugin after startup it runs perfectly. This started with the last update to the plugin. Any ideas?

Failed to initialize plugin 'AutomatedEvents v0.3.20' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.AutomatedEvents.LoadConfigVariables () [0x000d8] in <2afdf497e05c4694af6568d54bcc36a5>:0 
  at Oxide.Plugins.AutomatedEvents.LoadVariables () [0x00006] in <2afdf497e05c4694af6568d54bcc36a5>:0 
  at Oxide.Plugins.AutomatedEvents.Loaded () [0x00000] in <2afdf497e05c4694af6568d54bcc36a5>:0 
  at Oxide.Plugins.AutomatedEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e2] in <2afdf497e05c4694af6568d54bcc36a5>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <1e2d7ad0801a4037ab6a24578c814b54>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0 
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <1e2d7ad0801a4037ab6a24578c814b54>:0 
I should say, I also deleted my config and went with the default config and it still wouldn't start when i restart the server.
Increase the wait time for start up: "StartupDelay": "60" your server is taking a while to load. change that to 120 and see if it solved it.
Hello, the best would be to review this system, because if I put it at 120, then the server.events will remain in "True" the time that the plugin passes in false ... This means that during these 120 sdes, we have basic game events that start, and since you do not recommend using the "ClearOnStart" option, well you understand that this is quite annoying. In addition, I used the "TimeExecute" plugin to relaunch the plugin faster than the "StartupDelay" option. So, I think it would be best to review this problem .. Thanks anyway for your work ..;)
its usually due to slow hosts and long load times. The entities are not loaded yet so can't be processed. you can use:
"ClearOnStart": true,
To remove any that snuck in or were active when the server was shut down.I try to make it work with slower machines, but the wait time for load of objects varies a lot with hosts. My test box running on a decent SSD can run with far shorter period. The issue is I can't turn off spawners that are on instantiated yet.I will ponder on if there is some other work around, but this is what we have for now.

Merged post

looking at this more the only thing I can think is you have an out of date config file it is trying to load? I will add some trys to work around that.

Merged post

Let me know if you get any interesting warnings.
Ok, well I installed the new version of your plugin .. The error is still present .. Looking at my config file, I have nothing abnormal.
So I made a few small changes and I noticed that the error appeared when I put "UseGUIAnnoncement Plugin" on "True". When this is on "False", then no errors. I am in the process of installing the new version of "GUInnoncement" in order to see if that corrects the problem.
Regarding the slowness of my Host, I don't think so, because we have our own machine, here are the characteristics:

CPU: Ryzen 7 2700X
RAM: 64GB
Storage: Samsung 1TB NVME SSD
Connection: 10Gbit / s

So the error cannot be linked to a host that is too slow ... :)

Merged post

Ok, bon j'ai installé la nouvelle version de ton pluginAprès avoir mis à jour le plugin "GUIAnnoncement" et avoir mis "120" ou "60" pour "StartupDelay" sur ton plugin, j'ai toujours une erreur qui apparait au lancement de mon serveur.
Voici l'erreur:
Failed to initialize plugin 'AutomatedEvents v0.3.21' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.AutomatedEvents.LoadConfigVariables () [0x000fa] in <769fb787667e44329033c333629d8fd9>:0
at Oxide.Plugins.AutomatedEvents.LoadVariables () [0x00006] in <769fb787667e44329033c333629d8fd9>:0
at Oxide.Plugins.AutomatedEvents.Loaded () [0x00000] in <769fb787667e44329033c333629d8fd9>:0
at Oxide.Plugins.AutomatedEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e2] in <769fb787667e44329033c333629d8fd9>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <1e2d7ad0801a4037ab6a24578c814b54>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <1e2d7ad0801a4037ab6a24578c814b54>:0​
okay that is the key the missing plugin.

Merged post

I have found a way around this.
It's ok with your latest version ... thanks for the Fix.  SOLVED
Locked automatically