InvalidCastException when loading configNot An Issue
Anyone else seeing this?

Failed to initialize plugin 'SteamChecks v5.0.4' (InvalidCastException: Null object cannot be converted to a value type.) at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Oxide.Core.Configuration.DynamicConfigFile.ConvertValue (System.Object value, System.Type destinationType) [0x00008] in <12678b905a6d43c3a9cc366104306651>:0 at Oxide.Core.Configuration.DynamicConfigFile.ConvertValue[T] (System.Object value) [0x00000] in <12678b905a6d43c3a9cc366104306651>:0 at Oxide.Core.Configuration.DynamicConfigFile.Get[T] (System.String[] path) [0x00008] in <12678b905a6d43c3a9cc366104306651>:0 at Oxide.Plugins.SteamChecks.InitializeConfig () [0x00026] in <fee0e7c0e4c0490bb02f55d5e0c80acb>:0 at Oxide.Plugins.SteamChecks.Init () [0x00000] in <fee0e7c0e4c0490bb02f55d5e0c80acb>:0 at Oxide.Plugins.SteamChecks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0007e] in <fee0e7c0e4c0490bb02f55d5e0c80acb>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <12678b905a6d43c3a9cc366104306651>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <12678b905a6d43c3a9cc366104306651>:0

It looks like a value was changed in your config file that isn't correct. Could you provide your config?

{
"ApiKey": "XXXXX",
"Broadcasting": {
"CommunityBan": true,
"VacBan": true,
"GameBan": true,
"TradeBan": true,
"RecentBan": true,
"PrivateProfile": false,
"LimitedAccount": true,
"HoursPlayed": true,
"FamilyShare": true,
"FamilyOwner": true,
"NoProfile": true,
"GameCount": true
},
"Kicking": {
"CommunityBan": false,
"VacBan": true,
"GameBan": true,
"TradeBan": false,
"RecentBan": true,
"PrivateProfile": false,
"LimitedAccount": true,
"HoursPlayed": false,
"FamilyShare": false,
"FamilyOwner": false,
"NoProfile": true,
"GameCount": true
},
"Thresholds": {
"VacBan": 2,
"GameBan": 1,
"RecentBan": 60,
"HoursPlayed": 5,
"GameCount": 2
},
"Whitelist": []
}

Merged post

It's fixed now, after I dropped the old config an let the plugin re-gen. Thanks!

Locked automatically