> For the complete documentation index, see [llms.txt](https://onic-studio.gitbook.io/solarplugins-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onic-studio.gitbook.io/solarplugins-docs/plugins/solarcore/placeholderapi.md).

# PlaceholderAPI

## PlaceholderAPI

Plugin hỗ trợ PlaceholderAPI. Cài [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) để dùng các placeholder sau trong plugin khác (scoreboard, tab, chat, ...).

| Placeholder                    | Mô tả                                  |
| ------------------------------ | -------------------------------------- |
| `%solarcore_tpa_enabled%`      | Trạng thái TPA của người chơi (ON/OFF) |
| `%solarcore_tpahere_enabled%`  | Trạng thái TPAHere                     |
| `%solarcore_auto_accept%`      | Trạng thái tự động chấp nhận           |
| `%solarcore_pending_requests%` | Số yêu cầu TPA đang chờ                |

Giá trị ON/OFF tùy chỉnh tại `config.yml → placeholders`.
