Hello,
I keep getting the error shown below when I try to load the plugin for the first time. Even if I delete the config and reload the plugin the same error is being thrown. Any help would be appreciated.
Config:
{
"Apikey": "APIkey",
"Channels": [
{
"Channelid": "",
"perms": [
"cmd_allow",
"cmd_players",
"cmd_kick",
"cmd_com",
"p_connect",
"p_aconnect",
"p_disconnect",
"p_death",
"p_chat",
"p_report",
"p_bug",
"msg_plugininit",
"msg_serverinit"
]
}
],
"Commandprefix": "!",
"Commandroles": {
"command": [
"rolename1",
"rolename2"
]
},
"FilteredWord": "<censored>",
"FilterWords": [
"badword1",
"badword2"
]
}
(10:34:56) | [DEBUG] Load requested for plugin which is already loading: Rustcord
(10:34:58) | Rustcord was compiled successfully in 2677ms
(10:34:58) | [Rustcord] Attempting to create default config...
(10:34:58) | Could not initialize plugin 'Rustcord v1.1.4' (JsonReaderException: Unexpected character encountered while parsing value: [. Path 'Channels', line 3, position 14.)
at Newtonsoft.Json.JsonTextReader.ReadStringValue (Newtonsoft.Json.ReadType readType) [0x00366] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00077] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (System.Collections.IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00262] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x002a8] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <8fe7f8665ff548909c2f26d557e5093a>:0
at Oxide.Core.Libraries.Lang.GetMessageFile (System.String plugin, System.String lang) [0x00067] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Libraries.Lang.RegisterMessages (System.Collections.Generic.Dictionary`2[TKey,TValue] messages, Oxide.Core.Plugins.Plugin plugin, System.String lang) [0x00032] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Plugins.Rustcord.LoadDefaultMessages () [0x0007c] in <901bc31ae9db43d9941f1b55c91e2c4d>:0
at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0001d] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <aa4dcb5205ce4669ae3be307526eaa18>:0
at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <4452f821def6406d834e4149849fe7ea>:0
(10:34:58) | No previous version to rollback plugin: Rustcord