📂PlaceholderAPI
PlaceholderAPI is a plugin for Minecraft servers that allows for the creation and usage of custom placeholders in various plugins, including CaptureTheFlag. These placeholders allow server administrators to display various information about players, games, and more in a convenient and dynamic way.
TNT-Tag has several placeholders available for use with PlaceholderAPI:
%capturetheflag_wins%
This placeholder displays the number of times a player has won a game of CaptureTheFlag. This can be useful for displaying player statistics or creating leaderboards.
%capturetheflag_winstreak%
This placeholder displays the number of games won in a row by a player during CaptureTheFlag. It's a useful metric for tracking a player's winning streak and can be used to display their gaming achievements.
%capturetheflag_top_wins_X%
This placeholder displays the player's position in the top X players with the most wins in TNT-Tag. Replace X with the desired position (e.g., %capturetheflag_top_wins_1% for the top player).
%capturetheflag_top_winstreak_X%
This placeholder displays the player's position in the top X players who have the highest winstreak in CaptureTheFlag. Replace X with the desired position (e.g., %capturetheflag_top_winstreak_1% for the top player).
%capturetheflag_arena_ARENA_NAME_currentPlayers%
This placeholder displays the current number of players in the specified arena. Replace ARENA_NAME with the name of the arena.
%capturetheflag_arena_ARENA_NAME_minPlayers%
This placeholder displays the minimum number of players required for the specified arena to start. Replace ARENA_NAME with the name of the arena.
%capturetheflag_arena_ARENA_NAME_maxPlayers%
This placeholder displays the maximum number of players allowed in the specified arena. Replace ARENA_NAME with the name of the arena.
%capturetheflag_arena_ARENA_NAME_players%
This placeholder displays the current number of players in the specified arena. Replace ARENA_NAME with the name of the arena.
%capturetheflag_arena_ARENA_NAME_spectators%
This placeholder displays the current number of spectators in the specified arena. Replace ARENA_NAME with the name of the arena.
%capturetheflag_arena_ARENA_NAME_state%
This placeholder displays the current state of the specified arena (e.g., waiting, running, etc.). Replace ARENA_NAME with the name of the arena.
To use these placeholders, server administrators must have PlaceholderAPI and CaptureTheFlag installed on their Minecraft server. Once both plugins are installed, the placeholders can be used in various plugins that support PlaceholderAPI, such as chat plugins or scoreboard plugins. To use a placeholder, simply insert the placeholder text (e.g. %capturetheflag_wins%) into the appropriate plugin configuration file or command.
In conclusion, PlaceholderAPI placeholders provide a powerful tool for displaying various player statistics and game information in CaptureTheFlag. By using these placeholders, server administrators can create dynamic displays and leaderboards that enhance the player experience and improve server management.
Last updated