NullReferenceException at OnGroupPermissionRevokedError

Failed to call hook 'OnGroupPermissionRevoked' on plugin 'Rustcord v1.7.3' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Rustcord.OnGroupPermissionRevoked (System.String name, System.String perm) [0x0001b] in :0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00647] in :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


Log_perms, log_groups not working, throw console error
From what I can tell, these flags have never worked

These functions work.



Post your config.
{

"Apikey": "x",

"AutoReloadPlugin": true,

"AutoReloadTime": 501,

"Channels": [{

"Channelid": "577489247397740544",

"perms": [

"cmd_allow",

"cmd_ban",

"cmd_unban",

"cmd_players",

"cmd_kick",

"cmd_com",

"cmd_mute",

"cmd_unmute",

"msg_join",

"msg_quit",

"death_pvp",

"msg_chat",

"msg_serverinit",

"p_chat",

"death_npc",

"death_vehicle"

]

},

{

"Channelid": "580915115533271041",

"perms": [

"death_vehicle",

"msg_helispawn",

"msg_planespawn",

"msg_bradleyspawn",

"msg_chinookspawn",

"msg_shipspawn"

]

},

{

"Channelid": "577616278957850655",

"perms": [

"msg_joinlog",

"msg_quit",

"msg_pm",

"log_admingive",

"log_kicks",

"log_bans",

"log_groups",

"log_perms",

"log_namechange",

"plugin_signartist"

]

},

{

"Channelid": "577616815518253087",

"perms": [

"game_report",

"game_bug"

]

},

{

"Channelid": "598637353954836530",

"perms": [

"plugin_discordauth"

]

}

],

"Commandprefix": "!",

"Commandroles": {

"players": [

],

"kick": [

"Admins",

"Moderators"

],

"mute": [

"Admins",

"Moderators"

],

"unmute": [

"Admins",

"Moderators"

],

"com": [

"Admins"

]

},

"FilteredWord": "<censored>",

"FilterWords": [

]

}
I would back things up and do a fresh install of everything down to the extension.
Uninstalled Rustcord, updated the Discord Extension and then installed the latest version of Rustcord, restored configs and tried again and it still errors.

o.usergroup add Foxy warp

Failed to call hook 'OnUserGroupAdded' on plugin 'Rustcord v1.7.4' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Rustcord.OnUserGroupAdded (System.String id, System.String groupName) [0x0001b] in :0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0075b] in :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 'Foxy(76561197962154230)' added to group: warp


Seems I'm just unlucky I guess



Merged post

This was likely related to the Discord Ext .dll, I had to raise a ticket to ensure that the old version was fully removed and the new one was uploaded, I then reset all configs again and all seems to be working now :)