> For the complete documentation index, see [llms.txt](https://ajneb97.gitbook.io/minechess/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajneb97.gitbook.io/minechess/placeholderapi-variables.md).

# PlaceholderAPI variables

**MineChess** provides you some PlaceholderAPI variables you can use with other plugins.

| Variable                  | Description                                                                                                                                                                         |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `%minechess_wins%`        | Total wins of the player.                                                                                                                                                           |
| `%minechess_loses%`       | Total loses of the player.                                                                                                                                                          |
| `%minechess_ties%`        | Total ties of the player.                                                                                                                                                           |
| `%minechess_time_played%` | <p>Total time played of the player. <br><br>You can change the name of each time abbreviation on the following messages in the messages.yml file: seconds, minutes, hours, days</p> |

{% hint style="warning" %}
The following variables are **MineChess+** exclusive.
{% endhint %}

| Variable                                    | De                                                                                                                                                        |
| ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `%minechess_arena_<arena_element>_<arena>%` | <p>Gets an <strong>arena data element</strong> from an arena name.<br><br>Example:<br><code>%minechess\_arena\_current\_players\_arena1%</code></p>       |
| `%minechess_playerarena_<arena_element>%`   | <p>Gets an <strong>arena data element</strong> from a player inside an arena.<br><br>Example:<br><code>%minechess\_playerarena\_points\_white%</code></p> |

**Arena Data Elements:**

* `status`: Status of the arena. Uses "status" messages from the messages.yml file.
* `current_players`: Amount of players on the arena.
* `current_spectators`: mount of spectators on the arena.
* `player_white`: Name of the white pieces player.
* `player_black`: Name of the black pieces player.
* `points_white`: Points of the white pieces player.
* `points_black`: Points of the black pieces player.
* `remaining_time_white`: Remaining time of the white pieces player.
* `remaining_time_black`: Remaining time of the black pieces player.
