Jump to content

Error - resets

Pending 1.1.3

DollyDeee
DollyDeee

Posted

After a few hours of editing, I ran into the issue where if you edit the config manually it says "error in config" for non-default items/commands and resets to default config despite the config being valid. 

This only happens when doing a skinned item or any command permission option. Then I have to start from scratch and redo all the days again for it to read correctly but it keeps happening after restart/refresh when the config is reloaded.

 

image.png

Mevent

Posted

5 minutes ago, DollyDeee said:

After a few hours of editing, I ran into the issue where if you edit the config manually it says "error in config" for non-default items/commands and resets to default config despite the config being valid. 

This only happens when doing a skinned item or any command permission option. Then I have to start from scratch and redo all the days again for it to read correctly but it keeps happening after restart/refresh when the config is reloaded.

 

image.png

Hello! Thank you for reaching out about this issue. It sounds like you're experiencing some problems with your configuration file becoming invalid after manual edits, specifically with non-default items/commands and skinned items.

To help prevent these issues, we recommend using a JSON validator such as https://jsonlint.com/ before saving your config file. This will ensure that the syntax is correct and can help avoid errors during the reload process. Additionally, make sure to double-check any custom permissions or commands you've added to confirm they are properly formatted.

If the problem persists even after validating the JSON, please let us know so we can investigate further. We appreciate your patience and understanding while we work on resolving this.

DollyDeee

Posted

Thanks for reaching out - 

Yes it's valid. (I'll attach proof)

I've done some more research on it and it seems that you can't modify the config after doing the in-game menu edits. 
So when you modify the config, reload the plugin, go in game and use admin permission to edit the rewards, IF you go back into the config to make manual changes it and reload it will break everything, (yes the config is validated)

I have redone it so many times and found that the only way it works is if you edit the config first and reload it-  then go into the game and add all skinned items/commands. If you manually add the items (while ensuring correct formatting) it will not allow it to load in the console, it will provide the above attached error.

image.png.3bb23e6260f32f52bc499c51be5fe590.png

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.