Does pregenerating with mode "Internal Server" fully generate the chunks?
I have pregenerated my server using the Internal Server mode in order to generate both LODs and the world. My understanding is that this pregeneration is identical to if a player was to travel around and load each of these chunks - all data that would be stored if a player was to load the chunk (i.e. lighting data, etc.) should be stored in these chunks. Is this correct?
I am asking because I have BlueMap running on my server alongside DH. BlueMap is supposed to read all fully loaded chunks and generate its map. This should also include chunks generated by DH, however, only spawn chunks & chunks loaded by players are rendered by BlueMap, instead of the full generated world.
I brought this up with the developers of BlueMap, who, after helping me debug the issue, came to the conclusion that DH is not fully loading the chunks, since BlueMap does not recognize these chunks as being loaded.
34 Replies


!generators
- FEATURES: Complete generation of all LODs with mostly correct structures and trees. Does not save vanilla chunks, and is much faster than FULL unless C2ME is installed.
- FULL: Generates and saves both DH LODs and vanilla chunks, has 100% correct LODs, because it also saves vanilla chunks it takes the most amount of drive space. Generation speed will suck unless C2ME is installed.
- PRE-EXISTING: Generates LODs for all existing vanilla chunks.
FULL (INTERNAL_SERVER) just calls vanilla logic to generate and save the chunks
It should be identical to any other vanilla generation caused by player or other mobs and mods
Unless some other mod breaks it
There are mods that prevent DH’s FULL generator from saving chunks
such as?
what confuses me is that it works fine when a player goes and loads the chunks, I only have this issue when the chunks are loaded by DH.
Don't remember which mods broke it
You can try searching through DC
DC?
dev chat?
discord
So I shared one of my region files that has been generated by dh but not by a player, and is not being loaded by BlueMap. This is what BlueMap had to say about it

I think there is a setting in DH to use vanilla light map (if it wasn't removed)
You can try enabling it and see it that chnages anything
Apart from that, I think James would need to comment on this himself @BackSun
there's this in Advanced -> LOD Building

But from what I can tell this setting doesn't cause DH to actually generate the lighting and only reads it from region files if available
yeah this doesnt generate lightmaps, it just reads them

or well, it generates lightmaps for the lods, I dont think it generates them for the actual chunks
I'm looking through the config but unless I missed something, there isnt anything that would enable dh generating lightmaps for chunks
I would have assumed Internal Server generation would generate the chunks fully but evidently it doesnt
I have just tried it locally, it indeed does not generate the light
DH doesn’t generate MC light maps and doesn’t have a setting to do so since it’s unnecessary and would just slow down world gen.
I could add an optional setting to force light map generation although I’d have to think about how to word said setting since it’s a relatively niche use case.
optional setting would probably be the best option
unless its like a headache to implement
Optional setting would be good, because otherwise if you want to pre-gen a region and also have it show up in map mods, you'd have to use chunky, which doesn't play well with DH.
I think it could be labeled as a "Compatibility Mode" and the tooltip explains that it meant for mods like bluemap to work and it will slow generation speed
A separate #suggestions post should probably be created
I did figure out how to make DH generate chunks with the chunks in the "full" state, which did make bluemap work, however it doubled the generation time so I probably did something wrong
I'm also trying to generate LODs and chunks at the same time. I'm reading the wiki and it says I need to set
generation.mode to INTERNAL_SERVER in the config, and then run /dh pregen on the Server, but I can't find the generation.mode section. Maybe the name was changed and it's this? (see screenshot below).
Also, am I correct in believing that when I use /dh pregen, all clients that join the Server will receive the LOD/chunk data and wont need to load their own LODs/chunks?
this is not related to this issue, but yes
mb I thought it kinda related but I can see how it doesn't
thanks tho 🙏
so what's the best way to pre gen world+lod+ bluemap compatible then ?
With the current build you should use chunky + c2me to first generate the real chunks
then you can process those with DH and Bluemap
so just chunky pregen and then DH normal pregen with default config it's gonna read the chunks and make the lods ?
yes
Just remember to remove DH from the mods folder when Chunky is running
i did this but how do i normally load dh
cuz rn it wont take the pregened chunks and make lod on those but do it from scratch
If a vanilla chunk exists DH will use it
Well unless it is corrupted, but that is only the case when you use thing like world edit
does it normallly use it on its own? why is my dh so slow? 7cps
cpu utils bad too
@Skillnoob_
please don't cross post in multiple threads
i was desperate sorry