Custom Zone created, modified, then reverts back on reloadNot An Issue

So I have created a zone using dynamic PVP, and it has added it to my data file (see attached)

When i change the settings to:

(Enable event: true ) and add zone raidius and such then reload the plugin to take changes in affect, they revert back to defualt config.

 

{
"timedEvents": {},
"autoEvents": {
"PVPzone1": {
"Enable Event": false,
"Delay In Starting Event": 0.0,
"Delay In Stopping Event": 0.0,
"Holster Time On Enter (In seconds, or 0 to disable)": 0.0,
"Enable PVP Delay": false,
"PVP Delay Time": 10.0,
"TruePVE Mapping": "exclude",
"Use Blacklist Commands (If false, a whitelist is used)": true,
"Command works for PVP delayed players": false,
"Command List (If there is a '/' at the front, it is a chat command)": [],
"Drop plugin Backpacks on death (null disables override)": null,
"Bypass Loot Defender locks": false,
"Block Restore Upon Death": false,
"Dome Settings": {
"Dome Darkness (0 to disable)": 8,
"Enable Red Ring": false,
"Enable Green Ring": false,
"Enable Blue Ring": false,
"Enable Purple Ring": false
},
"Enable Bots (Need BotSpawn Plugin)": false,
"BotSpawn Profile Name": "",
"Dynamic PVP Zone Settings": {
"Zone Comfort": 0.0,
"Zone Radiation": 0.0,
"Zone Temperature": 0.0,
"Enable Safe Zone": false,
"Eject Spawns": "",
"Zone Parent ID": "",
"Enter Message": "Entering a PVP area!",
"Leave Message": "Leaving a PVP area.",
"Permission Required To Enter Zone": "",
"Extra Zone Flags": [],
"Zone Radius": 0.0,
"Zone Size": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"Zone Rotation": 0.0,
"Fixed Rotation": false
},
"Auto Start": false,
"Zone ID": "",
"Position": {
"x": -461.8969,
"y": 11.5663929,
"z": -77.14675
}
}
}
}

I only got the plugin to recognize to auto start the event but using in game commands. Changing the config on console side doesnt reload on save. 

Otherwise, nothing else will allow me to change and save it when reloaded.



Merged post

Figured it out. Must unload plugin, edit data, the load plugin. Thanks

Make sure to unload DPVP, then change and save the JSON, then load DPVP back up.

Reloading apparently overwrites the data file with what's loaded in memory when it unloads.

HFvagFgbGYFwzVI.jpg HunterZ

Make sure to unload DPVP, then change and save the JSON, then load DPVP back up.

Reloading apparently overwrites the data file with what's loaded in memory when it unloads.

Thanks for the tip!

Any idea why the zones that are created are slightly off? by like 10 feet or so?



Merged post

the red dome is created, but the notice upon entering and leaving are like about 10 feet off?
6qfn54QKXoaSvsr.jpg arandumdude

Thanks for the tip!

Any idea why the zones that are created are slightly off? by like 10 feet or so?



Merged post

the red dome is created, but the notice upon entering and leaving are like about 10 feet off?

No idea. Either you're actually experiencing a delay, or Facepunch screwed up.

Locked automatically