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

# PlaceholderAPI

Here you will learn every information about PlaceholderAPI

#### PlaceholderAPI is optional

{% hint style="info" %}
Every variable of PlaceholderAPI need be surrounded by %

Exemple: %elytraracing\_self\_playedracemod&#x65;*%*
{% endhint %}

{% hint style="warning" %}
Not every plugins are compatible with PlaceholderAPI
{% endhint %}

{% hint style="info" %}
ElytraRacing don't support placeholders in its messages.

ElytraRacing support placeholders in its scoreboards.
{% endhint %}

{% hint style="success" %}
**\<player>** argument must be replaced by:

* The actual name of the player
* "self": target the player which the message is sent to

**\<map>** argument must be replaced by:

* The actual name of the map

**\<rank>** argument must be replaced by:

* The desired rank
  {% endhint %}

<table data-header-hidden><thead><tr><th width="433">Variable</th><th>Description</th></tr></thead><tbody><tr><td>Variable</td><td>Description</td></tr><tr><td><strong>elytraracing_&#x3C;player>_playedracemode</strong></td><td>Get how many times the player played race mode</td></tr><tr><td><strong>elytraracing_&#x3C;player>_playedgrandprix</strong></td><td>Get how many times the player played grandprix</td></tr><tr><td><strong>elytraracing_&#x3C;player>_wonracemode</strong></td><td>Get how many times the player have won a race mode</td></tr><tr><td><strong>elytraracing_&#x3C;player>_wongrandprix</strong></td><td>Get how many times the player have won a grandprix</td></tr><tr><td><strong>elytraracing_&#x3C;player>_mapplayed</strong></td><td>Get the total of map played</td></tr><tr><td><strong>elytraracing_&#x3C;player>_mapfinished</strong></td><td>Get how many times the player have finished maps</td></tr><tr><td><strong>elytraracing_&#x3C;player>_score</strong></td><td>Get the score of the player</td></tr><tr><td><strong>elytraracing_&#x3C;player>_rank_playedracemode</strong></td><td>Get the rank of the player in racemode (time played)</td></tr><tr><td><strong>elytraracing_&#x3C;player>_rank_playedgrandprix</strong></td><td>Get the rank of the player in grandprix (time played)</td></tr><tr><td><strong>elytraracing_&#x3C;player>_rank_score</strong></td><td>Get the rank of the player in score</td></tr><tr><td><strong>elytraracing_&#x3C;player>_&#x3C;map/favorite>_winrate</strong></td><td>Get the winrate of the player on a map</td></tr><tr><td><strong>elytraracing_&#x3C;player>_&#x3C;map/favorite>_ranking</strong></td><td>Get the ranking of the player on a map</td></tr><tr><td><strong>elytraracing_&#x3C;player>_&#x3C;map/favorite>_playertime</strong></td><td>Get the time of the player on a map</td></tr><tr><td><strong>elytraracing_&#x3C;player>_&#x3C;map/favorite>_name</strong></td><td>Get the name of a map</td></tr><tr><td><strong>elytraracing_lastgame_&#x3C;rank>_username</strong></td><td>Get the player's username per rank of the last game played</td></tr><tr><td><strong>elytraracing_top_map_&#x3C;map>_&#x3C;rank>_username</strong></td><td>Get the player's username ranked at position &#x3C;rank> on the map &#x3C;map>.</td></tr><tr><td><strong>elytraracing_top_map_&#x3C;map>_&#x3C;rank>_time</strong></td><td>Get the player's time at position &#x3C;rank> on the map &#x3C;map>.</td></tr><tr><td><strong>elytraracing_top_map_&#x3C;map>_&#x3C;rank>_win</strong></td><td>Get the number of wins of the player ranked at position &#x3C;rank> on the map &#x3C;map>.</td></tr><tr><td><strong>elytraracing_top_map_&#x3C;map>_&#x3C;rank>_winrate</strong></td><td>Get the player's win rate ranked at position &#x3C;rank> on the map &#x3C;map>.</td></tr></tbody></table>
