Server doesn't pre-generate chunks despite mode INTERNAL_SERVER
On my modpack server, I am using the /dh pregen command to pre-generate LODs and chunks. However, it seems to only generate LODs.
I have set in the config. The server says it has generated a radius of 144 chunks = 2304 blocks from 0,0. However, at ~1800 with 6 chunks real viewing distance and DH LOD on or off, the server loads terrain as if it has to generate it first. I have also seen a strucutre in LOD, changed the NBT file of the strucutre with a datapack and then seen the change when flying to the strucutre. Both of these things imply the server is not actually generating chunks or not saving them to .mca files. After having teleported to the remote location, my .mca files also now feature a gaping hole between -7/+7 and -19/+19.
Any ideas why it doesn't save the chunks? Especially mod-related?
4 Replies
There are mods and plugins that block DH from saving vanilla chunks
The only one known to blame is world save async or fast world save, something like that
Also did you change the generation mode before all the generation or have your changed it after and then run the pregen again?
If terrain had existing LODs (even if generated using different mode) no generation will run there
You can try deleting the LOD DB and running the pregen again
!lodstored
Single Player:
- Overworld:
.minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite
- Nether: .minecraft/saves/WORLD_NAME/DIM-1/data/DistantHorizons.sqlite
- End: .minecraft/saves/WORLD_NAME/DIM1/data/DistantHorizons.sqlite
- Custom Dimensions: .minecraft/saves/WORLD_NAME/DIMENSION_FOLDER/data/DistantHorizons.sqlite
Multiplayer:
- .minecraft/Distant_Horizons_server_data/SERVER_NAME/
Server Mod
- Overworld: SERVER_FOLDER/world/data/DistantHorizons.sqlite
- Nether: SERVER_FOLDER/world/DIM-1/data/DistantHorizons.sqlite
- End: SERVER_FOLDER/world/DIM1/data/DistantHorizons.sqlite
- Custom Dimensions: SERVER_FOLDER/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite
Server Plugin
All dimensions in one file: SERVER_FOLDER/plugins/DHSupport/data.sqlite
NOTE:
Sometimes there might be 2 additional files next to the main one with extensions .sqlite-wal
and .sqlite-shm
If there are, all 3 should be treated as a single file, a.k.a. moved, deleted, backed-up always together!
If you don't, the database will become corrupted.!logs
You should send your
latest.log
file to provide additional useful information.
Logs are usually located in the .minecraft/logs
directory.
On Windows: %appdata%\.minecraft\logs
On Linux: ~/.minecraft/logs
On Mac: ~/Library/Application Support/minecraft/logs
Please upload the file to mclo.gs instead of sending the raw file. This makes reading the contents of the file a lot easier and improves the chances of you getting the help needed.
After uploading the file, click on Save
and send the link.