Distant Horizons Server-Client connection

How do I configure DH to work on multiplayer server, and send all clients the rendered chunks? (I've prerendered the world with chunky.) How do I also configure Distant Horizons clientside?
8 Replies
Jckf
Jckf3mo ago
If you install DH on your server, it will Just Work ™ No need to configure anything unless you want to tweak the way it performs For Fabric or (NeoForge) servers; install DH just like you did on your client. For Bukkit/Spigoit/Paper/Folia; install the DH server plugin.
naruku
narukuOP3mo ago
@Jckf (GMT+2) I downloaded it on both server and client, pregenerated it, but it renders quite poorly and has an end of the world that doesnt want to render further.
No description
No description
Jckf
Jckf3mo ago
It will take some time for DH on your server to generate all the LODs. If you press F3 while in-game and look at the right side of the screen; you should see the text "server has full DH support" if it is working properly
naruku
narukuOP3mo ago
oh, alright. Do i need to be in the unrendered chunks in order for DH to render them?
Miki_P98
Miki_P983mo ago
First, rendering and generation is not the same Rendering: Rendered LODs, is what you see on screen. Rendering happens every frame on your GPU Generation is the... well... generation of the LODs and chunks, it should happen only once, then the LODs (optionally chunks) are saved for them to be loaded much faster next time there is a need to do so Loading happens when the chunk/LOD is already generated and within your RD If you have DH on the server, client will request the generation of all the LODs inside their client DH RD, as time passes, the server should generate those LODs and send the m to clients
naruku
narukuOP3mo ago
Can i speed up the generation?
Jckf
Jckf3mo ago
!slowgen
YAGPDB.xyz
YAGPDB.xyz3mo ago
World generation in general is quite slow, if you want to speed it up: Install Noisium, Lithium and C2ME(DH 2.3.0+). These mods can improve generation speed by a bit, but it will still not be fast. Increase CPU Load in Distant Horizons settings for faster generation, but you will experience more lag spikes and stuttering due to heavier workload on CPU. To see if Distant Generator is really working or not: 1) Check CPU usage while in-game, using Aggressive settings of CPU Load. If CPU usage's hovering around 80-100%, the LoDs are generating in the background. 2) Go to DH settings > Advanced Options > Debug > Wireframe, set Enable Debug Wireframe Rendering and Show World Gen Queue to True. Enabling both settings will show you the visualization of world gen tasks queued and working on the map (blue boxes for queued tasks, red boxes for working tasks)

Did you find this page helpful?