# PlaceholderAPI Placeholders

## Player and Server placeholders

| Placeholder                          | Output                                                                                                 |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| `%player_name%`                      | Represents the username of the player.                                                                 |
| `%advancedchat_player_name_colored%` | Represents the username of the player with the currently applied name color.                           |
| `%player_head_N_I%`                  | Print player head. N being the amount of blocks to make the head out of, I being the index/line number |
| `%player_displayname%`               | Represents the nickname of the player.                                                                 |
| `%sender_server%`                    | Placeholder for the server name, with a fallback to "none" if server name is null.                     |
| `%player_server%`                    | Placeholder for the server name, with a fallback to "none" if server name is null.                     |
| `%advancedchat_server%`              | Placeholder for the server name, with a fallback to "none" if server name is null.                     |

## Chat placeholders

| Placeholder                             | Output                                                     |
| --------------------------------------- | ---------------------------------------------------------- |
| `%advancedchat_tag%`                    | Represents the chat tag.                                   |
| `%advancedchat_color%`                  | Represents the chat color.                                 |
| `%advancedchat_name_color%`             | Represents the name color for the player.                  |
| `%advancedchat_channel%`                | Represents the current chat channel section name.          |
| `%advancedchat_channels%`               | Placeholder for the list of allowed chat channels.         |
| `%advancedchat_channel_color%`          | Represents the color associated with the chat channel.     |
| `%advancedchat_channel_range%`          | Represents the range of the chat channel.                  |
| `%advancedchat_channel_priority%`       | Represents the priority of the chat channel.               |
| `%advancedchat_channel_id%`             | Represents the ID/section name of the chat channel.        |
| `%advancedchat_channel_name%`           | Represents the display name of the chat channel.           |
| `%advancedchat_channel_prefix%`         | Represents the prefix of the chat channel.                 |
| `%advancedchat_channel_always_visible%` | Indicates whether the channel is always visible.           |
| `%advancedchat_channel_same_world%`     | Indicates whether the channel is restricted to same world. |
| `%advancedchat_channel_cross_server%`   | Indicates whether the channel works across servers.        |
| `%advancedchat_format%`                 | Represents the format name for the chat.                   |
| `%advancedchat_locale%`                 | Represents the locale for the chat.                        |
| `%advancedchat_use_colors%`             | Indicates whether the player can use colors in chat.       |
| `%advancedchat_use_magic%`              | Indicates whether the player can use magic in chat.        |

## Command placeholders

| Placeholders                      | Output                                                   |
| --------------------------------- | -------------------------------------------------------- |
| `%advancedchat_command_msg%`      | Indicates whether the player can use the "msg" command.  |
| `%advancedchat_command_ignore%`   | Indicates whether the player can ignore other players.   |
| `%advancedchat_command_unignore%` | Indicates whether the player can unignore other players. |
| `%advancedchat_command_reply%`    | Indicates whether the player can reply to messages.      |
| `%advancedchat_command_channels%` | Indicates whether the player can list chat channels.     |

## Channel placeholders

| Placeholders                        | Output                                                             |
| ----------------------------------- | ------------------------------------------------------------------ |
| `%advancedchat_use_mention%`        | Indicates whether the player can use mentions in chat.             |
| `%advancedchat_allow_mentioned%`    | Indicates whether the player can be mentioned in chat.             |
| `%advancedchat_bypass_ignore_all%`  | Indicates whether the player can bypass ignore for all players.    |
| `%advancedchat_ignored_all%`        | Indicates whether all players are ignored by the parser.           |
| `%advancedchat_ignored_list%`       | Represents the list of players ignored by the parser.              |
| `%advancedchat_channel_spy_all%`    | Indicates whether the player is spying on all chat channels.       |
| `%advancedchat_channel_spy_list%`   | Represents the list of chat channels being spied on by the player. |
| `%advancedchat_spy_all%`            | Indicates whether the player is spying on all players.             |
| `%advancedchat_spy_list%`           | Represents the list of players being spied on by the player.       |
| `%advancedchat_hide_chat%`          | Indicates whether the player is hiding chat messages.              |
| `%advancedchat_hide_announcements%` | Indicates whether the player is hiding announcements.              |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chat.advancedplugins.net/main/placeholderapi-placeholders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
