# PlaceholderAPI Hook

AliienResize natively supports PlaceholderAPI to display a player's current scale and active size information anywhere on your server (scoreboards, chat formats, tab lists, etc.).

Make sure `hooks.placeholder-api.enabled` is set to `true` in your `settings.yml`.

| Placeholder                      | Description                                        | Example Output |
| -------------------------------- | -------------------------------------------------- | -------------- |
| `%aliienresize_scale%`           | Returns the raw scale value.                       | `0.5`          |
| `%aliienresize_scale_formatted%` | Returns the scale with an 'x' appended.            | `0.5x`         |
| `%aliienresize_id%`              | Returns the internal config ID of the active size. | `tiny`         |
| `%aliienresize_name%`            | Returns the formatted GUI name of the active size. | `Tiny Size`    |


---

# Agent Instructions: 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://aliien.gitbook.io/aliien-docs/aliienresize/placeholderapi-hook.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.
