How can I add pre-generated LOD files to my local hosting server.
So in need to add pre-generated chunks from a single player world to the server so it doesn't use the resources to generate chunks i also want to make the world border at 20k blocks and disable chunks generate by players so they can only have the already generated chunks only
9 Replies
If you want to add pre-generated LOD files as in you already have the files
/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.Just copy them to the correct location
If you want to do pregen on the server
/generators
- FEATURES: Complete generation of all LODs with mostly correct structures and trees. Does not save vanilla chunks, and is much faster than INTERNAL_SERVER unless C2ME is installed.
- INTERNAL_SERVER: 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.
Use the DH pregen command
Ok thanks
I only want to disable world DH generate for players as the world will be generated up to world border 20k
With plugin you can set LOD border
With mod I’n not sure
/generators
- FEATURES: Complete generation of all LODs with mostly correct structures and trees. Does not save vanilla chunks, and is much faster than INTERNAL_SERVER unless C2ME is installed.
- INTERNAL_SERVER: 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.
You can however still change the generation mode to what you want