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

# Placeholders

{% hint style="danger" %}
IMPORTANT!!!<br>

**The identifier of the plugin can be changed from the `system.identifier` configuration option. If the identifier is changed, all the following placeholders will be modified to use that identifier. E.g. `%tokens_balance%` will be `%diamonds_balance%` if identifier is changed to `diamonds !`**
{% endhint %}

#### Balance

`%tokens_balance%` - the balance of the player with thousands separator.\
`%tokens_balance_format%` - the balance of the player with kMBT formatting - 1120 = 1.12k\
`%tokens_balance_raw%` - the raw balance - no formatting

#### Enchants

{% hint style="info" %}
The following placeholders will work only if the player for which this placeholder is parsed has an item in hand with those enchantment.\
\
Potential placeholder values:\
\
"Hand Empty" - Player has no item in hand at the moment this placeholder was parsed

"Bad Enchant" - The enchantment given as the \<enchantName> param is not loaded\
\
"Error Parsing" - The value given cannot be parsed properly - Applicable for numbers
{% endhint %}

{% hint style="info" %}
\<enchantName> - can be replaced with any loaded expansion Name

\<levels> - The number of levels to increment by - Useful for menu when you have actions for purchasing more than 1 level
{% endhint %}

`%tokens_<enchantName>_level%` - Shows the current level of the given enchantment applied to the item in hand of the player

`%tokens_<enchantName>_level_format%` - Shows the current level of the given enchantment, with kMBT formatting

`%tokens_<enchantName>_cost%` - Shows the cost for levelling up this enchant to the next level

`%tokens_<enchantName>_cost_format%` - Shows the cost for levelling up this enchant to the next level, with kmBT formatting\
\
`%tokens_<enchantName>_cost_<levels>%` - Shows the cost for levelling up this number of levels on this enchant\
`%tokens_<enchantName>_cost_<levels>_format%` - Shows the cost for levelling up this number of levels on the enchant, with kMBT formatting

`%tokens_<enchantName>_max%` - The maximum level for this particular enchantment

`%tokens_<enchantName>_refundable%` - Whether this enchant is refundable or not \[WIP]
