It seems just about every feature is causing error spam in console.
Player joins.
(15:38:12) | Failed to call hook 'OnPlayerInit' on plugin 'Rustcord v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x00001] in <a5b2f558069e40f7b83de551a4df08a5>:0
at Oxide.Plugins.Rustcord+<OnPlayerInit>c__AnonStorey1.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <9f6f94d817bb402994cb70630dcca519>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <e1a80661d61443feb3dbdaac88eeb776>:0
at Oxide.Plugins.Rustcord.OnPlayerInit (BasePlayer player) [0x00046] in <9f6f94d817bb402994cb70630dcca519>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001f8] in <9f6f94d817bb402994cb70630dcca519>: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>:0Player chat.
(15:50:15) | Failed to call hook 'OnPlayerChat' on plugin 'Rustcord v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x00001] in <a5b2f558069e40f7b83de551a4df08a5>:0
at Oxide.Plugins.Rustcord+<OnPlayerChat>c__AnonStorey0.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <9f6f94d817bb402994cb70630dcca519>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <e1a80661d61443feb3dbdaac88eeb776>:0
at Oxide.Plugins.Rustcord.OnPlayerChat (ConsoleSystem+Arg arg) [0x0015e] in <9f6f94d817bb402994cb70630dcca519>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001cd] in <9f6f94d817bb402994cb70630dcca519>: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
Player disconnect.
(15:45:12) | Failed to call hook 'OnPlayerDisconnected' on plugin 'Rustcord v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x00001] in <a5b2f558069e40f7b83de551a4df08a5>:0
at Oxide.Plugins.Rustcord+<OnPlayerDisconnected>c__AnonStorey2.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <9f6f94d817bb402994cb70630dcca519>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <e1a80661d61443feb3dbdaac88eeb776>:0
at Oxide.Plugins.Rustcord.OnPlayerDisconnected (BasePlayer player, System.String reason) [0x0004d] in <9f6f94d817bb402994cb70630dcca519>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00226] in <9f6f94d817bb402994cb70630dcca519>: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
I really hope to see these fixed soon. I'm sure it's a brilliant plugin.
Thanks
-Zilch