Same server different address wont share LODs.

I have server with distant horizon installed. Due to some problems, I have to use several different address for players from different locations to connect to server. And different name in server browser is also needed for players to know which to connect. I have checked the DH config and found out it can only distinguish different server by ip or name, which both are not the same for each addresses. This caused the DH cant tell these are actually the same server. A fingerprint from DH's server side would be great since it solved both servers behind proxy issue and this issue. Or is there is already workaround for this issue? Please tell me. Helps are much much appreciated
No description
No description
14 Replies
Puhpine
Puhpine2d ago
can you not give every server the same name? i guess that would become confusing though
Miki_P98
Miki_P982d ago
You can try making a symlink for all server folders to point to the same DB
Jckf
Jckf2d ago
@пшш and I discussed the possibility of a unique server key once before, to let servers with multiple addresses share the same data I think he made a branch with a test implementation, but dunno what happened after that
пшш
пшш2d ago
Yeah it's ready to be merged, i just assumed it'd be better to wait for implementation on your side Do you think instead i should just merge it now?
Jckf
Jckf2d ago
Is the feature optional and/or backwards compatible? Ie. if someone updates to this version, will all clients suddenly have to re-download all LODs, or how till that affect it?
пшш
пшш2d ago
it's a no-op by default, but a protocol bump is required otherwise yes, it should be backwards compatible
Jckf
Jckf2d ago
Cool :) I'll release 0.11.0, then add this to develop to make it available in nightlies Just let me lie down for a bit. I just took painkillers for my back, so I'm a bit woozy x)
FirstMelody
FirstMelodyOP2d ago
That will be a nightmare for players to figure out which they should connect. Despite the latency may the same but one may stutter a lot. Good to hear that and appreciate your effort. Looking forward to the new nightly 🙂
Jckf
Jckf2d ago
@пшш Latest plugin snapshot now has server key feature
пшш
пшш2d ago
perfect, will merge in a bit done
пшш
пшш2d ago
Folder names will be server id + folder name in the modded server, for the plugin it's probably different
No description
Jckf
Jckf2d ago
The default is null for the value on my end, or a custom string like level key if specified in the config
FirstMelody
FirstMelodyOP20h ago
It seems working now. For exising data, will they be merged or just abandoned?
Jckf
Jckf19h ago
Servers that don't use the feature will not notice anything, but once you configure a server key - clients will have to redownload the LODs they need. The server does not need to regenerate LODs.

Did you find this page helpful?