NullReferenceException at OnEntitySpawnedError

Just installed it a few minutes ago and I'm getting this.

(19:35:52) | Failed to call hook 'OnEntitySpawned' on plugin 'Inbound v0.5.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Inbound.OnEntitySpawned (HackableLockedCrate crate) [0x0001f] in <1c36eb57b9954754a188a2b220857fbf>:0 
  at Oxide.Plugins.Inbound.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0033d] in <1c36eb57b9954754a188a2b220857fbf>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <70dc8de1abd4423db5f501c6845edf22>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0
I have recieved the same error
Have you updated your config and lang files?
Hi,

I upgraded the plugin and i can see these errors in the console now
Again, have you updated your config and lang files? The plugin has been re-written, so you'll receive errors if you don't.

If you have, please paste the contents of both here, as well as your map size/seed so I can try to reproduce. I've tested this pretty thoroughly and haven't seen any errors myself, so I'll need more info.
ok ive cleared out settings and all seems to be fixed now thanks
Yes this fixed my issue as well thank you
Yep, being a little bit more careful about wiping the config has fixed it. I've changed my process for doing so, hopefully that will sort it.

Previously I would rename the config (for any plugin), then add the new version of the plugin and see what the changes were. I think that doing it that way has flushed memory into the plugin config with the old version of the plugin as it unloads, which meant the old data was being written to the config and re-creating the old style config so that when the new version of the plugin loaed, the data was incorrect, even though I'd already renamed the old config file. :-(

I've now changed my process so that I remove the old plugin, rename the config, then add the new plugin, unload the new plugin, compare changes to the old and new configs and update the new one, then load the plugin.

The funny thing is I've always done it the other way (for 3 years) and it's worked fine. Maybe something in Rust or Oxide has changed. Or maybe I've just been lucky. ;-)

Thanks, all working now.
(04:53:05) | Failed to call hook 'OnEntitySpawned' on plugin 'Inbound v0.5.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Inbound.OnEntitySpawned (HackableLockedCrate crate) [0x0001f] in <a37c9e540c6747d286074d35ee1b0839>:0 
  at Oxide.Plugins.Inbound.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0033d] in <a37c9e540c6747d286074d35ee1b0839>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3e46d2a997e94a3cb08cf065508cd483>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
(04:53:21) | Ail with steamid 76561199062341435 joined from ip 103.26.223.80:59074

I have already read this topic: https://umod.org/community/inbound/21397-nullreferenceexception-at-onentityspawned

But it didn't help me a bit, where is the solution?
The only question was whether you edited the configuration, what do you have to edit? And above all where?
My config looks like this:

{
  "APC Bradley Alerts (true/false)": true,
  "Cargo Plane Alerts (true/false)": true,
  "Cargoship Alerts (true/false)": true,
  "CH47 Chinook Alerts (true/false)": true,
  "Hackable Crate Alerts (true/false)": true,
  "Hackable Player In Alert (true/false)": true,
  "Helicopter Alerts (true/false)": true,
  "Player Supply Drop Alert (true/false)": false,
  "Show Coordinates (true/false)": true,
  "Supply Drop Alerts (true/false)": true
}

I have version 0.5.0

A few lines which are always shown to me:

[event] assets/prefabs/npc/ch47/ch47scientists.entity.prefab
Failed to call hook 'OnEntitySpawned' on plugin 'Inbound v0.5.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Inbound.OnEntitySpawned (CH47HelicopterAIController ch47) [0x0001f] in <181d8ae9ae614a47b0cc24aaf542c8e2>:0
at Oxide.Plugins.Inbound.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00312] in <181d8ae9ae614a47b0cc24aaf542c8e2>:

Failed to call hook 'OnEntitySpawned' on plugin 'Inbound v0.5.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Inbound.OnEntitySpawned (HackableLockedCrate crate) [0x0001f] in <181d8ae9ae614a47b0cc24aaf542c8e2>:0
at Oxide.Plugins.Inbound.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0033d] in <181d8ae9ae614a47b0cc24aaf542c8e2>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0


I really can not tell what I have to do where and how, especially my config has been like from the beginning since I got the plugin.
I really hope that someone can help me, what should the config look like?
I currently have the Keirox Earth Map

Thanks in advance

My config choices work ok, no error messages
{
  "Alerts (true/false)": {
    "Bradley APC Alerts": true,
    "Cargo Plane Alerts": false,
    "Cargo Ship Alerts": true,
    "CH47 Chinook Alerts": true,
    "Hackable Crate Alerts": true,
    "Patrol Helicopter Alerts": true,
    "Player Hacking Crate Alerts": false,
    "Player Supply Signal Alerts": false,
    "Supply Drop Alerts": false
  },
  "Coordinates (true/false)": {
    "Show Coordinates": true,
    "Show Coordinates - Destination": true
  },
  "Grid (true/false)": {
    "Show Grid": true,
    "Show Grid - Destination": false,
    "Show Oil Rig / Cargo Ship Labels": false
  },
  "Misc (true/false)": {
    "Log To Console": false,
    "Log To File": false
  }
}​
Thank you, i will testing this config
The config in your original post is from the older version. You'll need to update that, as well as your lang file.
Check here for the easiest way to do that (make backups first).