Failed to call hook 'OnServerInitialized' on plugin 'Clans v0.1.52' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Clans.OnServerInitialized () [0x00018] in <81aa49a06f7249c3ae7777def35d57f7>:0
at Oxide.Plugins.Clans.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0015d] in <81aa49a06f7249c3ae7777def35d57f7>: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 NullReferenceException at OnServerInitializedError
Merged post
Realised you need to delete your config and reload the plugin to fix this
18:56:48) | Clans was compiled successfully in 1062ms
(18:56:48) | Unloaded plugin Clans v0.1.52 by k1lly0u
(18:56:48) | Failed to call hook 'OnServerInitialized' on plugin 'Clans v0.1.52' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Clans.OnServerInitialized () [0x00018] in <08ae5277037849ac96fe427027860a1c>:0
at Oxide.Plugins.Clans.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0015d] in <08ae5277037849ac96fe427027860a1c>: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
(18:56:48) | Loaded plugin Clans v0.1.52 by k1lly0u
Merged post
ok thx
Which game? Could you provide your oxide/logs? It wouldn't be a conflict.WJAddictI am having the same issue. When I type any /clan command in chat it does nothing at all. No server errors either. Wondering the same about another mod affecting it. I'm going to keep looking around to see if I can find it.
Merged post
I deleted the mod and installed a fresh one and it works now. Thanks for answering so quickly. I appreciate it!
Yes I have the latest Better Chat (v5.1.8)
(09:26:17) | [Oxide] 12:26 [Error] Failed to call hook 'OnServerInitialized' on plugin 'Clans v0.1.52' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Clans.OnServerInitialized () [0x00018] in <d4c251ce2a6843a18198052d020caafa>:0
at Oxide.Plugins.Clans.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0015d] in <d4c251ce2a6843a18198052d020caafa>: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>:0Merged post
---Update---
It took me doing o.unload Clans, then deleting everything that tied to the plugin (data, lang/en, config), then I did o.load Clans and it all works.
I strongly believe it was tied to me being silly and had tried RustIO:Clans which uses the same names for config, data, lang but are formatted differently. So when it tries to load this Clans when you have RustIO:Clans config, data or lang files.