> 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/pinnaprison/getting-started/messages.md).

# Messages

Every chat message the plugin sends lives in `messages.yml`, grouped by feature (`main`, `enchants`, `rebirth`, `attributes`, `abilities`, `backpack`, `autominers`, `mine`, `bombs`, `drills`, `crystals`, `boosters`, …).

```yaml
main:
  no-permission: '&cYou don''t have enough permissions!'
  player-not-found: '&cPlayer not found!'
  player-only: '&cConsole only command!'
  invalid-amount: '&cThat''s an invalid amount!'
  reload: '&aSuccessfully reloaded the plugin in &b{ms}ms&a!'

enchants:
  upgraded: '&a&l[!] &7Upgraded &f{enchant-name} &7by &a{levels} &7levels for &c%pinnaprison_notation_{cost}% &4Tokens&7!'
  max-level: '&c{enchant-name} is already at max level!'
  prestige-success: '&d&l[!] &7You prestiged &6{enchant-name}&7 to prestige &e{prestige}&7! …'
```

## Formatting

* **Colour codes** — standard `&` codes (`&a`, `&c`, `&l`, …).
* **Hex colours** — `&#RRGGBB` (e.g. `&#70A600`).
* **Gradients** — apply a hex code per character, e.g. `&#2C32D6&lT&#3746DB&lr&#415AE0&la…`.
* **PlaceholderAPI** — any `%placeholder%` works, including PinnaPrison's own (see [Placeholders](/p/pinnaprison/reference/placeholders.md)).
* **Local placeholders** — each message exposes `{curly}` placeholders specific to its context (shown in the default file), e.g. `{enchant-name}`, `{cost}`, `{levels}`, `{tier}`, `{ms}`.

{% hint style="info" %}
A message set to an empty string (`''`) is **not sent**. Use this to silence any individual message.
{% endhint %}

## Common placeholders by section

| Section      | Placeholders                                                                          |
| ------------ | ------------------------------------------------------------------------------------- |
| `enchants`   | `{enchant-name}` `{levels}` `{cost}` `{prestige}`                                     |
| `rebirth`    | `{rebirth}` `{points}` `{required}` `{progress}` `{cost}` `{upgrade}` `{level}`       |
| `attributes` | `{level}` `{amount}` `{cost}`                                                         |
| `abilities`  | `{ability}` `{duration}` `{cooldown}` `{time}` `{luckyblock}` `{required}` `{blocks}` |
| `backpack`   | `{items}` `{gains}` `{tier}` `{size}` `{cost}` `{currency-name}`                      |
| `autominers` | `{miner}`                                                                             |

Reload changes with `/pinna reload`.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edseries-plugins.gitbook.io/p/pinnaprison/getting-started/messages.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.
