Jump to content

[1.16.4] Multiple worlds


Forix

Recommended Posts

Hi,

There is a way to create multiple worlds from a dimension? Like when a player connect to server, i have to create a new world from my custom dimension. What is common within these worlds is the dimension which is the same. I actually have my custom dimension with the new json system

Edited by Forix
Link to comment
Share on other sites

2 hours ago, Forix said:

i'm actually creating a skyblock mod. the user have to type in the tchat a command to create his island. Each player have is own island, and the thing what i want to do is that each island is in his own dimension

Ah ok. Well, that would be quite complicated. You would need to create a new key for every dimension you create and store them somewhere for easy access. You would also need to construct the ServerWorld, add a world border listener, update the world cache, and send a packet to the player with the required information. This also requires ejecting players from broken worlds or proper teleportation when needed. There are about a hundred other checks that are also necessary. Although, a question I might ask is that why make this a mod? This seems like more a server plugin.

Link to comment
Share on other sites

8 minutes ago, Forix said:

You know in 1.15 it was so much easier with the DimensionManager class

Well, yes. Now there's a bunch of new caveats. If you really want to attempt this, a similar mod named Hyperbox by Commoble accomplished this. That's probably the best I can do as the process of actually handling is quite complicated and problematic at times.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.