Placeholders
The %alphatpa_*% placeholders and the placeholders used in menus.
On this page
PlaceholderAPI %alphatpa_*%
Registered automatically when PlaceholderAPI is installed. Identifier: alphatpa.
| Placeholder | Returns |
|---|---|
%alphatpa_tpa% | Whether the player accepts /tpa requests, as the text for enabled or disabled. |
%alphatpa_tpahere% | The same for /tpahere requests. |
%alphatpa_auto% | Whether auto-accept is on. |
%alphatpa_gui% | Whether the player has the menus on. |
%alphatpa_pending% | How many requests are waiting for the player to answer. |
%alphatpa_sent_today% | How many requests the player has sent today, which counts toward request.daily-limit. |
The enabled and disabled wording comes from the placeholders.enabled and placeholders.disabled keys in lang/messages.yml, so you can change how they read.
Menu placeholders
| Menu | Placeholders |
|---|---|
| Request menus | {player}, {world}, {flying} |
| Accept menus | The same, plus {gamemode}, {health} (hearts) and {food} (drumsticks), both rounded up. |
The list is also at the top of each file in menus/players/.
