# Placeholders

RageMode provides [PlaceholderAPI](https://www.spigotmc.org/resources/6245/) placeholders for use in other plugins. Make sure that your server have this plugin installed first if you want to use below placeholders.

## Player placeholders

| Name                                    | Description                                                         |
| --------------------------------------- | ------------------------------------------------------------------- |
| `%ragemode_classic_player_kills%`       | Total number of player kills in classic game mode                   |
| `%ragemode_classic_player_revives%`     | Total number of player revives in classic game mode                 |
| `%ragemode_zombie_kills%`               | Total number of killed zombies                                      |
| `%ragemode_zombie_revives%`             | Total number of player revives in zombie game mode                  |
| `%ragemode_classic_player_games_count%` | Total count of played classic games                                 |
| `%ragemode_zombie_games_count%`         | Total count of played zombie games                                  |
| `%ragemode_deaths%`                     | Total number of player deaths                                       |
| `%ragemode_suicide%`                    | Total number of suicides                                            |
| `%ragemode_current_damage_streak%`      | Shows current damage streak (shows only when the player is in game) |
| `%ragemode_longest_damage_streak%`      | Shows the longest damage streak caused by player                    |
| `%ragemode_points%`                     | Total earned points                                                 |
| `%ragemode_wins%`                       | Total victory count                                                 |
| `%ragemode_win_loss_ratio%`             | Total victory and lose ratio                                        |
| `%ragemode_player_lives%`               | Shows how many lives (life) the player have, 0 for infinite         |
| `%ragemode_is_spectator%`               | `true` if this player plays as spectator                            |
| `%ragemode_player_placement_<type>%`    | Shows player placement for the defined statistic type               |

**Available placement types:**

* `classic_player_kills`
* `zombie_kills`
* `classic_player_axe_kills`
* `classic_player_explosion_kills`
* `classic_player_knife_kills`
* `zombie_axe_kills`
* `zombie_explosion_kills`
* `zombie_knife_kills`
* `deaths`
* `suicide`
* `last_damage`
* `classic_player_total_damage`
* `zombie_total_damage`
* `current_kill_streak`
* `longest_kill_streak`
* `classic_player_revives`
* `zombie_revives`
* `victories`
* `classic_player_games_count`
* `zombie_games_count`
* `points`
* `last_seen`

## Player item placeholders

| Name                                        | Description                                                       |
| ------------------------------------------- | ----------------------------------------------------------------- |
| `%ragemode_classic_player_axe_kills%`       | Shows total axe kills caused by player in classic game mode       |
| `%ragemode_classic_player_explosion_kills%` | Shows total explosion kills caused by player in classic game mode |
| `%ragemode_classic_player_knife_kills%`     | Shows total knife kills caused by player in classic game mode     |
| `%ragemode_zombie_axe_kills%`               | Shows total axe kills caused by player in zombie game mode        |
| `%ragemode_zombie_explosion_kills%`         | Shows total explosion kills caused by player in zombie game mode  |
| `%ragemode_zombie_knife_kills%`             | Shows total knife kills caused by player in zombie game mode      |

## Game placeholders

| Name                                  | Description                                          |
| ------------------------------------- | ---------------------------------------------------- |
| `%ragemode_state_<game>%`             | Displays status of a game                            |
| `%ragemode_players_<game>%`           | Shows the total count of players in a game           |
| `%ragemode_spectator_players_<game>%` | Shows the total count of spectator players in a game |
| `%ragemode_alive_players_<game>%`     | Shows the total alive players in a game              |
| `%ragemode_min_players_<game>%`       | Shows the minimum players count in a game            |
| `%ragemode_max_players_<game>%`       | Shows the maximum players count in a game            |
| `%ragemode_zombies_alive_<game>%`     | Shows the total zombies alive in a game              |
| `%ragemode_entities_alive_<game>%`    | Shows the total entities alive in a game             |
| `%ragemode_type_<game>%`              | Shows the type of the game                           |

## Built-in placeholders for use inside RageMode

| Name                               | Description                                                         |
| ---------------------------------- | ------------------------------------------------------------------- |
| `%classic-player-kills%`           | Total number of player kills in classic game mode                   |
| `%classic-player-axe-kills%`       | Shows total axe kills caused by player in classic game mode         |
| `%classic-player-explosion-kills%` | Shows total explosion kills caused by player in classic game mode   |
| `%classic-player-knife-kills%`     | Shows total knife kills caused by player in classic game mode       |
| `%zombie-kills%`                   | Total number of killed zombies                                      |
| `%deaths%`                         | Total number of player deaths                                       |
| `%suicide%`                        | Total number of suicides                                            |
| `%last-damage%`                    | Shows the last damage                                               |
| `%classic-player-total-damage%`    | Total number of total damage caused by player in classic games      |
| `%zombie-total-damage%`            | Total number of zombie total damage caused by player                |
| `%current-kill-streak%`            | Shows current damage streak (shows only when the player is in game) |
| `%longest-kill-streak%`            | Shows the longest damage streak caused by player                    |
| `%classic-player-revives%`         | Total number of player revives in classic game mode                 |
| `%zombie-revives%`                 | Total number of player revives in zombie game mode                  |
| `%victories%`                      | Total victory count                                                 |
| `%classic-player-games-count%`     | Total count of played classic games                                 |
| `%zombie-games-count%`             | Total count of played zombie games                                  |
| `%points%`                         | Total earned points                                                 |


---

# 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://mdswork.gitbook.io/ragemode-docs/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.
