NullReferenceException at OnServerInitializedFixed
When updating to the newest version

(12:18:55) | Failed to call hook 'OnServerInitialized' on plugin 'AutoDecay v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.AutoDecay.OnServerInitialized () [0x00000] in <ef9646a6bd734c15b47d63b749baa58f>:0 
  at Oxide.Plugins.AutoDecay.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <ef9646a6bd734c15b47d63b749baa58f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0​
Try deleting the configuration file
5c18c7da631b5.jpg Arainrr
Try deleting the configuration file

Ok done so but it looks like it has broken alot of things. What ever happened to the blacklist and white list?

There is not even foundation in the list
5c18c7da631b5.jpg Arainrr
You can add new entities to the configuration file

Merged post

https://umod.org/community/auto-decay/13254-can-i-add-building-blocks-to-cfg

Maybe its a good idea to keep it the same as the previous plugin, alot of people update it and if it then suddenly destroys foundation that can be pretty game breaking, as the original plugin was never set to destroy foundations

What I mean is previous plugin had a much better configuration file, a way to exclude things from decaying. This one will list every single entity ingame making the configuration file like 100x as big

You can customize the list of decaying entities, isn't it better?
5c18c7da631b5.jpg Arainrr
You can customize the list of decaying entities, isn't it better?

Personally I dont think so.

So what do you think will be better?
5c18c7da631b5.jpg Arainrr
So what do you think will be better?

Disable decay for building blocks by default and only enable it for deployables.

- Warn people that the old config is not compatible
- Add all building blocks to the config (from other thread)
- Disable building blocks decay by default
- Disable stash decay by default
- Disable (user placed) vehicles by default (for use with portablevehicles plugin)

Locked automatically