> 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/edcrates/features/placeholders.md).

# Placeholders

PlaceholderAPI placeholders (identifier edcrates) and the internal {placeholders}.

Requires PlaceholderAPI. Identifier: `edcrates`.

| Placeholder                                             | Value                                                      |
| ------------------------------------------------------- | ---------------------------------------------------------- |
| `%edcrates_keys_<crate>%`                               | Key balance, grouped (`12,345`)                            |
| `%edcrates_keys_raw_<crate>%`                           | Plain number                                               |
| `%edcrates_keys_compact_<crate>%`                       | `12.3K` style                                              |
| `%edcrates_total%`                                      | Every key the player owns                                  |
| `%edcrates_opened_<crate>%` / `%edcrates_opened_total%` | Crates opened                                              |
| `%edcrates_animations%`                                 | Enabled/disabled text (messages.yml `placeholder-enabled`) |
| `%edcrates_rotating_<crate>%`                           | The reward the crate's holograms show right now            |
| `%edcrates_name_<crate>%`                               | Coloured crate name                                        |
| `%edcrates_rewards_<crate>%`                            | Visible reward count                                       |
| `%edcrates_placed%`                                     | Placed physical crates                                     |

## Internal placeholders

Available in crate items, holograms and menus: `{player}`, `{crate}`, `{crate_id}`, `{crate_plain}`, `{tier}`, `{keys}`, `{keys_raw}`, `{keys_compact}`, `{opened}`, `{rewards}`, `{rewards_per_open}`, `{rotating}`. Previews add `{chance}`, `{chance_rounded}`, `{weight}`, `{rarity}`, `{page}`, `{pages}`. Any PlaceholderAPI `%placeholder%` is resolved too.
