The plugin unloads with this error after updating to v4.1.36.
Failed to initialize plugin 'CopyPaste v4.1.36' (JsonReaderException: Additional text encountered after finished reading JSON content: {. Path '', line 22, position 1.) at Newtonsoft.Json.JsonTextReader.Read () [0x000c8] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 at Oxide.Core.Libraries.Lang.GetMessageFile (System.String plugin, System.String lang) [0x00067] in <157a94ee66ab4a7991faecd1eb84be3b>: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 <157a94ee66ab4a7991faecd1eb84be3b>:0 at Oxide.Plugins.CopyPaste.Init () [0x00141] in <52d454537fb747cfac55cfbb9ed11a62>:0 at Oxide.Plugins.CopyPaste.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000cc] in <52d454537fb747cfac55cfbb9ed11a62>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <157a94ee66ab4a7991faecd1eb84be3b>:0
Failed to initialize plugin 'CopyPaste v4.1.36'
Hey, seems like there is an issue in one of your lang files.
Thank you man. I meant to get back to this post cause it was only happening on my local server, not the main, but as usual got way too sidetracked.
Out of curiosity, how were you able to tell it's in the lang files? for future reference.
Thanks for narrowing my search down.
It mentioned Oxide.Core.Libraries.Lang and similar stuff in the error, which makes me think so. Failed to deserialize JSON of your lang file more specifically.
After reading your reply I scrolled up and saw it instantly, funny that.
Weird. Somehow in the nl folder the config has doubled up.
All I did was drag the oxide folder from the main server FTP into a new folder in Documents.
Then drag all the containing folders into my local server's empty oxide folder to clone the main.
I never touched the lang, only plugins to troubleshoot one plugin. It must have happened in the transfer process,
just don't know which one, cause the main is fine. another one of those mysteries.
Thank you for the advice. I now know to look deeper.
https://www.dropbox.com/s/gakg7rxwn75uthb/CopyPaste.json?dl=0