# Placeholders

Phoenix NPCs supports **PlaceholderAPI** and registers the placeholders below. `<id>` is an NPC id, such as `%phoenixnpcs_guide_name%`.

## Where Placeholders Work

`%player%` and every PlaceholderAPI placeholder are filled in for the player who sees or clicks the NPC, in:

* The [display name](../main-features/npcs/edit-npc.md#display-name), refreshed every second.
* A [placeholder skin](../main-features/skins.md#placeholder-skin).
* `[MESSAGE]`, `[COMMAND]`, `[ACTION_BAR]` and `[TITLE]` actions.
* Both sides of a `[CONDITION]` action and of an [indicator condition](../features/nameplate-and-indicator.md#conditions).
* The text and choices of a [dialogue](../features/dialogues.md). The NPC's display name is the dialogue's title.

Without PlaceholderAPI, only `%player%` is filled in.

## PhoenixNPCs Placeholders

| Placeholder | Shows |
| ----------- | ----- |
| `%phoenixnpcs_count%` | How many NPCs there are. |
| `%phoenixnpcs_<id>_name%` | The first line of the NPC's name. |
| `%phoenixnpcs_<id>_world%` | The NPC's world. |
| `%phoenixnpcs_<id>_x%`, `_y`, `_z` | The NPC's block position. |
| `%phoenixnpcs_<id>_enabled%` | Whether the NPC is enabled. |
| `%phoenixnpcs_<id>_viewers%` | How many players see the NPC now. 0 while it is disabled. |
| `%phoenixnpcs_<id>_visible%` | Whether the player sees the NPC now. No while it is disabled. |
| `%phoenixnpcs_<id>_uses%` | How often the player used the NPC in this [reset period](../main-features/cooldowns-and-limits.md#reset-uses). |
| `%phoenixnpcs_<id>_uses_left%` | Uses the player has left, or Unlimited. |
| `%phoenixnpcs_<id>_max_uses%` | The uses per player. |
| `%phoenixnpcs_<id>_global_uses%` | How often everyone together used the NPC. |
| `%phoenixnpcs_<id>_cooldown%` | Seconds until the player can click the NPC again. |

Use counts only grow on NPCs with a use limit.

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