DH
Distant Horizonsโ€ข5d ago
Wdp

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
Solution:
Looks like something is wrong with your DHS config file, actually
Jump to solution
133 Replies
Puhpine
Puhpineโ€ข5d ago
The server log is in Chinese The character set used probably got messed up Can you send it again?
Wdp
WdpOPโ€ข5d ago
ok
Wdp
WdpOPโ€ข5d ago
is this ok
Puhpine
Puhpineโ€ข5d ago
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 build
Wdp
WdpOPโ€ข5d ago
Ok thx I will test this later this doesn't work still not supported
Puhpine
Puhpineโ€ข5d ago
@Jckf the latest DHS does support the latest nightly right? Or does it still need to be updated?
Jckf
Jckfโ€ข5d ago
Latest nightly is for protocol 10
Wdp
WdpOPโ€ข5d ago
ye got it on my server and the latest nightly build on my client
Jckf
Jckfโ€ข5d ago
Hang on, let me test is locally
Wdp
WdpOPโ€ข5d ago
[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
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
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
Jckf
Jckfโ€ข5d ago
That should also be okay. It'll use default values for any new config options
Wdp
WdpOPโ€ข5d ago
ok sure
Jckf
Jckfโ€ข5d ago
But if you want to get rid of it, just delete your old config It will create a new one automatically
Wdp
WdpOPโ€ข5d ago
ye it doesn't bother me do you want me to send the new logs grom the server and the client
Jckf
Jckfโ€ข5d ago
No need. I'll just test the latest nightlies together on my end to make sure I'm not lying to you
Wdp
WdpOPโ€ข5d ago
ok thanks for the help is it working on your side
Jckf
Jckfโ€ข5d ago
Hang on. I have to update my DH. I have an older nightly
Wdp
WdpOPโ€ข5d ago
๐Ÿ‘
Jckf
Jckfโ€ข5d ago
Yes, it is working
Jckf
Jckfโ€ข5d ago
No description
Wdp
WdpOPโ€ข5d ago
wait you did paper 1.21.4 and fabric 1.21.4
Jckf
Jckfโ€ข5d ago
I'm on 1.21.1 but that doesn't matter
Wdp
WdpOPโ€ข5d ago
can you send the .jar you used for the server
Jckf
Jckfโ€ข5d ago
We try to avoid sharing jars on here. I'll double check that the jar on Gitlab is correct. Give me one more moment
Wdp
WdpOPโ€ข5d ago
ok thx i used this one
Wdp
WdpOPโ€ข5d ago
yes i used that one maybe cause of conflict with outher plugins
Jckf
Jckfโ€ข5d ago
Unlikely I'm guessing you simply confused some files on your end and accidentally used an older version
Wdp
WdpOPโ€ข5d ago
No description
Wdp
WdpOPโ€ข5d ago
the one you send me is one there
Jckf
Jckfโ€ข5d ago
The file name has been the same for all nightlies since early January
Wdp
WdpOPโ€ข5d ago
oh ok mb
Wdp
WdpOPโ€ข5d ago
and is this the correct one on the client
No description
Wdp
WdpOPโ€ข5d ago
also got is form #links-n-downloads
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
ok maybe i just wait a bit and try again later
Wdp
WdpOPโ€ข5d ago
No description
Jckf
Jckfโ€ข5d ago
And server log?
Wdp
WdpOPโ€ข5d ago
ill send them
Jckf
Jckfโ€ข5d ago
Oh, hm There's a bunch of errors in here not related to protocol version
Wdp
WdpOPโ€ข5d ago
yes other plugins ig
Solution
Jckf
Jckfโ€ข5d ago
Looks like something is wrong with your DHS config file, actually
Jckf
Jckfโ€ข5d ago
Can you send it here?
Wdp
WdpOPโ€ข5d ago
ok ill delet them and restart oh sry i just removed them ist restarting @Jckf ist working now thanks for the help and time
Jckf
Jckfโ€ข5d ago
No problem :)
Wdp
WdpOPโ€ข5d ago
i realy like this mod
Jckf
Jckfโ€ข5d ago
Me too ;)
Wdp
WdpOPโ€ข5d ago
๐Ÿ™‚ 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
Jckf
Jckfโ€ข5d ago
The client should be backwards compatible as far as I know ๐Ÿค” Maybe @Puhpine (GMT +2) knows about that. I only work with the plugin
Wdp
WdpOPโ€ข5d ago
ok the chunks are not loading
Jckf
Jckfโ€ข5d ago
Send a screenshot with F3 enabled
Wdp
WdpOPโ€ข5d ago
ohh the server doesnt like it its crashing in a weard way
Jckf
Jckfโ€ข5d ago
What do you mean?
Wdp
WdpOPโ€ข5d ago
i mean the ram gets full and then it stops now trying with less ram and treads
Puhpine
Puhpineโ€ข5d ago
can you send logs?
Jckf
Jckfโ€ข5d ago
How much RAM does it have? You can reduce the number of worker threads in DHS config to lower the resource usage
Wdp
WdpOPโ€ข5d ago
it has 8
Jckf
Jckfโ€ข5d ago
8 gigs should be fine for DHS alone at least, but you have a lot of other things too
Wdp
WdpOPโ€ข5d ago
but now its started at 6 with 1 threads yeessss now its loading maybe you write this somewhere in the FAQ
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
ye good idee maybe take 2 and give advice in the logs
Jckf
Jckfโ€ข5d ago
Yeah I can probably detect when the server is low on RAM and give a warning
Wdp
WdpOPโ€ข5d ago
for example say that if it crashes you need to reduce ram end threads
Jckf
Jckfโ€ข5d ago
Completely unrelated to this btw: May I ask what your native language is?
Wdp
WdpOPโ€ข5d ago
DUtch
Jckf
Jckfโ€ข5d ago
Haha nice, I guessed it
Wdp
WdpOPโ€ข5d ago
ik i cant realy type
Jckf
Jckfโ€ข5d ago
No worries, I can understand just fine :)
Wdp
WdpOPโ€ข5d ago
nice just a little question: in the setting tab you have an option called "SERVER" but what does that change
Jckf
Jckfโ€ข5d ago
Probably related to hosting local multiplayer games from the client
Wdp
WdpOPโ€ข5d ago
ok ye sounds logical
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
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
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
its new so is there an option for sending only already generated chunks
Jckf
Jckfโ€ข5d ago
Not for the plugin, no. But you can set a border to stop it from generating anything outside some predefined area
Wdp
WdpOPโ€ข5d ago
ye ok sure
YAGPDB.xyz
YAGPDB.xyzโ€ข5d ago
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
Jckf
Jckfโ€ข5d ago
You can set them per world
Wdp
WdpOPโ€ข5d ago
would be a nice feature to save on server recources ok
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
ah ok ye stability over features
Jckf
Jckfโ€ข5d ago
It would be easy to add back in, but it will make your server's CPU suffer ๐Ÿ™ˆ
No description
Wdp
WdpOPโ€ข5d ago
oh sure cpu suffering fun fact i run a server on a raspberry pi 5 and it works surpisingly good for the friends
Jckf
Jckfโ€ข5d ago
Haha nice
Wdp
WdpOPโ€ข5d ago
its a test do you make other mods/plugins al well
Jckf
Jckfโ€ข5d ago
I've made a lot of different plugins over the years. Been a Minecraft developer since 2010 But it's all outdated now
Wdp
WdpOPโ€ข5d ago
i was born in 2010 so thats crazy any big or important ones you helped making
Jckf
Jckfโ€ข5d ago
Haha not really. I was a developer for Granite though, which eventually became Sponge Vanilla
Wdp
WdpOPโ€ข5d ago
whats that? never heard it
Jckf
Jckfโ€ข5d ago
Sponge was gonna be the next big thing after Bukkit
Wdp
WdpOPโ€ข5d ago
oi and it failed ?
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
ok do you have any advice on a more optimized version than paper even more optimized i mean
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
ok folia is for bigg smp with lots of threads
Jckf
Jckfโ€ข5d ago
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
Wdp
WdpOPโ€ข5d ago
ok thx just wondering
Jckf
Jckfโ€ข5d ago
Here's what people who run DHS use
No description
Jckf
Jckfโ€ข5d ago
It's mostly Paper, as you can see
Wdp
WdpOPโ€ข5d ago
wait how you can find that unknown? there are so many plugin launchers
Jckf
Jckfโ€ข5d ago
This is from Bstats. Server owners can turn off stats reporting if they want to, but it's nice to have for plugin developers
Wdp
WdpOPโ€ข5d ago
yes probebly cause of support and sutch maybe we can chat about this in dm's
Jckf
Jckfโ€ข5d ago
I'd prefer to not, if that's okay
Wdp
WdpOPโ€ข5d ago
ok sure
Jckf
Jckfโ€ข5d ago
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)
Wdp
WdpOPโ€ข5d ago
ok sure i totaly fine with it
Jckf
Jckfโ€ข5d ago
Thank you
Wdp
WdpOPโ€ข5d ago
amazing its so much fun seeing people liking the server
Miki_P98
Miki_P98โ€ข5d ago
Some of the lines go over the circle
Jckf
Jckfโ€ข5d ago
Haha
Wdp
WdpOPโ€ข4d ago
Ye How many downloads does the plug-ins already have
Jckf
Jckfโ€ข4d ago
I don't track downloads, only active servers/players. It's active on over 300 servers atm.
Wdp
WdpOPโ€ข4d ago
ok nice
Jckf
Jckfโ€ข4d ago
Most of the stats are public here: https://bstats.org/plugin/bukkit/DH%20Support/21843
DH Support | bStats
Statistics about DH Support!
Wdp
WdpOPโ€ข4d ago
@Jckf the plugin crashed my server i think. Not a big problem tho
Wdp
WdpOPโ€ข4d ago
its at the end
Jckf
Jckfโ€ข4d ago
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
Jckf
Jckfโ€ข4d ago
This should do it. But it won't fix the crash
No description
Jckf
Jckfโ€ข4d ago
Wait a couple minutes for the build to finish, then grab the latest nightly for your version of Minecraft again
Wdp
WdpOPโ€ข3d ago
Ok thank you Ill update it do i need to post any of these "bugs" to the #bug-report channel
Jckf
Jckfโ€ข3d ago
Which bugs?
Wdp
WdpOPโ€ข3d ago
idk the config one
Jckf
Jckfโ€ข3d ago
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
Wdp
WdpOPโ€ข3d ago
ok mb ๐Ÿ™‚ DELETED ALL THE LOGS BECAUSE OF MY PRIVICY AND THAT OF OTHERS if you need them dm me or mention
Puhpine
Puhpineโ€ข3d ago
if you upload them to mclo.gs, all personal info will be stripped out
Wdp
WdpOPโ€ข3d ago
ok ill take a look
Wdp
WdpOPโ€ข3d ago
mclo.gs
Paper 1.21.4 Server Log [#GmNMrP8]
23755 lines | 2427 errors | 2 problems automatically detected
Wdp
WdpOPโ€ข3d ago
if you need it its the crash one

Did you find this page helpful?