Question about sending chunks in multiplayer
my friend went on his main pc, generated chunks w chunky, put the world onto his 24/7 home lab server, he has DH installed on the server.
i installed DH and joined but i aint getting a lot of chunks sent š¤
he generated 20k chunks with chunky. does he have to do anything so that they get sent to me through DH?
and is it possible for him to limit the upload speed? because otherwise his inet gonna die for like a long time i guess bc it takes a long time to send?
We are on Fabric, 1.21.10, barely any mods other than DH and basic optimization.
60 Replies

also is this DH related?
@Skillnoob_


do i have to enable progress?
doesnt show either way š¤
oh god 1.21.10 f3 menu
press f3 + f6 and enable the dh info there
š¤£


what the helly
could it be my friend forgot to install DH?
š
or does he need a specific server version of the mod? i think he just has the default DH install
Ask him if the DH command is present on the server
ye im askin
Or provide server sdie logs
would it also be possible that i just grab the world, i generate 20k chunks with chunky
and somehow save it for myself?
without him having to send 20k chunks LODs to me?
!chunky
Using Chunky to pregenerate for DH is not recommended for several reasons.
The first one is the swiss cheese that might show up when using chunky while DH is installed.
The second reason is that it's pointless, as DH has a build in pregenerator that is better integrated than chunky:
- It saves space by only storing LODs, not normal chunks
- It is faster to use DH's pregenerator to generate the LODs than first using chunky to generate the normal chunks, and then using DH to convert the normal chunks to LODs
- It is part of DH, and therefore always/only called when DH needs it
- Chunky calculates it's radius in blocks, confusing the user if they are not aware of this
Distant Horizons' built-in LOD pregenerator is enabled by default, and can be sped up or slowed down by changing the
Cpu Load in DH's settings, or disabled by turning off Distant Generation.
If you want to pregenerate both LODs and normal chunks, set the Distance Generator Mode to Full under Advanced, World Generator. This will of course take up quite a lot more storage space. Make sure you have C2ME installed if you want to use Full, as the generation speed will be crap if you don't.
Note, this also applied to other similar pregeneration mods.You could just use the DH built-in generator if you had the world
oh so if he only used chunky with 20k chunks
that would be a problem?
If DH was not installed when Chunky was running, that is not the problem
mh ok wait
But Chunkyt does not generate LODs
oh i see
OH
So server DH still has to do LOD generation for each request from your client
so DH cannot send anything
It will just generate it and send it after
he says DH is 100% on the server
he isnt home right now
Well not if the client does not recognize that server side DH is present
oki my friend will check later if DH is installed and if not will install it. Since he has run chunky with 20k chunks, DH will then automatically generate LODs and send them to me?
thank u for help šš»
No, it will only generate the LODs when it is told to do that, either by your client requests or when forced with a DH pregen command
oh i see
my friend already generated the chunks. how does he generate LODs now? is generating chunks or LODs the thing that needs a lot of power?
Chunk generation is the way slower part
how long would it take to generate LODs for 20k chunks on a really really bad pc?
should he generate the LODs on his main pc? and then move the world and LODs to the server
or is it fine to generate LODs on the weak server?
No idea
Depends on how patient you are
if he generating LODs on his main pc, can he move the LOD files from pc to server?
yes
!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
NOTE:
Sometimes there might be 2 additional files next to the main one with extensions .sqlite-wal and .sqlite-shm
If there are, all 3 should be treated as a single file, a.k.a. moved, deleted, backed-up always together!
If you don't, the database will become corrupted.whats the command to generate LODs?
As long as the server is modded, and not using the DH plugin
it is using the DH mod š¤
/dh pregenim confused now
Use the autocomplete
don't know the full command
ah
ok wait im confused
can u not just move the LODs to the server
if it uses DH mod?
yes
yes, you cannot?
or yes you can?
yes you can
oh oki
mod to mod you can move the DB
mod to plugin and vice versa you cannot
oh
wait
there's a plugin?
im so confused
yes
pause
okay question
for the server to send LODs to the clients
does the server need the mod or the plugin?
either
ok understood
so
Mod is for fabric/(neo)forge. Plugin is for bukkit/paper or other plugin based servers
my friend runs the mod on the server.
my friend runs the mod on his client.
i run the mod on my client.
my friend generated chunks in singleplayer and put them onto the server.
my friend now generates the LODs in singleplayer on his pc and puts them on the server.
my friend also saves the LODs on his client, so he doesnt have to download them.
when i join the server I will get the LODs sent to me from his server?
if he sends me the world i can also generate LODs myself and/or he can give me a USB stick irl with the LODs?
But I also need the chunks to generate the LODs myself, correct?
we use fabric, so its mod. nice.
@Miki_P98 my friend generated the chunks with chunky while he had DH installed.
the server crashed afterwards so he deleted DH.
He just put it back on and now I think I am downloading chunks?
can u tell based on this screenshot/


So we get warnings because he used chunky. Can we just use DH pregen now to resolve the warnings and such?
Can we avoid the swiss cheese from chunky incase it happens in the future?
Can we delete the already preloaded chunks from chunky and just redo it with DH?
The SERVER_FOLDER/world/data/DistantHorizons.sqlite file is 160mb. Is that correct?
I also keep disconnecting and I don't know why. š¤
i was only on 4gb ram, i increased to 8
It only happens when Chunky runs while DH is installed
You can just remove Chunky to not run it by accident and you should be fine