Configuration keep reseting after restartSolved
Deeplyfri3d
alright so, I just updated to the latest version 0.9.6 but Im not sure if that will fix my issue tho.

the last couple of days Ive been using 0.9.4 and after every restart of the server the config file goes back to default, during the time the server runs with my configured config everything works properly tho. is this perhaps something you are aware of?  I will get back to you after tonights restart if it actually does reset it once again with the latest version.
Deeplyfri3d
Original Poster
yeah even when using the latest version my config resets after a server restart. but like I said the config works as intended when the server is up
crowing
I am having the same issue. The config was working earlier today with dynamic, but when setting up a static pvp zone with ZoneManager and TruePVE, I edited the TruePVE JSON. After I pushed a restart, I looked at the JSON and it had reverted to its original configuration. Everything was deleted. I tried importing the edited JSON a few more times, with restarts post xfer, and got the same result. 

Now I cannot get anything to load but the default JSON after a restart. Its concerning.
rfc1920
Plugin Developer
Definitely not something I've seen so far.  I have default, kill, and exclusion zones setup, the server restarts nightly, and I had a typical devtime server hang that made me forcibly restart it tonight.  Will keep my eyes open.
crowing
I had resolved this issue. it was actually just me being dumb. If you incorrectly configure the json it will push the json back to default on restart.
Wulf
uMod Admin
timeconsumer
I had resolved this issue. it was actually just me being dumb. If you incorrectly configure the json it will push the json back to default on restart.

That's generally the case with most plugins.

Deeplyfri3d
Original Poster

if thats the case could someone please point me in the direction thats wrong in this one

{
"Config Version": "0.9.4",
"Default RuleSet": "PVEArea",
"Configuration Options": {
"handleDamage": true,
"useZones": true
},
"Mappings": {
"PVEArea": "PVEArea",
"launchsite": "PVPZone",
"shoppingcenter": "PVPZone",
"sewerbranch": "PVPZone",
"dome": "PVPZone",
"golem": "PVPZone",
"castle": "PVPZone",
"excavator": "PVPZone",
"powerplant": "PVPZone",
"stonequarry": "PVPZone",
"hqmquarry": "PVPZone",
"hqmquarry2": "PVPZone",
"sulfurquarry": "PVPZone",
"sulfurquarry2": "PVPZone",
"militarytunnel": "PVPZone",
"airfield": "PVPZone",
"watertreatment": "PVPZone",
"largeoilrig": "PVPZone",
"oilrig": "PVPZone",
"middle": "PVPZone",
"15541832": "exclude",
"15441786": "exclude"
},
"Schedule": {
"enabled": true,
"useRealtime": true,
"broadcast": true,
"entries": [
"4.15:00 PVEArea PVE Area is active,PVP Zones at every monument, airdrops, supply signals, heli crashes and lockedcrates",
"0.18:00 PVPZone Raiding and PVP is now available everywhere until wipe"
]
},
"RuleSets": [
{
"name": "PVEArea",
"enabled": true,
"defaultAllowDamage": false,
"flags": "AuthorizedDamage, HeliDamageLocked, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, ProtectedSleepers, CupboardOwnership, SelfDamage",
"rules": [
"anything can hurt dispensers",
"anything can hurt traps",
"traps can hurt players",
"players can hurt barricades",
"barricades can hurt players",
"highwalls can hurt players",
"anything can hurt heli",
"anything can hurt npcs",
"anything can hurt resources"
]
},
{
"name": "PVPZone",
"enabled": true,
"defaultAllowDamage": true,
"flags": "AuthorizedDamage, HumanNPCDamage, CupboardOwnership, SelfDamage",
"rules": [
"anything can hurt dispensers",
"anything can hurt players",
"players can hurt players",
"anything can hurt traps",
"traps can hurt players",
"players can hurt barricades",
"barricades can hurt players",
"highwalls can hurt players",
"anything can hurt heli",
"anything can hurt npcs",
"anything can hurt resources"
]
}
],
"Entity Groups": [
{
"name": "dispensers",
"members": "BaseCorpse, HelicopterDebris",
"exclusions": ""
},
{
"name": "players",
"members": "BasePlayer",
"exclusions": ""
},
{
"name": "traps",
"members": "AutoTurret, FlameTurret, GunTrap, ReactiveTarget, spikes.floor, SamSite",
"exclusions": ""
},
{
"name": "barricades",
"members": "Barricade",
"exclusions": ""
},
{
"name": "highwalls",
"members": "wall.external.high.stone, wall.external.high.wood, gates.external.high.wood, gates.external.high.wood",
"exclusions": ""
},
{
"name": "heli",
"members": "BaseHelicopter",
"exclusions": ""
},
{
"name": "npcs",
"members": "NPCPlayerApex, BradleyAPC",
"exclusions": ""
},
{
"name": "resources",
"members": "ResourceEntity, TreeEntity, OreResourceEntity",
"exclusions": ""
}
]
}
rfc1920
Plugin Developer
It appears to be valid json but for an outdated version of TruePVE.