Player Settings

Player Settings

View as Markdown ·

circle-info

The menu is configured in menus/player-settings.yml inside the PhoenixLobby folder.

#Player Settings

Players can turn off some of the things the lobby displays to them. The choice is saved, so it is still there the next time they join.

/playersettings opens a menu with the action bar, the bossbar, the scoreboard and the chat announcements. Each of them also has its own command.

Player Settings

Every toggle is a separate entry with its own slot, name, lore and a distinct item for the on and off state, as are the filler row and the close button. The file works like any other menu.

In a toggle's name or its lore, %state% prints whether that setting is currently on or off, which is what the default lore uses to show the player where they stand. Rewriting the lore without it leaves the item reading the same in both states.

YAML
    lore:
    - '&7Toggle whether you receive'
    - '&7action bar announcements.'
    - ''
    - '&fEnabled: %state%'
Command Description
/playersettings Opens the settings menu
/toggleactionbar Turns the action bar on or off
/togglebossbar Turns the bossbar on or off
/togglescoreboard Turns the scoreboard on or off
/toggleannouncements Turns the chat announcements on or off
/visibility Shows or hides the other players

All of these commands can be renamed in the plugin's configuration.

Commands config.yml
YAML
commands:
  visibility:
    alternative: visibility
  playersettings:
    alternative: playersettings
  toggleactionbar:
    alternative: toggleactionbar
  togglebossbar:
    alternative: togglebossbar
  togglescoreboard:
    alternative: togglescoreboard
  toggleannouncements:
    alternative: toggleannouncements
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping