Regionerator icon indicating copy to clipboard operation
Regionerator copied to clipboard

Trigger Dynmap renders after regen

Open louisgthier opened this issue 5 years ago • 5 comments

Some chunks become black after regen on the dynmap, which makes it really bad to see.

louisgthier avatar Jun 24 '20 19:06 louisgthier

Well, black signifies that they don't exist, yes. I'll leave this open because I do have a (pretty far backburnered) request to trigger Dynmap renders after chunk deletes, but otherwise this is normal.

Jikoo avatar Jun 26 '20 11:06 Jikoo

Do you think you should trigger render on regen ? As the chunk doesnt exist, I think triggering render is the cause of the black tiles. Maybe trying not to trigger render could be better ? I dont really know.

louisgthier avatar Jul 02 '20 08:07 louisgthier

Currently Regionerator does not trigger renders. Black spots are caused when a render triggers for other reasons, and are not preventable. A render of the area would ensure that the web tiles are consistent and designed with the hole in mind - all views and all angles would ideally be consistent and have properly defined edges.

Jikoo avatar Jul 02 '20 09:07 Jikoo

Do you think it would be possible to add an option so that chunks generation is triggered after deletion. As regeneration is working at night when players aren't connected, it would improve performances during day and allow Dynmap to work properly.

louisgthier avatar May 12 '21 08:05 louisgthier

If you want chunks to immediately regenerate I believe that's the basis of this plugin https://github.com/StargateMC/Regenerator

No plans at this time to add a mode like that - it would be possible, but it's not what I designed Regionerator to do. Deletion would have to be considered completely differently. Regionerator also doesn't have a memory- or CPU-based throttle, and I can't see anyone wanting to do chunk generation without a system like that in place - you'd crash your server in no time.

Jikoo avatar May 12 '21 12:05 Jikoo