Integrate with Worlds
Integrate PhoenixLobby with worlds directly, without the need for a proxy server.
Last updated
Was this helpful?
Integrate PhoenixLobby with worlds directly, without the need for a proxy server.
Last updated
Was this helpful?
The lobby should be in its own separate world, not in a world where players will be playing normally.
For the best experience with world integration, we recommend using , as it is the top choice for world management and ideal for this setup method.
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 the worlds:
Then make sure you have should-use
as ENABLED_WORLDS
and you put the name of your lobby.
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 the servers.yml
file. Next, find your servers
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.
Once you have done the steps above, make sure to reload the plugin with /plobby reload
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:
If you are using MultiverseCore and a player dies in the Nether or the End, they will respawn in the same world where they died. To fix this, run the following command while being on each world:
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.
Join Message Limitations: The join message system cannot be limited exclusively to the lobby-reserved worlds. Additionally, there is a slight possibility of plugin conflicts if another plugin operates in a different game mode, although such occurrences are rare.
Manual Configuration of Commands: To avoid conflicts, users will need to manually configure the /lobby, /hub, and /spawn commands, especially if they have the Essentials plugin installed.
Aliases for /lobby and /hub: If you intend to use the /lobby and /hub commands, you must create aliases that redirect to the "/plobby spawn" command. This command is exclusive to Proxy servers and facilitates automatic redirection.
If you are using MultiverseCore make sure to also install the , which will allow you to have different inventories based on the world you are currently in.