dh on servers

yes
140 Replies
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
so basically i tried with my lil brother to play on a lan server like ssential and yes it apparently doesnt work my main idea is if i do get a server a standalone one if i have it running the dh server fork
Yeshi
Yeshi•4mo ago
yup it doesn't work on essential, you can download the minecraft server jar and run it locally and that'll work
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
yes but on servers it says u gotta explore the chunks for them to load is that the same for server side fork
Yeshi
Yeshi•4mo ago
that's when dh isn't present on the server. if you get the serverside version on both the server and your clients it'll work
Yeshi
Yeshi•4mo ago
go to https://fabricmc.net/use/server/ and get the server jar
Fabric
Download Minecraft Server Launcher
The home of the Fabric mod development toolchain.
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
no no i do have a server, with 8gb of ram and stuff im fine with what im doing and ik how to host but if i run the server on my pc, like join it when it has the dh server both client and on the mod file in the server and preload lets say like 5000 radius if the other person joins it wont be preloaded for them right? i have to share my file for them to see the things
Yeshi
Yeshi•4mo ago
the server will start sending lod data to the other players
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
oh
Yeshi
Yeshi•4mo ago
it's a slow ish process but eventually everyone will see everything fully loaded around them
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
this is a pic of my single player world
Yeshi
Yeshi•4mo ago
you might have to mess around with the config file tho
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
with 3k chunks if i preload 3k on the server and send it to them would they see the same? like that whats annoying me is the "explore the chunks" first for them to be seeable
Yeshi
Yeshi•4mo ago
you can just send the sqlite over and they'll see the same thing yeah if you choose to do that you won't need to install the serverside version either
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
oh so i can just use the one on curseforge dh
Yeshi
Yeshi•4mo ago
yes
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
both me and my friend fire up the server, load chunks and theyll see? without exploring if i share with them
Yeshi
Yeshi•4mo ago
you won't need to load the chunks again if you transfer your sqlite file over to their machine
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
thats great
Yeshi
Yeshi•4mo ago
although when you build things others won't be able to see that unless they fly over to where you built the new stuff
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
yeah i get that
Yeshi
Yeshi•4mo ago
but that's a really minor problem at worst
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
my biggest problem was the fact that we had to explore the chunks
Yeshi
Yeshi•4mo ago
fyi these are the file paths /lodstored
YAGPDB.xyz
YAGPDB.xyz•4mo ago
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/
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
but thats prob cause we used essential thank you i send them the singleplayer one?
Yeshi
Yeshi•4mo ago
yes
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
or if i ran a chunky task itd save in multiplayer like on the server itd save on single
Yeshi
Yeshi•4mo ago
if you do it on a server you'd have to explore around to generate lods. you can load the same seed/world up in singleplayer, load all the lods, then transfer the sqlite
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
like if i join the server and preload and it finishes and i see everything just like singleplayer worlds ah well i have the same seed as singleplayer with chunks loaded the server is the same exact seed so all i have to do is put the sqlite from singleplayer overworld to the multipalyer
Yeshi
Yeshi•4mo ago
yup
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
and send the sqlite to my friend where would they put it? so they can also see on the server
Yeshi
Yeshi•4mo ago
in the multiplayer part here
Sarven
Sarven•4mo ago
speaking of I was actually curious, if you went around a server loaded all the chunks, could you then give those already loaded chunks to another player?
Yeshi
Yeshi•4mo ago
dh will create a new folder when they join
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
yes we just talked about that oh alright
Yeshi
Yeshi•4mo ago
just tell them to have a unique name for the server when they add it to their server list because dh uses what you put as the server name to figure out which lod file to use yes that works as well
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
thank you dude, it was a headache figuring all all this
Yeshi
Yeshi•4mo ago
no problem glad to help
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
random question does this photo look good im trying to melt my new 4090 😭
Sarven
Sarven•4mo ago
so it'd be in ".minecraft/Distant_Horizons_server_data/SERVER_NAME/" gotcha
YAGPDB.xyz
YAGPDB.xyz•4mo ago
Distant Generation doesn't work in multiplayer, meaning DH won't be able to generate LODs for chunks outside the vanilla render distance. Instead, as you travel around the world, LODs will be generated for areas you've visited. Putting DH on your server will allow DH to generate LODs for chunks outside the vanilla render distance. You will be able to add DH to your server granted it's running a compatible mod/plugin loader (Fabric, (Neo)Forge, Bukkit and their derivatives) once DH 2.3 is released. If you wish to try the currently unfinished server-side branch of DH, read everything within the pinned message inside this thread: https://discord.com/channels/881614130614767666/1154490009735417989 Keep in mind that this branch is highly experimental, do not use it in critical/production environments. When asking for support regarding issues with this branch, do so in the appropriate thread.
Yeshi
Yeshi•4mo ago
what's the quality preset at here looks like high or extreme
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
high also may i ask uhh an off topic question like sort of off topic
Sarven
Sarven•4mo ago
I actually had an issue where I went around the whole map, loaded all the chunks then they randomly disappeared and now I have to re-do it
Yeshi
Yeshi•4mo ago
i took this at high i think
No description
Yeshi
Yeshi•4mo ago
high looks pretty nice yeah go for it
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
wha i just said what shaders
Yeshi
Yeshi•4mo ago
bot doesn't like the first word :clueless: it's bliss
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
oh isee i was going to ask whats the best server hosting in your opiniion like a site bisect is getting expensive for me
Yeshi
Yeshi•4mo ago
i have no idea i self host
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
and i wanna run a huge modpack server with 2 players (the modpack is bmc) awo k
Yeshi
Yeshi•4mo ago
bmc was pushing my ryzen 7600 to its limits when i hosted it that pack's really heavy
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
i have a rtx 4090 and a i9 14900hx but idk if i should self host manb im saying idk if i should do it cause my ping is very high my wifi is bad like yes its enough for me to play on server but idk if my wifi will affect the other prerson
Yeshi
Yeshi•4mo ago
give it a shot and see if it's playable
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
my download speed doesnt exceed 600 kbps
Yeshi
Yeshi•4mo ago
better than burning a hole in your wallet with bisect
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
essential and like a server host site works flawless without any ping issues
Yeshi
Yeshi•4mo ago
minecraft servers use like 100kbps per player ping would be your biggest issue
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
so if i self host it can actually go well? and i have to use a strong pc for the server to be good
Yeshi
Yeshi•4mo ago
it might. only way to know is to try the 14900hx is a beast won't struggle running bmc at all
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
the issue is i dont know how to self host so i gotta figure that out now oh no do i need to port forward and all of that stuff too
Yeshi
Yeshi•4mo ago
if your friends are connecting from anywhere other than your home network yes
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
i dont know how to port forward but it looks super complicated
Yeshi
Yeshi•4mo ago
actually you can just use hamachi i used to do that a few years back https://vpn.net/ that gives your friends a tunnel so you don't have to worry about forwarding ports
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
i was gonna ask about tunnel services like zerotier, ik how to use them just wondering if it would affect ping
Yeshi
Yeshi•4mo ago
they get the job done a bit yeah but it's usually not by too much maybe like a few ten ms extra latency
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
so if i recall i install the bmc server pack + set it up with all the extra mods like dh imma put when its running i just use zerotier is that it
Yeshi
Yeshi•4mo ago
yes
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
but like how would they join again using the tunnel ip dedicated to me
Yeshi
Yeshi•4mo ago
yeah that's it from what i remember when i set up bmc i just installed a fabric server then added the mods in
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
theres a esrver pack with all the mods ill just add dh and terratonic stuff
Yeshi
Yeshi•4mo ago
i think i used that only difference is they joined with my home ip instead of using a tunnel but other than that it's the same process for getting things set up
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
i can gurantee 70% chance that the ping will be terrible cause i live in a war country and its terrible here the wifi is bad but alright thanks for all the info dude mb for the bother
Yeshi
Yeshi•4mo ago
i've got a friend that's in a country at the brink of war so i get that
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
im in syria, lol
Yeshi
Yeshi•4mo ago
all good i'm just procrastinating ngl :clueless:
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
on school?
Yeshi
Yeshi•4mo ago
nah i'm at home working on a personal programming project
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
neat alright thank you ill go get to trying now
Sarven
Sarven•4mo ago
Can I ask a quick question?
Yeshi
Yeshi•4mo ago
sure
Sarven
Sarven•4mo ago
Is it possible to use mods like Bobby with DH to help speed up the process of rendering the chunks on servers? or would they fight with eachother
Yeshi
Yeshi•4mo ago
bobby only extends your vanilla render distance on the client and doesn't apply to servers
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
bobby is not like dh ^
Yeshi
Yeshi•4mo ago
but bobby and dh do work nicely together if you have a beefy gpu that is bobby + nvidium + dh can look really nice
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
minecraft is a terrible game in optimization
Yeshi
Yeshi•4mo ago
yup
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
i have a 4090 and its still laggy soemtimes ok maybe its my fault for pushing the limits but come on man
Yeshi
Yeshi•4mo ago
in a mountain of tech debt and they have to keep compatibility with 10+ year old systems or else people will complain that they suddenly can't run the game anymore unfortunately that's just how it is at least for now
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
what is nvidium i do not have that is it good with fps
Yeshi
Yeshi•4mo ago
replacement rendering engine for sodium can do crazy stuff like 100+ chunks of render distance with 0 quality loss, although it doesn't support shaders
Yeshi
Yeshi•4mo ago
Modrinth
Nvidium - Minecraft Mod
Fast nvidia only rendering engine for sodium
Sarven
Sarven•4mo ago
how would bobby work with DH? From my limited understanding Bobby just lets you increase your render distance past vanilla limitations
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
no shaders yea that sold me
Yeshi
Yeshi•4mo ago
dh doesn't affect vanilla rendering and bobby doesn't affect dh rendering so you can do 64 vanilla chunks + 1024 dh lods just as an example
Sarven
Sarven•4mo ago
Could I do like 128 vanilla chunks?
Yeshi
Yeshi•4mo ago
if you have a boatload of vram yes only works with gtx1600 series cards and newer
Sarven
Sarven•4mo ago
and that would help with getting the stuff rendered for LODS to then take over ye?
Yeshi
Yeshi•4mo ago
i think something like a 4090 can do 160 if not more yes
Sarven
Sarven•4mo ago
bet 256 bobby it is
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
no shaders tho it will look so icky
Yeshi
Yeshi•4mo ago
nvidium doesn't speed up dh's rendering but it does greatly speed up vanilla rendering yeah sadly it can't support shaders (unless shaders are made specifically with nvidium in mind and a new shader loading mod is made specifically for nvidium) because it throws out most of the original sodium's renderer in favor of its own
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
if the mojang employees worked 10 minutes more
Yeshi
Yeshi•4mo ago
nah something like this would never be viable for the vanilla game
Sarven
Sarven•4mo ago
no shader support as in I should have shaders off while I load the chunks and then I can turn them on later?
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
cant use at all
Yeshi
Yeshi•4mo ago
everyone on macOS or non nvidia graphics couldn't play anymore if this was in vanilla
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
bedrock: bedrock got like 90 render or smth lol
Yeshi
Yeshi•4mo ago
they don't work at all because it's a completely new renderer
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
so if bliss worked with nvidium it should mean bliss guy gotta make the shaders on the nvidium renderer
Sarven
Sarven•4mo ago
I can still turn them on and iris seems to work fine? Unless I am missing what you mean
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
ok so we wont get nvidium shader support in a long time
Yeshi
Yeshi•4mo ago
and someone would have to make a shader loading mod specifically for nvidium
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
so like iris
Yeshi
Yeshi•4mo ago
for example yeah
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
so you have to make iris and a working shader on nvidium ok hopefully in 100 years minecraft if it was on another engine that isnt java
Yeshi
Yeshi•4mo ago
being written in java is fine modern java is really fast it's just that the game is 15 years old (was gonna add more but that's a good enough explanation ngl)
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
then how is it so unoptimized
Yeshi
Yeshi•4mo ago
going back and fixing 15 years worth of old slow code is impossible. too much work would need to be done
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
so if minecraft was made in like 2022 itd be faster by tons
Yeshi
Yeshi•4mo ago
if it was made by a big studio with speed in mind probably
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
nice
Miki_P98
Miki_P98•4mo ago
If it was made now by Mojang (Microsoft), Sodium, Optifine, Lithium and similar would be part of the game. They would not be required
Yeshi
Yeshi•4mo ago
https://youtu.be/24uI5Tunh0w?t=44 this is a good tech demo that runs reasonably well
Hommedumatch
YouTube
Teardown - Performance test
R7 3700x/ASUS 2070 SUPER/32GBRAM 1)1080P - Vsync off : Average 84 fps 2)1440P - Vsync off : Average 51 fps 3) 1440P - Vsync on "Every frame" vs "Every other frame" : Average 30 fps
Yeshi
Yeshi•4mo ago
this is all voxels sorta similar to minecraft
The Glory (Maj!)
The Glory (Maj!)OP•4mo ago
interesting
Miki_P98
Miki_P98•4mo ago
Teardown is in JAVA?
Yeshi
Yeshi•4mo ago
no but it's a decent enough example on how fast a voxel game can be if efficiency is a big focus
Miki_P98
Miki_P98•4mo ago
+ it has built in "ray tracing" shader
Yeshi
Yeshi•4mo ago
the renderer relies quite heavily on ray casting (or "tracing") ray tracing comes in many many forms
Miki_P98
Miki_P98•4mo ago
Yeah I remember it being used as an optimization in Treardown
Yeshi
Yeshi•4mo ago
instead of rendering every voxel individually, rays are shot from the camera until they hit something. it's quite heavy but can be pretty fast depending on what you're rendering
Miki_P98
Miki_P98•4mo ago
I think it was about something that rasterization does not play nice with big voxel amount
Yeshi
Yeshi•4mo ago
yeah that because voxels can be like 2 pixels total in size so it's faster to do ray tracing here, abuse TAA, then denoise
Miki_P98
Miki_P98•4mo ago
I'm curious how would it compare to NANITE
Yeshi
Yeshi•4mo ago
nanite on something voxel-y doesn't work very well
Miki_P98
Miki_P98•4mo ago
NANITE is a software triangle pre processor if I remember correctly, made to get rid of the GPU triangle preprocessor bottleneck If modified for voxels it could create dynamic bigger voxels if the area of the current voxels is less the 2 x 2 pixels
Yeshi
Yeshi•4mo ago
that's dh
Want results from more Discord servers?
Add your server