Zones resetting after Restart

Anyone had the same issiue?

Need to readd every zone after Restart :-(

I am having the same issue, when I first installed it, I set custom zones and custom radius and lined them all up with zone domes so everything was perfect for PvE/PvP. It's been a while but, I made a custom map with custom monuments and it wasn't perfect at creating the zones, which is done so I edited the radiuses and everything, but then when I reload Zone Manager it reset everything, any zones I edited it deletes and re-adds the incorrect ones. I removed ZoneManagerAutoZones as I thought that might have been recreating them, but it is not the issue, even after removing that plugin and restarting the server it still breaks the radius of the zones. It worked on my server on the old procgen map fine with saving the edits, but when the server restarts at night it resets everything.

Edit: Since I've removed Auto Zones it lets me delete ones that were created by either zone manager or auto zones, that had actual monument names, but were in the wrong place, because that monument did not exist on my map in the first place (train yard), I deleted it and it has not come back. Something created zones with random numbers, if I edit them and reload the plugin or restart the server it sets that zone back to the default that whatever plugin gave it with a new number. I tried deleting the zone, and creating a new one with the correct flags and it deleted that and made it own with the wrong settings and a new random number string again. There is a default one that I tried to edit (Water Treatment) and it resets back to default after reload/reboot.
Tomorrow I'm going to remove the data file and other dependency plugins (Zone Domes, etc.) and see what zones are created, and will update. There might be another plugin causing an issue that's overriding ZoneManager.



Merged post

It wasnt working for oil rig, because I had a custom on land mini Oilrig and Dynamic PVP is setting PVP Zones for the Hackable Crate Event flag which over rides the zone and created a ranomized number which changes at each event, it gets triggered each time the crate is online at the default radius with a new ID. I had the Dynamic PVP flag turned on for the Guarded Crate Event Plugin I have, but it doesnt work with that anyway. Everywhere that has a hackable crate is already in a PVP zone so I just truned that flag off and decided to create my own zone for that area using the coordinates that Dynamic PVP already provided me, just gave it a real name, ID, and proper radius, that kinda solved Oil Rig.

Still having issues with some zones, I remove removed autozones, and they problem zones are set to false in Dynamic PVP so they should not be PVP zones (they can have a zone from ZM, thats fine, but they are showing up as PVP zones, and I cannot remove them or change them to safe zones). ZM sets then as false for safe zones even after I change it to true, save config and reload and its back to false. For some reason I still had zones at Spermket and Oxums, if I delete them, they come right back. They are not listed as monuments in Dynamic PVP at all. Turns out DynamicPVP's HackableCrate flag was causing the zone at the Supermket becuase I had a custom one that included a codelocked door (I guess thats why?) it had no hackable crate but I removed that flag from Dynamic PVP and they went away. Oxums, (also later found out about) Dome, Harbor, and a few more, however are the Vanilla ones and has no hackable crate, no code locks, they have a zone, I set it to safe, it resets, I delete the zone from the config, save, reset, its back. I created a zone for my custom OilRig from above and it deleted that after reload also. Will play with it more, hope that helps other with similar issues, or maybe the dev in some way for future.



Merged post

I think I got it to work, I edited the area in dynamic PVP to be disabled, went to the zone, edit and remove zone, save Dynamic PVP config, reload ZM which reloads Dynamic PVP and everything seems to survive the plugin reload. Reload zone domes and they removed themselves automatically and the PVE flag is now present. I'm not sure if this helped you with your issue, if you have any of these other plugins, but hopefully it helps someone somewhere.