PlaceholderAPI Integration
If you install PlaceholderAPI, you can take advantage of our rich placeholder system and use our placeholders ANYWHERE on the server. Even in other plugins like ChatControl Pro or your favourite scoreboard plugin.
Important Note
Your plugin may require %corearena_X%
syntax instead of our {corearena_X}
syntax outlined below.
Available Placeholders
One Argument Variables
Placeholder | Description |
---|---|
{corearena_nuggets} | The amount of Nuggets a player has |
{corearena_is_playing} | Returns "yes" or "no" depending if the player is currently playing |
{corearena_is_in_lobby} | Returns "yes" or "no" depending if the player is in an arena lobby waiting for the game to start |
{corearena_class} | A player's class or "none" if he has not yet selected a class in the arena he plays in |
Two Arguments Variables
For the variables below, please supply ARENA
with the actual arena name.
Note
Replace ARENA
with "player" to replace variables for the playing player (player must be playing an arena), or with "location" for the arena at the player's location (regardless if player is playing it).
Placeholder | Description |
---|---|
{corearena_ARENA_mobcount} | Amount of monsters in an arena |
{corearena_ARENA_maxphase} | Maximum phase or "infinite" of an arena |
{corearena_ARENA_phase} | Current arena phase (wave number) |
{corearena_ARENA_state} | Current arena state (string, translate in your localization file) |
{corearena_ARENA_remaining} | Remaining time in "1m1s" format (automatically built-up, if less than 1m is left we only show 59s instead of 0m59s etc.) |
{corearena_ARENA_remaininglobby} | Remaining lobby time in "1m1s" format (automatically built-up, if less than 1m is left we only show 59s instead of 0m59s etc.) |
{corearena_ARENA_alive} | The amount of players in the arena |
{corearena_ARENA_lives} | The amount of lives each player has in the arena (if configured) |
Example: {corearena_player_phase}
Three Arguments Variables
Supply PLAYER
with the player name. If unsure, supply it with "current" and we will replace it with the active player for whom the variable is being replaced.
Supply ARENA
variable as per above instructions in "two argument variables" section.
Placeholder | Description |
---|---|
{corearena_ARENA_PLAYER_name} | Player name |
{corearena_ARENA_PLAYER_health} | Health of the player |
{corearena_ARENA_PLAYER_location} | Location of the player |
{corearena_ARENA_PLAYER_exp} | Experience of the player required for the next level |
{corearena_ARENA_PLAYER_level} | Level of the player |
{corearena_ARENA_PLAYER_livesleft} | Lives left of the player |
{corearena_ARENA_PLAYER_nearestmob} | The nearest aggressive mob location x y z |
{corearena_ARENA_PLAYER_nearestmobmeters} | The nearest aggressive mob location in meters |
Example: {corearena_player_current_health}
Found Arguments Variables
Supply X
with the player index in your arena. If there are two players playing, you can use "1" or "2" to get those players. If you specify an invalid number, we return "dead".
Supply ARENA
variable as per above instructions in "two argument variables" section.
Placeholder | Description |
---|---|
{corearena_ARENA_player_X_name} | Player name |
{corearena_ARENA_player_X_health} | Health of the player |
{corearena_ARENA_player_X_location} | Location of the player |
{corearena_ARENA_player_X_exp} | Experience of the player required for the next level |
{corearena_ARENA_player_X_level} | Level of the player |
{corearena_ARENA_player_X_livesleft} | Lives left of the player |
{corearena_ARENA_player_X_nearestmob} | The nearest aggressive mob location in x y z |
{corearena_ARENA_player_X_nearestmobmeters} | The nearest aggressive mob location in meters |
Example: {corearena_player_player_1_health}