14:10 [Info] Rustcord was compiled successfully in 1719ms
14:10 [Info] Unloaded plugin Rustcord v1.1.1 by Kirollos & OuTSMoKE
14:10 [Error] Failed to initialize plugin 'Rustcord v1.1.1' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <ac823e2bb42b41bda67924a45a0173c3>:0
at Oxide.Plugins.Rustcord.Loaded () [0x000a1] in <eca6568baf244d8791244ebddb5d587b>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0028f] in <eca6568baf244d8791244ebddb5d587b>: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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <9affce1cd15c4ec183941adef8db1722>:0
14:10 [Info] Unloaded plugin Rustcord v1.1.1 by Kirollos & OuTSMoKE
14:10 [Info] Rolling back plugin to last good version: Rustcord
14:10 [Info] Loaded plugin Rustcord v1.1.1 by Kirollos & OuTSMoKE
14:10 [Warning] [Discord Ext] An error has occured: Response: An exception has occurred during the OnClose event.
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 <d46e0e43b123438e83a47fd20d46e85b>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <ac823e2bb42b41bda67924a45a0173c3>:0
at Oxide.Plugins.Rustcord.OnPlayerDisconnected (BasePlayer player, System.String reason) [0x0004d] in <d46e0e43b123438e83a47fd20d46e85b>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00226] in <d46e0e43b123438e83a47fd20d46e85b>: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
o.version:
Protocol: 2153.176.1
Build Date: 03/08/2019 01:20:52
Unity Version: 2018.3.3f1
Changeset: 32894
Branch: release
Oxide.Rust Version: 2.0.4161
Plugin was downloaded here, no modify, its official file.
Rustcord.json:
{
"Apikey":"mytbottoken",
"Channels":[
{
"Channelid":"553610867208486912",
"perms":[
"cmd_allow",
"cmd_players",
"cmd_kick",
"cmd_com",
"p_connect",
"p_disconnect",
"p_death",
"p_chat",
"msg_serverinit"
]
},
{
"Channelid":"553267895350722582",
"perms":[
"p_aconnect"
]
},
{
"Channelid":"553611132942942209",
"perms":[
"p_report"
]
}
],
"Commandprefix":"!",
"Commandroles":{
"players":[
],
"kick":[
"Président",
"Administrateur",
"Staff Modération"
],
"com":[
"Président",
"Administrateur"
]
},
"FilteredWord":"<censored>",
"FilterWords":[
"Word1",
"Word2",
"Word3"
]
}
Merged postAfter a restart:
(15:56:15) | Rustcord was compiled successfully in 1720ms
(15:56:15) | Loaded plugin Rustcord v1.1.1 by Kirollos & OuTSMoKE
(15:56:16) | Failed to run a 1.00 timer in 'Rustcord v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Rustcord.<Discord_Ready>m__2 () [0x00011] in <03f2d3f6ec85405bb23241dc8c07d63d>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>: