Failing to initialize pluginSolved

Hey - I've tried numerous ways to get it to load and it's not wanting to.

Deleted the .cs

Readded the .cs (tried all different versions, the error code is always the same)

I've went so far as to completely delete the .cs and all associated files (config and data)

Restarted server

Reloaded everything and still the same error 

(10:11:46) | [Oxide] 11:11 [Info] NTeleportation was compiled successfully in 2035ms
(10:11:46) | [Oxide] 11:11 [Error] Failed to initialize plugin 'NTeleportation v1.0.58' (JsonReaderException: Unterminated string. Expected delimiter: ". Path 'TPSettingshome', line 124, position 115.)
  at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer (System.Char quote) [0x00099] in <8fe7f8665ff548909c2f26d557e5093a>:0 
  at Newtonsoft.Json.JsonTextReader.ParseString (System.Char quote, Newtonsoft.Json.ReadType readType) [0x00014] in <8fe7f8665ff548909c2f26d557e5093a>:0 
  at Newtonsoft.Json.JsonTextReader.ReadStringValue (Newtonsoft.Json.ReadType readType) [0x0015a] 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.NTeleportation.Init () [0x01dec] in <5ba1395d5eb5424cabe46d7770f5a029>:0 
  at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00051] in <5ba1395d5eb5424cabe46d7770f5a029>: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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <4452f821def6406d834e4149849fe7ea>:0
(10:11:47) | [Oxide] 11:11 [Info] Unloaded plugin NTeleportation v1.0.58 by RFC1920
(10:11:47) | [Oxide] 11:11 [Info] No previous version to rollback plugin: NTeleportation
Nice time report this issue on the qurrently page from the plugin itself, 
But are you sure you're using this plugin on a rust server because this plugin is for rust only 
In response to TruxDeadnitro ():
Nice time report this issue on the qurrently page from the plugin itself, 
But are you sure you...
I'm not sure what you mean through the plugin itself. I did report this through the plugin and yes I've been using this plugin for months on Rust.....
The error indicates an issue with your configuration file.
In response to Wulf ():
The error indicates an issue with your configuration file.
Thanks @Wulf I had a feeling it was something to do server side. I did just transfer servers to a new host. You wouldn't by chance have any idea what it could be would you? :D
From the log: 

Unterminated string. Expected delimiter: ". Path 'TPSettingshome', line 124, position 115​
In response to Wulf ():
From the log: 

Unterminated string. Expected delimiter: ". Path 'TPSettingshome', line 1...
xD

I saw that but have no idea what it means. It seems to be pointing to a json of some sorts but since I've removed all json's pertaining to nteleportation. Then reloaded it. Then it still gives that error on first load....
In response to Irish ():
xD

I saw that but have no idea what it means. It seems to be pointing to a json of some s...
The config json only goes to line 115....
{
  "Settings": {
    "ChatName": "<color=red>Teleportation</color>: ",
    "HomesEnabled": true,
    "TPREnabled": true,
    "TownEnabled": true,
    "InterruptTPOnHurt": true,
    "InterruptTPOnCold": false,
    "InterruptTPOnHot": false,
    "InterruptTPOnSafe": true,
    "InterruptTPOnBalloon": true,
    "InterruptTPOnCargo": true,
    "InterruptTPOnRig": false,
    "InterruptTPOnLift": true,
    "InterruptTPOnMonument": false,
    "InterruptTPOnMounted": true,
    "InterruptTPOnSwimming": true,
    "CaveDistanceSmall": 40,
    "CaveDistanceMedium": 60,
    "CaveDistanceLarge": 100,
    "DefaultMonumentSize": 50,
    "MinimumTemp": 0,
    "MaximumTemp": 40,
    "BlockedItems": {},
    "BypassCMD": "pay",
    "UseEconomics": false,
    "UseServerRewards": false
  },
  "Admin": {
    "AnnounceTeleportToTarget": false,
    "UseableByAdmins": true,
    "UseableByModerators": true,
    "LocationRadius": 25,
    "TeleportNearDefaultDistance": 30
  },
  "Home": {
    "HomesLimit": 2,
    "VIPHomesLimits": {
      "nteleportation.vip": 5
    },
    "Cooldown": 600,
    "Countdown": 15,
    "DailyLimit": 5,
    "VIPDailyLimits": {
      "nteleportation.vip": 5
    },
    "VIPCooldowns": {
      "nteleportation.vip": 5
    },
    "VIPCountdowns": {
      "nteleportation.vip": 5
    },
    "LocationRadius": 25,
    "ForceOnTopOfFoundation": true,
    "CheckFoundationForOwner": true,
    "UseFriends": true,
    "UsableOutOfBuildingBlocked": false,
    "UsableIntoBuildingBlocked": false,
    "CupOwnerAllowOnBuildingBlocked": true,
    "AllowIceberg": false,
    "AllowCave": false,
    "AllowCraft": false,
    "AllowAboveFoundation": true,
    "CheckValidOnList": false,
    "Pay": 0,
    "Bypass": 0
  },
  "TPR": {
    "Cooldown": 600,
    "Countdown": 15,
    "DailyLimit": 5,
    "VIPDailyLimits": {
      "nteleportation.vip": 5
    },
    "VIPCooldowns": {
      "nteleportation.vip": 5
    },
    "VIPCountdowns": {
      "nteleportation.vip": 5
    },
    "RequestDuration": 30,
    "OffsetTPRTarget": true,
    "BlockTPAOnCeiling": true,
    "UsableOutOfBuildingBlocked": false,
    "UsableIntoBuildingBlocked": false,
    "CupOwnerAllowOnBuildingBlocked": true,
    "AllowCraft": false,
    "Pay": 0,
    "Bypass": 0
  },
  "Town": {
    "Cooldown": 600,
    "Countdown": 15,
    "DailyLimit": 5,
    "VIPDailyLimits": {
      "nteleportation.vip": 5
    },
    "VIPCooldowns": {
      "nteleportation.vip": 5
    },
    "VIPCountdowns": {
      "nteleportation.vip": 5
    },
    "Location": "0 0 0",
    "UsableOutOfBuildingBlocked": false,
    "AllowCraft": false,
    "Pay": 0,
    "Bypass": 0
  },
  "Version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 58
  }
}​
Try removing the lang files for this plugin.  There should be two under lang/en and lang/ru.
In response to rfc1920 ():
Try removing the lang files for this plugin.  There should be two under lang/en and lang/ru.
Good catch, missed the GetMessage part on mobile.
Brilliant! Thanks all! That did the trick. I would never have thought of that! :D
Locked automatically