Placeholders
SnPacketBosses registers a PlaceholderAPI expansion under the identifier snpacketbosses when PlaceholderAPI is installed. Every placeholder only reads in-memory war state, so it is safe for scoreboards and tab lists, and none of them touches the database.
| Placeholder | Description |
|---|---|
%snpacketbosses_war_active% | true while a boss war is running, otherwise false. |
%snpacketbosses_war_team% | The player's team id (red or blue), empty when they have no team in this war. |
%snpacketbosses_war_team_name% | The display name of the player's team, empty when they have none. |
%snpacketbosses_war_contribution% | Points the player has earned in the running war. |
%snpacketbosses_war_red_health% | Health of the red boss. |
%snpacketbosses_war_blue_health% | Health of the blue boss. |
%snpacketbosses_war_red_percent% | Health of the red boss as a whole percent. |
%snpacketbosses_war_blue_percent% | Health of the blue boss as a whole percent. |
%snpacketbosses_war_time_left% | Time left in the war as m:ss. |
%snpacketbosses_war_next% | Time of the next scheduled war, formatted with messages.war.next-format in the lang file. |
Outside a war the health, percent and time placeholders read 0, 0 and 0:00. An unknown placeholder is left raw by PlaceholderAPI.