DynmapForge icon indicating copy to clipboard operation
DynmapForge copied to clipboard

Change sea level in DynMap Forge

Open rysson opened this issue 8 years ago • 2 comments

It will be nice to change sea level by DynMap command. Workaround is to stop server edit forgeworlds.yml and start it again.

If DymMap could read sea level from MC, it will be the best.

rysson avatar Jun 19 '17 10:06 rysson

Sea level is read when the world is first seen by dynmap, but it is then saved in the forgeworlds.yml and never reread. I'm going to change the code to save a 'sealeveloverride' attribute, versus the detected or default sealevel, so that it'll be dynamic and adjusted until someone specifically puts the sealeveloverride setting in the forgeworlds.yml file.

mikeprimm avatar Feb 11 '18 15:02 mikeprimm

OK - changing the Forge code to just trust the world's sealevel, and reload it from the world each time the world itself is loaded. Patched code is built for 1.11.2 through 1.12.2 for v2.5 and v3.0. Give it a look and let me know if it works as you'd expect.

mikeprimm avatar Feb 11 '18 16:02 mikeprimm