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 <e1a80661d61443feb3dbdaac88eeb776>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <e1a80661d61443feb3dbdaac88eeb776>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <e1a80661d61443feb3dbdaac88eeb776>:0
at Oxide.Plugins.Rustcord.Loaded () [0x000bb] in <15353449009f420f880fe8a0e9257bfb>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0028f] in <15353449009f420f880fe8a0e9257bfb>: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>:0Any Idea? Some time later the Plugin Load with the following "Error"
(12:35:29) | Loaded plugin Rustcord v1.1.1 by Kirollos & OuTSMoKE
(12:36:27) | [DiscordExt] Invalid Session ID opcode recieved!But if i can load the Plugin i only can run commands in the first Channel. If i try it in another Channel (yes i added the Channel to the Config) i get the follow Error Output:
Failed to call hook 'Discord_MessageCreate' on plugin 'Rustcord v1.1.1' (IndexOutOfRangeException: Index was outside the bounds of the array.)
at Oxide.Plugins.Rustcord.Discord_MessageCreate (Oxide.Ext.Discord.DiscordObjects.Message message) [0x0005f] in <09932261d89b42988e9f5c4d151a8014>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003a5] in <09932261d89b42988e9f5c4d151a8014>: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
(13:14:55) | Failed to call hook 'Discord_MessageCreate' on plugin 'Rustcord v1.1.1' (IndexOutOfRangeException: Index was outside the bounds of the array.)
at Oxide.Plugins.Rustcord.Discord_MessageCreate (Oxide.Ext.Discord.DiscordObjects.Message message) [0x0005f] in <09932261d89b42988e9f5c4d151a8014>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003a5] in <09932261d89b42988e9f5c4d151a8014>: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>:0My Config:
{
"Apikey": "NDc3NjI3ODQ1NTQwXXXXXXXXXXXXXXX_X_XXXXXXXX_XXXXXXXXXXX",
"Channels": [
{
"Channelid": "4XX6365931XXXXXXXX",
"perms": [
"cmd_allow",
"cmd_players",
"cmd_kick",
"cmd_com",
"cmd_auth",
"p_connect",
"p_aconnect",
"p_disconnect",
"p_death",
"p_chat",
"msg_serverinit"
]
},
{
"Channelid": "4XX636657915XXXXXX",
"perms": [
"cmd_players"
]
}
],
"Commandprefix": "!",
"Commandroles": {
"command": [
"rolename1",
"rolename2"
]
},
"FilteredWord": "<censored>",
"FilterWords": [
"badword1",
"badword2"
]
}