The lobby includes special items to help users navigate the plugin’s features more easily. By default, the lobby items are:
Book – Select Lobby
Compass – Select Server
Netherrite Sword - Lobby PvP
Dye - Toggle Player Visibility
Lobby Items
To modify the lobby items, add new ones or remove existing ones, you can edit the lobby_items file located in the PhoenixLobby folder.
Default Lobby Items file
items:
game-menu:
slot: '1'
material: COMPASS
amount: 1
custom-model-data: 0
glow: false
hide-attributes: false
display-name: '&aGame Menu &7(Right Click)'
lore:
- '&7Click here to open the quick compass.'
actions:
- '[MENU] servers'
required-permission: ''
lobby-selector:
slot: '2'
material: BOOK
amount: 1
custom-model-data: 0
glow: false
hide-attributes: false
display-name: '&aLobby Selector &7(Right Click)'
lore:
- '&7Click here to open the lobby selector.'
actions:
- '[MENU] lobbies'
required-permission: ''
custom-items:
player-visibility:
enabled: true
slot: '9'
cooldown: 3
states:
'on':
material: LIME_DYE
custom-model-data: 0
display-name: '&fPlayers: &aVisible &7(Right Click)'
lore:
- '&7Right click to toggle player visibility.'
'off':
material: GRAY_DYE
custom-model-data: 0
display-name: '&fPlayers: &cHidden &7(Right Click)'
lore:
- '&7Right click to toggle player visibility.'
pvp-sword:
enabled: true
slot: '5'
material: NETHERITE_SWORD
custom-model-data: 0
glow: false
hide-attributes: false
display-name: '&cPvP Sword &7(Hold to fight)'
lore:
- '&7Hold the sword to enter fight mode.'
armor-slots:
helmet:
material: NETHERITE_HELMET
chestplate:
material: NETHERITE_CHESTPLATE
leggings:
material: NETHERITE_LEGGINGS
boots:
material: NETHERITE_BOOTS
Player Heads
To display the player's head in the hotbar, use the following method.
material: PLAYER_HEAD
To display a custom head as an item, use the basehead option.
material: PLAYER_HEAD:BASEHEAD_VALUE
Disable Items
If you don't want your users to get the lobby items when they join the server, make sure to set the following option in the plugin's configuration to false.