Not seeing pregenerated chunks on server running DHSupport plugin.
My client is on 1.21.5 and the mod works clientside no problem. My server is on PaperMC 1.21.4, I am connecting with ViaVersion. After a while of using it client-side I installed DHSupport on the server. All of my client-side LODs disappeared which I assume is the result of the server trying to send me LODs.
I ran /dhs pregen start survival 0 0 3000. I waited a while and let it finish. I don't see the LODs at all. As you can see in the image I am well within 3000 blocks of 0, 0 and the only LODs visible are of the two places I have manually been to myself via the nether (hence why there are gaps in between).
I'm using the latest
DistantHorizonsSupport-Bukkit-Paper-0.9.0-1.21.4
build I got off gitlab.
Solution:Jump to solution
The plugin does this permission check in two steps:
First it checks if the permission has been set at all, ignoring its value. If it has not been set, then the player is allowed to use DH.
If it has been set, then it check the actual value of the permission and uses that to determine if the player is allowed to use DH....
32 Replies

https://discord.com/channels/881614130614767666/1378773142117417111
Could this be relevant?
when i fly around w/ elytra i see plenty of messages in console like
[21:35:00 INFO]: [DHS] Generation in progress: 51 processed, 0 in queue, 0.85 per second.
so it must be working? i am just confused of the point of the server plugin then i guess.
when the mod was clientside i would have to travel to places to save the LODs and build a big map. i figured getting the plugin and pre-generating a big area would do that without having to visit?? if i have to visit the areas anyway what's the point of the plugin except to offload client cpu usage onto the server
this can't be right
opened a new issue https://gitlab.com/distant-horizons-team/distant-horizons-server-plugin/-/issues/34
GitLab
Server not sending LODs to client. (#34) · Issues · Distant-Horiz...
Just installed the latest 0.9.0 onto my 1.21.4 PaperMC server. Plugin loads great, I run /dhs pregen survival 0 0 3000. Command completes-- but no LODs. The LODs...
Apart from the places i visited as in ur case i am getting random islands showwing up all over the place
I am using the fabric server insted though
Have same issue
im using paper
do u get anything on ur client's f3 screen under networking

for me it's empty
done: 0
Well, I didn't really see much there
I think it stops after a while of importing
Then I have to move
I basically was monitoring the server network activity instead of f3 😅
@ážµsarahkittyy


Post your server log. ViaVersion is not really a scenario I've tested, but maybe we can make it work
other people are definitely having the same issue as me https://discord.com/channels/881614130614767666/1378773142117417111
switched my client to 1.21.4 and same issue.

i doubt it's viaversion
The thread you linked is about the mod, so if the cause is the same then it's on the client side
It looks to me like you have distant generation disabled in your client
Pretty sure that's the only issue here, but I'm whipping together a status command you can use to check some basics. Give me a few moments.

Pushed it now. Please grab the latest nightly build of the plugin when it completes.

well other people on my server are using distant generation and also having the same problem
installing this new nightly build is spamming my console with this


??????

says disabled for all 3 people in my server
Thanks for the feedback. I'll make a couple more changes and send you a new version.
Did you assign any Distant Horizons specific permissions to your players?
Here are two more changes. The top one will get rid of the log spam, and the bottom one should hopefully tell us why distant generation is disabled

Grab the latest nightly again from the same link once this build completes
If this version says
Player <player> has been denied the use of Distant Horizons through permissions
, then it's because your permission system is reporting that the player has been assigned distant_horizons.worlds.<world name>
with a value of false.Solution
The plugin does this permission check in two steps:
First it checks if the permission has been set at all, ignoring its value. If it has not been set, then the player is allowed to use DH.
If it has been set, then it check the actual value of the permission and uses that to determine if the player is allowed to use DH.
This way the effective default value of this permission is
true
for everyone, but server admins have the option of setting it to false
for certain players.no. should i have?
ohhhh well i set all permissions off by default
if there are permissions u should throw that information in the wiki
unless it's already there and i missed it, which is mb
@jk latest nightly build throws for me. my sqlite file is only 100 MB and i've got plenty of disk space



i put it back to the 0.9.0 stable build. i set distant_horizons.worlds.* to true for all users on the server, and the plugin works great. thank you so much!
The permissions are on the front page of the wiki.
The error from the nightly build says your disk is full, which is interesting 🤔
Only difference between latest release and the nightly when it comes to the DB file is that the nightly has a config option to place the file somewhere else
yeah, weird. the stable build doesn't show the same error
I've made another change just now that should allow the plugin to continue loading even if part of the database init fails, and if it fails you will get a better stack trace that shows where it failed instead of just where the error message was fired. Would appreciate it if you could test that change for me and report back.