मुख्य कंटेंट तक स्किप करें

BharatCore PlaceholderAPI Reference

BharatCore registers native PlaceholderAPI expansions using the %bharatcore_<placeholder>% syntax. These placeholders can be used inside TAB configs, DeluxeMenus, chat formatters, and scoreboards.


1. 🎨 Cosmetics & Chat Placeholders​

These placeholders retrieve cosmetic choices, equipped tags, and formatted name components.

PlaceholderOutput TypeDescription & Example Output
%bharatcore_equipped_color%StringRaw MiniMessage tag of equipped chat color (e.g. <gradient:#ff0000:#ffff00>).
%bharatcore_equipped_color_id%StringInternal ID of equipped chat color (e.g. crimson_flame or None).
%bharatcore_equipped_namecolor%StringEquipped name color prefix tag.
%bharatcore_equipped_tag%StringFormatted chat tag with brackets (e.g. &8[&b#168&8]).
%bharatcore_tag%StringRaw internal ID of the equipped tag (e.g. veteran).
%bharatcore_colored_name%StringPlayer name combined with active nickname and namecolor.
%bharatcore_player_name%StringAlias for %bharatcore_colored_name%.
%bharatcore_player%StringAlias for %bharatcore_colored_name%.

2. ⚔️ Player Profile & Combat Statistics​

Data tracked from player kill/death records and server playtime.

PlaceholderOutput TypeDescription & Example Output
%bharatcore_kills%IntegerTotal player kills (e.g. 42).
%bharatcore_deaths%IntegerTotal player deaths (e.g. 12).
%bharatcore_kd%DecimalKill/Death ratio rounded to two decimals (e.g. 3.50).
%bharatcore_kdr%DecimalAlias for %bharatcore_kd%.
%bharatcore_playtime%IntegerTotal online time in raw seconds (e.g. 86400).
%bharatcore_playtime_formatted%StringHuman-readable playtime (e.g. 24h 15m).
%bharatcore_combat_tagged%BooleanReturns true if player is currently tagged in combat.
%bharatcore_combat_time_left%IntegerSeconds remaining on active combat cooldown.

3. 💰 Economy & Tokens Placeholders​

Direct hooks into the internal economy and special tokens.

PlaceholderOutput TypeDescription & Example Output
%bharatcore_money%DecimalRaw balance without formatting (e.g. 1500250.50).
%bharatcore_balance%DecimalAlias for %bharatcore_money%.
%bharatcore_money_formatted%StringFormatted economy string with metric abbreviations (e.g. $1.5M).
%bharatcore_balance_formatted%StringAlias for %bharatcore_money_formatted%.
%bharatcore_shards%IntegerFormatted count of seasonal event shards.
%bharatcore_shards_raw%IntegerRaw numerical balance of shards.
%bharatcore_coins%IntegerCosmetic coin currency balance.

4. 🛡️ Teams & Clans Placeholders​

Displays information regarding the player's active team or clan.

PlaceholderOutput TypeDescription & Example Output
%bharatcore_team_name%StringName of the player's clan or team (e.g. ShadowWarriors).
%bharatcore_team_tag%StringShort formatted tag of the team (e.g. &c[SHD]).
%bharatcore_team_level%IntegerCurrent unlocked progression level of the team (e.g. 5).
%bharatcore_team_members_online%IntegerNumber of team members currently online on the network.
%bharatcore_team_bank%StringFormatted balance stored in team clan bank.

5. 🏠 Homes, AFK & Staff States​

Placeholders for tablist and custom scoreboards.

PlaceholderOutput TypeDescription & Example Output
%bharatcore_homes_count%IntegerNumber of homes currently created by the player.
%bharatcore_homes_max%IntegerMaximum homes allowed for player's permission tier.
%bharatcore_is_afk%BooleanReturns true if player is AFK; otherwise false.
%bharatcore_is_vanished%BooleanReturns true if player is in staff vanish mode.
%bharatcore_ping%IntegerReal-time network latency in milliseconds.