Integrate with worlds
Integrate PhoenixLobby with worlds directly, without the need for a proxy server.
We recommend using proxy integration as it offers more benefits for your server.
Installation
For the best experience with world integration, we recommend using Multiverse-Core, as it is the top choice for world management and ideal for this setup method.
Step 1:
The first step is to whitelist your lobby world so the plugin functions as a lobby only on that specific server. To achieve this, follow the steps below:
Open the
config.yml
of the plugin, and find theworlds:
Then make sure you have
should-use
asENABLED_WORLDS
and you put the name of your lobby.
Step 2:
The second step is to modify the commands that will be executed when a user clicks an item in the compass.
Open the
menus
folder, then theservers.yml
file. Next, find yourservers
in the following example, we will use "survival".Modify the current third line that teleports the user to use the Multiverse command, as shown in the example below:
You might need to add the permission multiverse.access.your_server_world
to the users, if they cant access that world.
For non Multiverse Users (Optional)
If you don't use Multiverse-Core, you can replace the /mvtp
command with the teleportation command specific to your server that teleports the user to another world.
If you dont use any world management plugins, you can still use the vanilla teleport command as the following example. Make sure to replace the X Y Z to the location you want the user to get teleported.
Step 3:
Once you have done the steps above, make sure to reload the plugin with /plobby reload
Register Commands:
If you want for the /lobby
command to teleport the users to your lobby world, follow the method below.
Go to your commands.yml
(on your server's main directory) and add this:
Seperate World Inventories:
If you are using MultiverseCore make sure to also install the Multiverse-Inventories, which will allow you to have different inventories based on the world you are currently in.
Last updated
Was this helpful?