Minecraft
Welcome to the Minecraft community on Lemmy and Kbin!
The home for all posts related to the Minecraft franchise: from the classic game to the mobile ports, mods, adventure games, merchandise and similar!
Official Lemmy.world server available!
Lemmy.world hosts an official server that welcomes all players to contribute and have fun:
Minecraft Version: 1.20.x
Address: minecraft.lemmy.world
Please make sure you read our rules before posting.
Rules:
Rules can be clicked on to be expanded.
1: Treat all users with respect.
Bullying, threathening, doxxing, or toherwise hostile behaviors with any of our users will not be tolerated. Be civil, have fun.
2: Posts must be related to the Minecraft franchise.
This includes the main game, titles like Dungeons, fan art, wiki pages, toys, new feature votes, and similar content.
3: No advertising.
If you want to share a product you're a manufacturer or seller of, please contact the moderation team first. Affiliate links to online shopping stores or affiliate coupon codes are not allowed.
4: No piracy.
Links or discussions about cracked versions of games, unauthorized copies of copyrighted material and other similar piracy-related content are not allowed.
5: No NSFW or adult content.
This community is inclusive to users of all ages. Keep in mind Minecraft attracts children and adults alike. Therefore, no NSFW content is allowed.
6: No low-effort meme content.
Memes are allowed, and so are comics or other fan creations. However, low-effort reposts and otherwise overused memes will be removed.
Reddit reposts are allowed.
Reddit reposts are allowed, but you need to include the tag [Reddit] in the title.
Related communities:
-
PC Gaming: [email protected]
-
Games: [email protected]
-
PC Handhelds: [email protected]
-
Minecraft modding: [email protected]
view the rest of the comments
I don't think it's possible to generate server chunks on client live, this would make it vulnerable to different kinds of attacks and exploits.
Best way to do this would be pre-generating the world or some server side pre-generation mod
How so? The client at no point would send these chunks to the server, it would only be local and would be generated completely clientside. In my mind all that would be needed is the seed and at that point no extra communication between client and aervery is necessary
Pregenerating works but it's not perfect when travelling at high speed on a populated server, can still struggle to send down large amounts of chunks to the client, users with more powerful machines may be able to generate/load them faster than the server can
I think your idea is a good idea. You could keep the view distance low on the server to reduce the number of real chunks being generated. Clients can render whatever they want.
I think one issue would be when you approach a player structure from the outside, the client might see an unmodified world first and then the player structure would pop in and overwrite the client-side terrain. Its not a technical issue, but more a player experience concern.
Any chunk with a player structure would already have been generated by the server so there should be no popping in.
Personally I would rather the world rendered in first then player structures than nothing rendering in at all
Theoretically that shouldn't be as much of an issue as the server will already have loaded those chunks by definition, and it priorities nearby chunks first anyway
I think the server render distance would stay high but prioritise loading the immediate 8 chunks around every player first, then after all players have a decent radius loaded it can focus on further out ones. Any gaps can be filled in by the client if it has spare processing power
If the client generated chunks are not sent to server then this doesn't make sense to me. You can't do anything on these fake chunks and server still lags.
I would look for other solutions to make generating chunks faster
It would be useful for the same reason distant horizons is, if the chunks aren't loaded you at least still see them instead of just seeing a hole in the world