Placeholders
Show PhantomBans data anywhere PlaceholderAPI works: scoreboards, tab lists, chat, and more.
Requirements
You need PlaceholderAPI installed. Then make
sure the expansion is on in config.yml:
placeholders:
enabled: trueThe plugin registers its expansion under the identifier phantombans.
Available placeholders
Replace <player> with the player name you want to read.
| Placeholder | Returns |
|---|---|
%phantombans_bans_<player>% | The player’s ban count |
%phantombans_is_banned_<player>% | Whether the player is banned |
%phantombans_mutes_<player>% | The player’s mute count |
%phantombans_is_muted_<player>% | Whether the player is muted |
%phantombans_warns_<player>% | The player’s warning count |
Example
In a plugin that supports placeholders, you might show a player’s status like this:
Bans: %phantombans_bans_Steve% | Muted: %phantombans_is_muted_Steve%Placeholders are read-only. They show data but do not change anything. Use commands or the menus to take action.
Last updated on