InvalidCastException at ValidateConfigFixed
05-30 20:32:13 | Failed to initialize plugin 'Recycle v3.0.3' (InvalidCastException: Object must implement IConvertible.)
at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00055] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0
at Oxide.Plugins.Recycle.ConvertType[T] (System.Object val, T defaultVal) [0x00008] in <55914749898b40f4be42c1043d84308a>:0
at Oxide.Plugins.Recycle.GetSetting[T] (System.String val, T defaultVal) [0x00058] in <55914749898b40f4be42c1043d84308a>:0
at Oxide.Plugins.Recycle.ValidateConfig () [0x000af] in <55914749898b40f4be42c1043d84308a>:0
at Oxide.Plugins.Recycle.Loaded () [0x00006] in <55914749898b40f4be42c1043d84308a>:0
at Oxide.Plugins.Recycle.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000bf] in <55914749898b40f4be42c1043d84308a>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <8a646463979e4a1d9c0e2f1298e9483f>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <8a646463979e4a1d9c0e2f1298e9483f>:0
1) What version were you converting from and 2) can I get a copy of your config? Sorry for the late response, I was watching the SpaceX launch.Edit: I believe I found the issue. I'll wait a bit longer to get your config so I can test it on the patch to make sure it actually has fixed the problem.
I also Have this issue
{
  "Settings": {
    "allowSafeZone": true,
    "blacklist": [],
    "box": "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab",
    "cooldownMinutes": 0,
    "NPCIDs": [],
    "NPCOnly": false,
    "radiationMax": 1,
    "recyclableTypes": [
      "Ammunition",
      "Attire",
      "Common",
      "Component",
      "Construction",
      "Items",
      "Medical",
      "Misc",
      "Tool",
      "Traps",
      "Weapon",
      "Electrical",
      "Resources",
      "Fun"
    ],
    "refundRatio": 0.5,
    "scrapMultiplier": 1.0
  },
  "VERSION": "2.1.10"
}​
Yeah, I assumed so as it's mainly from the upgrade from v2.1.10 to v3.*.*. Will release a new update.
Locked automatically