Updating server with Distant Horizons
Hello I have Distant Horizons on a server, and I’ve noticed when I update the server to a new version of Minecraft all the previously loaded chunks that let you see very far need rediscovered, not by the server but by Distant Horizons. Is there a .dat folder that needs transferred over or something?
14 Replies
/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
The LODs are contained only in the DBs
Are you sure you haven't updated DH version alongside MC version?
Yes I’ve updated the DH version also
At some point the DB location had changed
What does DB stand for?
First back up all the LODs
Then try replacing the newer probably smaller DB files with the larger (old) ones
And remove any other DBs present
Data Base
For DH it will be SQLite Data Base
Which then is Structured Query Language Lite Data Base (not really, but almost)
Ah okay so replace the newer version of DH.sqlite with the older one, thanks, also why does it get reset when I update the world version and all the data packs, is there an easier way to update them so they don’t reset files in my data folder? What I do on my server is delete all the server side data packs and replace them with the updated ones and all the mods ppl use like DH are client side, why do I need to make sure the sqlite file is saving on server side? Sorry for this run-on sentence
I know this isn’t part of the main help topic but I can find any videos about how to update a Minecraft server properly that has data packs, for example stuff in the data folder getting reset like scoreboard.dat and achievements. Am I always just going to have to transfer over the old data folder?
If DH is installed on the server it still stores LODs that it later sends to people
If it has lost the DB because of location change, the LODs will also be lost
If you mean that DH is not installed on the server, then having the DB there won't to anything, just waste space
If clients lose their LODs after the server update it is most likely on them
/server
DH won't be able to generate LODs for chunks outside the vanilla render distance unless DH is installed on the server (DH 2.3.0+). Instead, as you travel around the world, LODs will be generated for areas you've visited.
If DH is installed on the server, it will work just like in singleplayer, gradually pregenerating chunks around the player. The server also has access to the
/dh pregen start <dimension> <origin> <chunkRadius>
command, useful when you want to pregen without anyone online.
For more information about serverside support, click hereGitLab
Server Owners · Wiki · Distant-Horizons-Team / Distant Horizons ...
This is a mod that adds a Level Of Detail (LOD) system to Minecraft. This implementation renders simplified chunks outside of the normal render distance allowing for an...
As for datapack, no idea, I use mods
Okay shoot, DH is only downloaded client side on my server bc for some reason I got it in my head that everyone would have to download it themselves to just join the server. Having DH on the server doesn’t force everyone to download it? bc thinking about the ppl that arnt tech savvy and don’t want to go through the process of downloading mods
Solution
DH is optional on both sides
Okay thanks