BattleTracker/PlaceholderAPI

From Battle Plugins
Jump to: navigation, search
Bdwikiheader.png

PAGE MOVED - clovisd

PowerBT.png

Within BattleTracker, there is support to display tracker info through a plugin called PlaceholderAPI. If you are unfamiliar with the plugin, it allows for you to show information with certain placeholders (e.g. %player_name% will return the player name) in plugins that have support for PlaceholderAPI. An example usage of this is displaying your PvP wins through BattleTracker on a scoreboard VIA a scoreboard plugin.


If you also have BattleArena installed, you can display tracker information from it too. An example usage of this is displaying the top players in Arena. The support for these placeholders even extends to custom arena games you have created or even plugins that hook into BattleTracker directly for stats.

Placeholders

These are the placeholders for BattleTracker. They are split into two sections: player placeholders and rating placeholders. Player placeholders get information on the player that "sees" the placeholder. The rating placeholders get information about players for the rating you specify.

Player Placeholders

These placeholders show statistics for a the player viewing the information. This information will look different to each player seeing it ingame.

<mode> below can be replaced with any arena type or statistic BattleTracker is currently tracking (e.g. pvp, pve, skirmish, etc.).


%bt_<mode>_wins% Displays the amount wins.

%bt_<mode>_losses% Displays the amount of losses.

%bt_<mode>_kills% Displays the amount of kills.

%bt_<mode>_deaths% Displays the amount of deaths.

%bt_<mode>_ties% Displays the amount of ties.

%bt_<mode>_streak% Displays the current streak.

%bt_<mode>_maxstreak% Displays the max streak.

%bt_<mode>_ranking% Displays the current ranking.

%bt_<mode>_maxranking% Displays the max ranking reached.

%bt_<mode>_rating% Displays the current rating.

%bt_<mode>_maxrating% Displays the max ranking reached.

%bt_<mode>_kdratio% Displays the kills to deaths. ratio.

%bt_<mode>_wlratio% Displays the wins to losses ratio.


Rating Placeholders

These placeholders show statistic for the top players. Must be specified at end of placeholder.

<mode> below can be replaced with any arena type or statistic BattleTracker is currently tracking (e.g. pvp, pve, skirmish, etc.).

<rating> below can be replaced with the rating you want to get placeholder information from. For example, 1 will get information from the #1 player in the leaderboard.


%bt_<mode>_top_wins_<rating>% Displays the amount wins.

%bt_<mode>_top_losses_<rating>% Displays the amount of losses.

%bt_<mode>_top_kills_<rating>% Displays the amount of kills.

%bt_<mode>_top_deaths_<rating>% Displays the amount of deaths.

%bt_<mode>_top_ties_<rating>% Displays the amount of ties.

%bt_<mode>_top_streak_<rating>% Displays the current streak.

%bt_<mode>_top_maxstreak_<rating>% Displays the max streak.

%bt_<mode>_top_ranking_<rating>% Displays the current ranking.

%bt_<mode>_top_maxranking_<rating>% Displays the max ranking reached.

%bt_<mode>_top_rating_<rating>% Displays the current rating.

%bt_<mode>_top_maxrating_<rating>% Displays the max ranking reached.

%bt_<mode>_top_kdratio_<rating>% Displays the kills to deaths. ratio.

%bt_<mode>_top_wlratio_<rating>% Displays the wins to losses ratio.

Return to Index

BattleTracker

Main Page