So, when the plugin intializes, i open up the json under the config folder, make my edits, and then reload the plugin in RCON to take effect in live game, i go to look and the JSON has been reverted to defaults, any help?
Configuration resetting to defaultNot An Issue
When a config file resets, that means it was edited wrongly and was invalid.
Alright thanks, ill post what i have here and see if you see any problems
Merged post
{
"Allow clan members to destroy each others entities": true,
"Allow twig to be destroyed even when owner is noob": true,
"Check full ownership of the base instead of only one block": true,
"Check Steam for in game time": true,
"Days of inactivity after which player will be raidable": 1.0,
"Ignore twig when calculating base ownership (prevents exploiting)": true,
"In-game steam time which mark player as non-noob (hours)": 10000.0,
"Kill fireballs when someone tries to raid protected player with fire (prevents lag)": true,
"List of entities that can be destroyed even if owner is a noob, true = destroyable everywhere (not inside of owners TC range)": {
"Placeholder1": true,
"Placeholder2": true,
"Placeholder3": true,
"Placeholder4": true,
"Placeholder5": true
},
"Manual Mode": false,
"Notify player on first connection with protection time": true,
"Prevent new players from raiding": true,
"Refund explosives": true,
"Refunds before player starts losing explosives": 0,
"Remove noob status of a raider on raid attempt": true,
"Remove protection from all clan members when a member tries to raid": true,
"Show message for not being able to raid": true,
"Show time until raidable": true,
"Steam API key": "hidden for security purposes but its there",
"Time (seconds) after which noob will lose protection (in-game time)": 28800,
"Use game tips to send first connection message to players": true,
"User data refresh interval (seconds)": 30
}
Merged post
{
"Allow clan members to destroy each others entities": true,
"Allow twig to be destroyed even when owner is noob": true,
"Check full ownership of the base instead of only one block": true,
"Check Steam for in game time": true,
"Days of inactivity after which player will be raidable": 1.0,
"Ignore twig when calculating base ownership (prevents exploiting)": true,
"In-game steam time which mark player as non-noob (hours)": 10000.0,
"Kill fireballs when someone tries to raid protected player with fire (prevents lag)": true,
"List of entities that can be destroyed even if owner is a noob, true = destroyable everywhere (not inside of owners TC range)": {
"Placeholder1": true,
"Placeholder2": true,
"Placeholder3": true,
"Placeholder4": true,
"Placeholder5": true
},
"Manual Mode": false,
"Notify player on first connection with protection time": true,
"Prevent new players from raiding": true,
"Refund explosives": true,
"Refunds before player starts losing explosives": 0,
"Remove noob status of a raider on raid attempt": true,
"Remove protection from all clan members when a member tries to raid": true,
"Show message for not being able to raid": true,
"Show time until raidable": true,
"Steam API key": "hidden for security purposes but its there",
"Time (seconds) after which noob will lose protection (in-game time)": 28800,
"Use game tips to send first connection message to players": true,
"User data refresh interval (seconds)": 30
}
Locked automatically