From d48362659f06f0c21f5c8ebd549d063cf2aa576b28f3aad99b4f06b68f9a5505 Mon Sep 17 00:00:00 2001 From: anonoe <8bdd1ef7-1633-4e26-83a0-8dda8605bcd0@aleeas.com> Date: Wed, 23 Apr 2025 03:57:20 +0200 Subject: [PATCH] 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 --- client/minecraft/config/DistantHorizons.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 client/minecraft/config/DistantHorizons.toml diff --git a/client/minecraft/config/DistantHorizons.toml b/client/minecraft/config/DistantHorizons.toml new file mode 100644 index 0000000..4046d21 --- /dev/null +++ b/client/minecraft/config/DistantHorizons.toml @@ -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" +