Hey is it possible that Discord Sync, can Sync always after the Plugin Rename did his job?

 

Cause atm it sometimes does it and sometimes not depends probably and which loaded faster after a server-restart.

 

I tried to do a workaround with AutoCommands when the Player Connects to reload DiscordSync but that doesnt work either and give me the following Warning:

 

(13:06:01) | Player 'XXXXXXXXXXXXXX' added to group: ingame
(13:06:01) | Unloaded plugin Discord Sync v1.1.0 by Tricky & OuTSMoKE
(13:06:01) | Loaded plugin Discord Sync v1.1.0 by Tricky & OuTSMoKE
(13:06:01) | Failed to call hook 'OnUserNameUpdated' on plugin 'DiscordSync v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DiscordSync.GetGuildMember (System.String discordId) [0x00018] in <b22a803f5e32451f807ce91f99d706a6>:0 
  at Oxide.Plugins.DiscordSync.HandleNick (Oxide.Core.Libraries.Covalence.IPlayer player, System.String discordId) [0x0001d] in <b22a803f5e32451f807ce91f99d706a6>:0 
  at Oxide.Plugins.DiscordSync.OnUserNameUpdated (System.String id) [0x00014] in <b22a803f5e32451f807ce91f99d706a6>:0 
  at Oxide.Plugins.DiscordSync.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0011c] in <b22a803f5e32451f807ce91f99d706a6>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
(13:06:01) | [Rename] XXXXXXXXXX was renamed to XXXXXXXXXXX
(13:06:01) | Failed to call hook 'OnUserConnected' on plugin 'DiscordSync v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DiscordSync.GetGuildMember (System.String discordId) [0x00018] in <b22a803f5e32451f807ce91f99d706a6>:0 
  at Oxide.Plugins.DiscordSync.HandleNick (Oxide.Core.Libraries.Covalence.IPlayer player, System.String discordId) [0x0001d] in <b22a803f5e32451f807ce91f99d706a6>:0 
  at Oxide.Plugins.DiscordSync.OnUserConnected (Oxide.Core.Libraries.Covalence.IPlayer player) [0x00010] in <b22a803f5e32451f807ce91f99d706a6>:0 
  at Oxide.Plugins.DiscordSync.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000f1] in <b22a803f5e32451f807ce91f99d706a6>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0