PlaceholderAPI

1min read
Sheet 22 of 31 · Server Admin

With PlaceholderAPI installed, IgniteZombies registers the ignitezombies expansion on startup. Nothing to download with /papi ecloud. Every placeholder starts with %ignitezombies_.

The viewer's match

These read the player the placeholder is shown to. Outside an arena they return empty, 0 or false.

PlaceholderReturns
%ignitezombies_in_game%true or false.
%ignitezombies_arena%Name of the viewer's arena.
%ignitezombies_status%LOBBY, PLAYING, DOWNED, SPECTATING, or NONE outside an arena.
%ignitezombies_wave%Current wave.
%ignitezombies_money%The viewer's money.
%ignitezombies_kills%The viewer's kills this match.
%ignitezombies_zombies_alive%Enemies left in the wave. %ignitezombies_enemies% is the same.
%ignitezombies_players%Players in the arena.
%ignitezombies_max_players%The arena's max players.
%ignitezombies_power%true once the power is on.

Any arena by name

These work without a viewer, so they fit hub scoreboards, signs and hologram plugins. Replace <name> with the arena name.

PlaceholderReturns
%ignitezombies_arena_count%Number of arenas.
%ignitezombies_arena_<name>_status%WAITING, COUNTDOWN, RUNNING or ENDING.
%ignitezombies_arena_<name>_wave%Current wave.
%ignitezombies_arena_<name>_players%Players inside.
%ignitezombies_arena_<name>_max%Max players.
%ignitezombies_arena_<name>_enemies%Enemies left. _alive is the same.
%ignitezombies_arena_<name>_power%true once the power is on.

Arena names with underscores work: the last _ separates the name from the field.

Stats and leaderboards

Added in 1.4.0. <stat> is one of best_round, total_kills, games_played, total_revives or playtime.

PlaceholderReturns
%ignitezombies_stats_<stat>%The viewer's value. 0 if the profile is not loaded.
%ignitezombies_top_<stat>_<pos>_name%Name at that leaderboard position.
%ignitezombies_top_<stat>_<pos>_value%Value at that position.

Config keyleaderboards.sizePositions start at 1 and go up to leaderboards.size (10). Past the end of the list they return empty. Playtime is in seconds. The top_ placeholders need no viewer.

%ignitezombies_top_best_round_1_name% - wave %ignitezombies_top_best_round_1_value%

Loading the index

Enter openUp Down moveEsc close