add DH config

serverFolderNameMode changed from NAME_ONLY to IP_ONLY (see content of DistantHorizons.toml for explanation)
reason:	when set to NAME_ONLY, every time the server is renamed on the client, DH won't find the corresponing LOD database anymore. This results in
	1. The DH client is without LODs -> bad user experience
	2. The DH client would download the LODs again,  which results in duplicate files in Distant_Horizons_server_data. The LODs easily occupy multiple gigabytes by default and now there are duplicates of them! -> bad user experience
solution: when set to IP_ONLY, the DH client will identify corresponding LOD database by "IP Address", although it can also be a domain name. It's actually the content of the "Server Address" field in the servers.dat file
This commit is contained in:
anonoe 2025-04-23 03:57:20 +02:00
parent c8b5dc3e12
commit d48362659f
Signed by: anonoe
SSH key fingerprint: SHA256:c7f28FyVXvIXSVjAXp9azN9lKg+khKjVegKYeXHP/Ho

View file

@ -0,0 +1,13 @@
_version = 3
[client]
[client.advanced]
[client.advanced.multiplayer]
#
# How should multiplayer save folders should be named?
#
# NAME_ONLY: Example: "Minecraft Server"
# IP_ONLY: Example: "192.168.1.40"
# NAME_IP: Example: "Minecraft Server IP 192.168.1.40"
# NAME_IP_PORT: Example: "Minecraft Server IP 192.168.1.40:25565"NAME_IP_PORT_MC_VERSION: Example: "Minecraft Server IP 192.168.1.40:25565 GameVersion 1.16.5"
serverFolderNameMode = "IP_ONLY"