# 🔍 Placeholders

PhoenixLobby supports **PlaceholderAPI**, allowing you to use player data from our plugin in other plugins that also support PlaceholderAPI. Below is a list of the available **PlaceholderAPI placeholders** as well as our **internal placeholders** that you can use in holograms.

## PlaceholderAPI Placeholders

| Placeholders                              | Description                                                |
| ----------------------------------------- | ---------------------------------------------------------- |
| %phoenixlobby\_playervisibility\_state%   | Returns On/Off if the user has visibility                  |
| %phoenixlobby\_playervisibility\_boolean% | Returns true/false if the user has visibility              |
| %phoenixlobby\_players\_online%           | Returns the amount of users online, vanished ones excluded |

## Vanished players

Every count on this page leaves vanished staff out, on this server and across the proxy alike. Any vanish plugin that marks a player the usual way is picked up, which covers Essentials, CMI, SuperVanish and PremiumVanish.

The network-wide numbers are worked out on the proxy and handed to the backends, so every server reads the same figure instead of each one counting for itself.

Vanished staff do not give themselves away in other ways either. Their double jump, launch pad, teleport bow and region trigger effects, join fireworks and broadcast actions only reach players who can see them, NPCs do not turn to face them, and the proxy join and leave messages skip them.

> **Warning:**
A backend without PhoenixLobby on it cannot report who is vanished there, so staff vanished on that server still count towards the network numbers.

## PvP Placeholders

| Placeholders                | Description                                    |
| --------------------------- | ---------------------------------------------- |
| %phoenixlobby\_is\_pvp%     | Returns true/false if the user is in pvp mode  |
| %phoenixlobby\_pvp\_kills%  | Returns the pvp kills of the user              |
| %phoenixlobby\_pvp\_deaths% | Returns the pvp deaths of the user             |

See [PvP](../modules/lobby-pvp.md) for the mode these count.

## Proxy Placeholders

| Placeholders                           | Description                                        |
| -------------------------------------- | -------------------------------------------------- |
| %phoenixlobby\_proxy\_total%           | Returns the total amount of users on the proxy.    |
| %phoenixlobby\_proxy\_\<server\_name>% | Returns the amount of users connected on a server. |

> **Info:**
These two only work if PhoenixLobby is installed on the proxy server.

The proxy also reports the slots, the MOTD, the version and whether each server is up.

* Proxy Placeholders - [Click Here](../set-up/setup-with-proxy/placeholders.md)

## Maintenance Placeholders

The maintenance has its own placeholders for whether a server is closed and how long is left.

* Maintenance Placeholders - [Click Here](../modules/maintenance.md#placeholders)

## Alt Protection Placeholders

Alt Protection has its own placeholders for the accounts sharing an address, and for where that address is located.

* Alt Protection Placeholders - [Click Here](../modules/alts/placeholders.md)

## Parkour Placeholders

The parkour has its own placeholders for runs, statistics and leaderboards.

* Parkour Placeholders - [Click Here](../modules/parkour/README.md#placeholders)

## Internal Placeholders

The following work anywhere the plugin writes text of its own, such as the scoreboard, the tablist, holograms and its messages, on top of every PlaceholderAPI placeholder.

| Placeholders      | Description                                |
| ----------------- | ------------------------------------------ |
| %online%          | Returns the amount of users on this server |
| %max\_online%     | Returns the slot count of this server      |
| %plugin\_version% | Returns the PhoenixLobby version           |

On the hologram of an NPC, `%proxy_online%` returns the amount of users connected on the NPC's linked server.

> **Info:**
The linked server is the one you pick with the compass while editing the NPC.

Source: https://www.phoenixplugins.com/docs/phoenix-lobby/plugin-information/placeholders