Placeholders
The PlaceholderAPI placeholders AT-MailBox exposes for scoreboards, menus, and chat.
With PlaceholderAPI installed, AT-MailBox exposes placeholders for the mailbox count and capacity. Use them in scoreboards, menus, chat formats, and anywhere else PlaceholderAPI works.
Setup
Install PlaceholderAPI, then AT-MailBox hooks in automatically. No extra step is
needed. If you install PlaceholderAPI after AT-MailBox, run /mailbox admin reload
to hook it.
Placeholders
| Placeholder | Output |
|---|---|
%atmailbox_count% | Number of unclaimed items. |
%atmailbox_slots_used% | Same as count. |
%atmailbox_capacity% | Total capacity: pages times slots per page. |
%atmailbox_slots_free% | Capacity minus the unclaimed count. |
%atmailbox_has_items% | true or false. |
capacity and slots_free depend on the player's capacity tier, so they need the
player to be online. For an offline player they return 0.
Related pages
- Capacity tiers explains how capacity is set.
- Installation covers installing PlaceholderAPI.