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

# Placeholders

Needs PlaceholderAPI. `<type>` is a mortar type id, `<upgrade>` is `chance`, `multiplier` or `radius`. Values are for online players (their data is loaded while they play).

| Placeholder                             | Value                                                          |
| --------------------------------------- | -------------------------------------------------------------- |
| `%edmortars_unlocked_<type>%`           | `true` / `false`                                               |
| `%edmortars_ready_<type>%`              | `true` when unlocked and not reloading                         |
| `%edmortars_status_<type>%`             | The status word from messages.yml (Locked / Ready / Reloading) |
| `%edmortars_cooldown_<type>%`           | Time left, e.g. `2s` (or the Ready word)                       |
| `%edmortars_cooldown_seconds_<type>%`   | Seconds left, `0` when ready                                   |
| `%edmortars_level_<upgrade>_<type>%`    | Upgrade level                                                  |
| `%edmortars_maxlevel_<upgrade>_<type>%` | Max level of that upgrade                                      |
| `%edmortars_value_<upgrade>_<type>%`    | Current value (fire chance %, multiplier, radius)              |

Example: `%edmortars_value_chance_default%` → `0.12`.
