WorldGuard

WorldGuard

8M Downloads

Regions added by plugins are not saved

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDGUARD-2243 - Reported by Gandaflux

Regions added by plugins using

RegionManager.addRegion(region);

are not saved into region file. Even on clear server /stop - so plugin devs need to use

RegionManager.save();

everytime when they modify regions. When inside world we have lots of regions (2-5k) it cause lag ingame. Maybe WorldGuard shouls save regions on plugin stop inside onDisable() or autosave every xx minutes (maybe config) or maybe both. Right now only regions added from WG commands are saved correctly.

commented

Comment by sk89q

We're probably not going to fix this, because plugins ''should'' tell WorldGuard that changes were made. However, the freezing is obviously the problem preventing that from happening, so we're hoping to fix that (see WORLDGUARD-2206).