Paper 1.21.4 and fabric 1.21.4 LOD not generating outside render distance (fixed)
I just installed the distant horizon plugin for paper 1.21.4 and if I join with fabric 1.21.4 and distant horizon it doesn't generate the chunks. F3 also said "This server doesn't support DH"
MODS ON CLIENT:
just DH 1.21.4
THE PLUGINS LIST:
Server Plugins (47):
Paper Plugins:
- EconomyShopGUI, FancyNpcs, Veinminer-Enchantment
Bukkit Plugins:
- ArmoredElytra, BedHome, BedWars, BetterRTP, BetterTeams, ChunkManager, Chunky, CoreProtect, CrossbowEnchantments, DeluxeWithdraw
DHSupport, DiscordSRV, DiscordWhitelister, Essentials, EssentialsSpawn, fast-leaf-decay, Geyser-Spigot, GravesX, LagFixer, LastPlayerCommands
LetUrMemoryRest, LifeStealZ, LightCleaner, LoadByPlayerName, LuckPerms, Maintenance, Multiverse-Core, Multiverse-Inventories, Multiverse-NetherPortals, Multiverse-Portals
PlaceholderAPI, PlotSquared, PterodactylAntiCrash, SBA, SeeMore, SimpleScore, Sit, TAB, Vault, voicechat
voicechat-discord, WorldEdit, WorldEditSelectionVisualizer, WorldGuard
SERVER LOG:
attached
CLIENT LOG:
attached
133 Replies
The server log is in Chinese
The character set used probably got messed up
Can you send it again?
ok
is this ok
yes
[10:27:52] [Server thread/WARN]: [DHS] Unsupported protocol version: 10
make sure you're using the latest nightly build and latest DHS nightly buildfrom #links-n-downloads and https://gitlab.com/distant-horizons-team/distant-horizons-server-plugin/-/pipelines/latest
GitLab
Pipeline ยท Distant-Horizons-Team / Distant Horizons server plugin ยท...
Add support for Distant Horizons to your Bukkit server.
Ok thx
I will test this later
this doesn't work
still not supported
@Jckf the latest DHS does support the latest nightly right? Or does it still need to be updated?
Latest nightly is for protocol 10
ye got it on my server
and the latest nightly build on my client
Hang on, let me test is locally
[17:32:54] [Server thread/INFO]: [DHS] Enabling DHSupport v0.8.0-SNAPSHOT
[17:32:54] [Server thread/INFO]: [DHS] I am DHS 0.8.0-SNAPSHOT for MC 1.21.4.
[17:32:54] [Server thread/WARN]: [DHS] Your config file is for an older version of this plugin.
[17:32:54] [Server thread/INFO]: [DHS] Using Paper scheduler.
[17:32:54] [Server thread/INFO]: [DHS] Ready!
are you somthing with this
I don't include the specific commit in nightly version numbers, so they all just say x.y.z-SNAPSHOT, which isn't very helpful. Maybe I should change that
ye
ok
[17:32:54] [Server thread/WARN]: [DHS] Your config file is for an older version of this plugin.
maybe this is the problem
That should also be okay. It'll use default values for any new config options
ok sure
But if you want to get rid of it, just delete your old config
It will create a new one automatically
ye it doesn't bother me
do you want me to send the new logs grom the server and the client
No need. I'll just test the latest nightlies together on my end to make sure I'm not lying to you
ok thanks for the help
is it working on your side
Hang on. I have to update my DH. I have an older nightly
๐
Yes, it is working

wait you did paper 1.21.4 and fabric 1.21.4
I'm on 1.21.1 but that doesn't matter
can you send the .jar you used for the server
We try to avoid sharing jars on here. I'll double check that the jar on Gitlab is correct. Give me one more moment
ok thx
i used this one
The Gitlab file works for me as well. Try this link https://gitlab.com/distant-horizons-team/distant-horizons-server-plugin/-/jobs/artifacts/develop/download?job=build:%20%5B1.21.4%5D
yes i used that one
maybe cause of conflict with outher plugins
Unlikely
I'm guessing you simply confused some files on your end and accidentally used an older version

the one you send me is one there
The file name has been the same for all nightlies since early January
oh ok
mb
and is this the correct one on the client

also got is form #links-n-downloads
I don't recognize that filename, but probably. Since it says version 10 in the error message
Version 10 was introduced just about 10 days ago
ok maybe i just wait a bit and try again later

And server log?
ill send them
Oh, hm
There's a bunch of errors in here
not related to protocol version
yes other plugins ig
Solution
Looks like something is wrong with your DHS config file, actually
Can you send it here?
ok ill delet them and restart
oh sry i just removed them
ist restarting
@Jckf ist working now
thanks for the help and time
No problem :)
i realy like this mod
Me too ;)
๐
and you this in ur free time
maybe one day when i am good at programming and java i will help this mod
@Jckf oh just a little issue
all my existing lods got removed from the client
The client should be backwards compatible as far as I know ๐ค Maybe @Puhpine (GMT +2) knows about that. I only work with the plugin
ok
the chunks are not loading
Send a screenshot with F3 enabled
ohh the server doesnt like it
its crashing in a weard way
What do you mean?
i mean the ram gets full and then it stops
now trying with less ram
and treads
can you send logs?
How much RAM does it have? You can reduce the number of worker threads in DHS config to lower the resource usage
it has 8
8 gigs should be fine for DHS alone at least, but you have a lot of other things too
but now its started at 6 with 1 threads
yeessss now its loading
maybe you write this somewhere in the FAQ
I might reduce the number of threads it uses by default. My local test server has 16 GBs of RAM, but a lot of people don't have access to that much
ye good idee
maybe take 2
and give advice in the logs
Yeah I can probably detect when the server is low on RAM and give a warning
for example say that if it crashes you need to reduce ram end threads
Completely unrelated to this btw: May I ask what your native language is?
DUtch
Haha nice, I guessed it
ik i cant realy type
No worries, I can understand just fine :)
nice
just a little question: in the setting tab you have an option called "SERVER" but what does that change
Probably related to hosting local multiplayer games from the client
ok ye sounds logical
Ah, I checked them. These settings are used for both the server and client to determine a bunch of different things, like max view distance, bandwidth limits, and request rate limiting
You probably don't need to change anything in here
ok it doesnt affect the server if i change something there on the client
maybe commands for changing settings on the server
and debug commands
would be nice
No, server config can only be changed in the config file
There are no commends for the plugin yet
But I'll be adding at least a generator command, to pregen LODs without having to stay online
its new so
is there an option for sending only already generated chunks
Not for the plugin, no. But you can set a border to stop it from generating anything outside some predefined area
ye ok sure
To edit the config, press the button next to the FOV slider to edit the config.
The config file found in .minecraft/config/DistantHorizons.toml
You can set them per world
would be a nice feature to save on server recources
ok
Yeah I used to have that feature, but removed it because it's quite difficult to know if a chunk exists without manually parsing the world files - and I didn't want to implement and maintain that code
ah ok
ye stability over features
It would be easy to add back in, but it will make your server's CPU suffer ๐

oh sure
cpu suffering
fun fact i run a server on a raspberry pi 5 and it works surpisingly good
for the friends
Haha nice
its a test
do you make other mods/plugins al well
I've made a lot of different plugins over the years. Been a Minecraft developer since 2010
But it's all outdated now
i was born in 2010 so
thats crazy
any big or important ones you helped making
Haha not really. I was a developer for Granite though, which eventually became Sponge Vanilla
whats that? never heard it
Sponge was gonna be the next big thing after Bukkit
oi
and it failed ?
Sponge Vanilla was basically to Sponge the same thing CraftBukkit was to Bukkit
No the project still exists, but I'm not sure how active it is
ok
do you have any advice on a more optimized version than paper
even more optimized i mean
The Paper devs have a multi-threaded server called Folia. A lot of people also use a Paper fork called Purpur
But I don't know a lot about them
ok folia is for bigg smp with lots of threads
Folia is gonna be incompatible with most plugins though. I've added support for it in DHS, but it's not very well tested.
Purpur I basically know nothing about
ok thx
just wondering
Here's what people who run DHS use

It's mostly Paper, as you can see
wait how
you can find that
unknown?
there are so many plugin launchers
This is from Bstats. Server owners can turn off stats reporting if they want to, but it's nice to have for plugin developers
yes probebly cause of support and sutch
maybe we can chat about this in dm's
I'd prefer to not, if that's okay
ok sure
Nothing against you, but I am mod in several servers with tens of thousands of members, and my DMs quickly become a total mess if I accept a bunch of conversations x)
ok sure
i totaly fine with it
Thank you
amazing
its so much fun seeing people liking the server
Some of the lines go over the circle
Haha
Ye
How many downloads does the plug-ins already have
I don't track downloads, only active servers/players. It's active on over 300 servers atm.
ok nice
Most of the stats are public here: https://bstats.org/plugin/bukkit/DH%20Support/21843
DH Support | bStats
Statistics about DH Support!
@Jckf the plugin crashed my server i think. Not a big problem tho
its at the end
The server froze and started shutting down, but DHS had async tasks running that weren't cleaned up. I can fix the task spam, but the crash was probably caused by something else
Not sure if matters a whole lot that you get some extra spam in the log after a crash though
It's already crashed
This should do it. But it won't fix the crash

Wait a couple minutes for the build to finish, then grab the latest nightly for your version of Minecraft again
Ok thank you
Ill update it
do i need to post any of these "bugs" to the #bug-report channel
Which bugs?
idk the config one
I don't have any information to go on, other than that you had messed up the level key prefix somehow. I'd say yes if you still had the broken config so that we could see what it was actually reading, but you deleted it before we had the chance to check =P
ok mb
๐
DELETED ALL THE LOGS BECAUSE OF MY PRIVICY AND THAT OF OTHERS
if you need them dm me or mention
if you upload them to mclo.gs, all personal info will be stripped out
ok ill take a look
mclo.gs
Paper 1.21.4 Server Log [#GmNMrP8]
23755 lines | 2427 errors | 2 problems automatically detected
if you need it its the crash one