Jump to content

Unable to Function

Pending 2.5.1

Warlock5531

Posted (edited)

Hi, I'm new to this. I can get the plugin to load, when I change anything at all in the .json file I get an error:

 

 

Unloaded plugin AutoRestart v2.5.1 by crash

AutoRestart v2.5.1: Failed to load config file (is the config file corrupt?) (Unexpected character encountered while parsing number: :. Path 'Restart.RestartTimes', line 19, position 22.)

Failed to initialize plugin 'AutoRestart v2.5.1' (JsonReaderException: Unexpected character encountered while parsing number: :. Path 'Restart.RestartTimes', line 19, position 22.) at Newtonsoft.Json.JsonTextReader.ReadNumberIntoBuffer () [0x0013f] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonTextReader.ParseNumber (Newtonsoft.Json.ReadType readType) [0x0001b] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002a3] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00043] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00267] in <271c58b7a8684db5a2c92be17a81f252>: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) [0x0015c] in <271c58b7a8684db5a2c92be17a81f252>: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 <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00061] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00267] in <271c58b7a8684db5a2c92be17a81f252>: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) [0x0015c] in <271c58b7a8684db5a2c92be17a81f252>: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 <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 Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <d646191a355d43a6b3ab36b7ee14c740>:0 at Oxide.Plugins.AutoRestart.LoadConfigValues () [0x0002c] in <ea084e84fb3a407ebf330852549566fd>:0 at Oxide.Plugins.AutoRestart.Init () [0x00011] in <ea084e84fb3a407ebf330852549566fd>:0 at Oxide.Plugins.AutoRestart.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00051] in <ea084e84fb3a407ebf330852549566fd>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9c80d821d00a44c9a24497c73ad2d20d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d646191a355d43a6b3ab36b7ee14c740>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <d646191a355d43a6b3ab36b7ee14c740>:0

Unloaded plugin AutoRestart v2.5.1 by crash

Previous version of plugin failed to load: AutoRestart

 

Do I leave the brackets around the time? Where I enter notification time for the server, is that in seconds or a time of day and do I leave the brackets around that too? Thanks.

 

 

Edited by Warlock5531
Warlock5531

Posted

So I realized I have to use the in game chat for setting controls. Got it to work, I put a UTC time to test things but now, I can't change or delete the time. Whatever I put in, it won't accept the new time .

 

crash

Posted

1 hour ago, Warlock5531 said:

So I realized I have to use the in game chat for setting controls. Got it to work, I put a UTC time to test things but now, I can't change or delete the time. Whatever I put in, it won't accept the new time .

 

Hello Sir, to delete a hour you'll just remove the time and then submit, then add a new one and submit again. Im working on 3.0.0 that will be 5x easier to configure tho. It should be ready next few days

Warlock5531

Posted (edited)

Hmm, well I tried deleting it and had the same problem. If your update will be out that soon, I'll wait for it rather than going further. Thank you sir

Edited by Warlock5531
crash

Posted (edited)

On 3/3/2025 at 7:22 PM, Warlock5531 said:

So I realized I have to use the in game chat for setting controls. Got it to work, I put a UTC time to test things but now, I can't change or delete the time. Whatever I put in, it won't accept the new time .

 

Finishing v3.0.0, should be ready by tomorrow night!

 

image.png.9ddff00910dd4d9bd8aef7b224cb1156.png

Edited by crash
Zand3rs

Posted

omg cant wait looks so much better 🙂

crash

Posted (edited)

8 minutes ago, Zand3rs said:

omg cant wait looks so much better 🙂

v3.0.0 is the biggest update so far, thats why it has been taking so long, it should be ready in a few days, but itll be worth the wait time 🙂

Edited by crash
crash

Posted

Hello, i been re-doing the whole UI thats why it has been taking so long, its going to be the a good update, im on final stages of polishing up. If any customer that may read this want to use early 3.0.0 version please contact me in discord. @craaaash

  • Like 1
1.7m

Downloads

Total number of downloads.

7.8k

Customers

Total customers served.

117.9k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.