Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyIntegrate PhoenixLobby with worlds directly, without the need for a proxy server.
The lobby should be in its own separate world, not in a world where players will be playing normally.
We recommend using proxy integration as it offers more benefits for your server.
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.
The first step is to whitelist your lobby world so the plugin functions as a lobby only on that specific world. To achieve this, follow the steps below:
config.ymlof the plugin, and find the worlds: should-use as ENABLED_WORLDS and you put the name of your lobby.worlds:
should-use: ENABLED_WORLDS
enabled:
- your_lobby_name_here
disabled: []
This step is required, not optional. Out of the box the plugin treats every world as a lobby, so your other worlds get the scoreboard, the tablist, the hotbar items, the world protection and the inventory clearing until you set this.
This is the whole plugin, every module at once. The lobby items have a worlds block of their own that only decides where the items are handed out, which is a separate and narrower setting.
The second step is to modify the commands that will be executed when a user clicks an item in the compass.
menus folder, then the servers.yml file. Next, find your servers in the following example, we will use "survival". 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.
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:
command-block-overrides: []
ignore-vanilla-permissions: false
aliases:
hub:
- mvtp $1 lobbyworldname
lobby:
- mvtp $1 lobbyworldname
The plugin can hold the inventory for you, so Multiverse-Inventories is not needed for this. Turn it on in the join module:
restore-inventory: true
With this on, the inventory a user carries into a lobby world is put away before it is cleared, and handed back when they leave for a world that is not a lobby. It is kept in the database, so it survives a rejoin or a restart.
While this is off, and it is off by default, the inventory is cleared on the way into a lobby world with no copy kept. Your users lose what they were carrying.
You can also scope the lobby items to your lobby world, so they are only handed out there:
worlds:
should-use: ENABLED_WORLDS
enabled:
- your_lobby_name_here
disabled: []
The plugin keeps one inventory, the one held before entering the lobby. If you run several gameplay worlds and want each of them to keep an inventory of its own, use Multiverse-Inventories instead.
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
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
/plobby spawn, which teleports the user to the spawn point set in the join module. It works without a proxy.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy