🌎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:

  1. Open the config.ymlof the plugin, and find the worlds:

  2. Then make sure you have should-use as ENABLED_WORLDS and you put the name of your lobby.

worlds:
  should-use: ENABLED_WORLDS
  enabled:
  - your_lobby_name_here
  disabled: []

Step 2:

The second step is to modify the commands that will be executed when a user clicks an item in the compass.

  1. Open the menus folder, then the servers.yml file. Next, find your servers in the following example, we will use "survival".

  2. Modify the current third line that teleports the user to use the Multiverse command, as shown in the example below:

  survival:
    slot: '14'
    material: GRASS_BLOCK
    amount: 1
...
    actions:
    - '[CLOSE_INVENTORY]'
    - '[MESSAGE] &7Sending you to &aSurvival&7.'
    - '[COMMAND] console; mvtp %player% your_server_world'

You might need to add the permission multiverse.access.your_server_world to the users, if they cant access that world.

Step 3:

Once you have done the steps above, make sure to reload the plugin with /plobby reload

Step 4:

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:

command-block-overrides: []
ignore-vanilla-permissions: false
aliases:
  hub:
  - mvtp $1 lobbyworldname
  lobby:
  - mvtp $1 lobbyworldname

Great Things to Note:

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.

Fix the Spawning

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:

/mvm set respawnWorld lobbyworldname

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.

execute as %player% in minecraft:your_server_world run teleport X_location Y_location Z_location

Limitations with Worlds

  • 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.

Last updated

Was this helpful?