> For the complete documentation index, see [llms.txt](https://dejvokep.gitbook.io/chatgames/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dejvokep.gitbook.io/chatgames/placeholders/external-papi-expansion.md).

# External (PAPI expansion)

External placeholders provided by the plugin via an expansion.

## Prerequisites

If PlaceholderAPI is installed, ChatGames will automatically register it's own placeholder expansion. Therefore, you will be able to access data externally, from another plugin (e.g. holograms).

## Placeholders

All invalid requests will be rendered as unknown (`?` by default).

#### Available only if placeholders are replaced against a player (online/offline):

* `%chatgames_wins%`: player's wins

#### Always available:

* `%chatgames_server_wins%`: server total wins
* `%chatgames_server_started%`: games started
* `%chatgames_server_timed_out%`: games timed out
* `%chatgames_server_stopped%`: games stopped
* `%chatgames_leaderboard_<place>_name%`: name of player at the provided place, or unknown if the place is invalid
* `%chatgames_leaderboard_<place>_display_name%`: display name of player at the provided place, or unknown if the place is invalid
* `%chatgames_leaderboard_<place>_uuid%`: UUID of player at the provided place, or unknown if the place is invalid
* `%chatgames_leaderboard_<place>_wins%`: wins of player at the provided place, or unknown if the place is invalid
