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

# Balances and stats

Balances, stat values, kills and earnings placeholders.

### Balances

| Placeholder                           | Returns                                 |
| ------------------------------------- | --------------------------------------- |
| `%clickem_balance_coins%`             | Coins                                   |
| `%clickem_balance_coins_formatted%`   | Coins, compact (`1.5K`)                 |
| `%clickem_balance_gems%`              | Gems                                    |
| `%clickem_balance_essence%`           | Artifact Essence                        |
| `%clickem_balance_essence_formatted%` | Essence, compact                        |
| `%clickem_balance_roll_fragments%`    | Echo Roll XP (deposited Roll Fragments) |
| `%clickem_balance_boost_charges%`     | Boost Charges                           |

### Kills and earnings

| Placeholder                                | Returns                         |
| ------------------------------------------ | ------------------------------- |
| `%clickem_kills%`, `%clickem_mobs_killed%` | Lifetime kills (the same value) |
| `%clickem_mobs_killed_session%`            | Kills since this login          |
| `%clickem_currency_earned%`                | Lifetime Coins earned           |

These need the `leaderboards` module enabled.

### Stats

The player's **combined stat stack** from every source (pets, gear, upgrades, boosts, VIP, events and more). See [Stats and limits](/lethium-docs/configuration/stats-and-limits.md).

| Pattern                            | Returns                                         |
| ---------------------------------- | ----------------------------------------------- |
| `%clickem_stat_<stat>%`            | The raw percent (a +150% bonus gives `150`)     |
| `%clickem_stat_<stat>_multiplier%` | `1 + percent / 100` (a +150% bonus gives `2.5`) |
| `%clickem_stat_<stat>_rounded%`    | The percent rounded to a whole number           |

`<stat>` is one of:

| Stat                                                                                                                                           | Name in the game                 |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| `damage`                                                                                                                                       | **Power**                        |
| `currency`                                                                                                                                     | **Coins**                        |
| `essence`                                                                                                                                      | Essence                          |
| `luck`                                                                                                                                         | Luck                             |
| `xp`                                                                                                                                           | XP                               |
| `crit_chance`, `crit_damage`                                                                                                                   | Crit chance and damage           |
| `attack_speed`                                                                                                                                 | Attack speed                     |
| `boss_damage`                                                                                                                                  | Boss damage                      |
| `defense`                                                                                                                                      | Defense                          |
| `max_health`, `health_regen`                                                                                                                   | Max health and regen             |
| `movement_speed`                                                                                                                               | Movement speed                   |
| `lifesteal`                                                                                                                                    | Lifesteal                        |
| `vault`                                                                                                                                        | Vault mirror                     |
| `power_flat`, `attack_speed_flat`, `boss_damage_flat`, `health_flat`, `hp_regen_flat`, `defense_flat`, `movement_speed_flat`, `lifesteal_flat` | The flat (plain number) channels |

Examples: `%clickem_stat_damage%`, `%clickem_stat_crit_chance_multiplier%`, `%clickem_stat_currency_rounded%`.

An unknown stat name returns the placeholder text unchanged, so typos are visible.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://lethium.gitbook.io/lethium-docs/placeholders/stats.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
