Placeholders
On this page(2)
All placeholders require PlaceholderAPI and use the %snplayerbounty_ prefix.
<cur> is a currency id from currencies: in config.yml (case-insensitive). Amount variants: _raw is a plain number, _compact is abbreviated (1.5K), _formatted uses the currency format. The bare form equals _formatted.
Per player
| Placeholder | Description |
|---|---|
%snplayerbounty_bounty% | Active bounty in the ranking currency, formatted |
%snplayerbounty_bounty_raw% | Same, plain number (0 when none) |
%snplayerbounty_bounty_formatted% | Same, currency format |
%snplayerbounty_bounty_compact% | Same, abbreviated |
%snplayerbounty_bounty_<cur>% | Active bounty in that currency, formatted |
%snplayerbounty_bounty_<cur>_raw% | Same, plain number |
%snplayerbounty_bounty_<cur>_formatted% | Same, currency format |
%snplayerbounty_bounty_<cur>_compact% | Same, abbreviated |
%snplayerbounty_has_bounty% | Wanted or Clean (the status: words of the lang file) |
%snplayerbounty_wanted_rank% | Position in the most-wanted list, 0 when not listed |
%snplayerbounty_streak% | Current kill streak (online players; offline reads 0) |
%snplayerbounty_best_streak% | Best kill streak ever (online players; offline reads 0) |
%snplayerbounty_claims% | Bounties claimed (online players; offline reads 0) |
%snplayerbounty_sponsors_count% | Number of players who funded the bounty on this player |
%snplayerbounty_collected_<cur>% | All-time collected in that currency, formatted (online players) |
%snplayerbounty_collected_<cur>_raw% / _formatted / _compact | Variants of the above |
%snplayerbounty_placed_<cur>% | All-time placed in that currency, formatted (online players) |
%snplayerbounty_placed_<cur>_raw% / _formatted / _compact | Variants of the above |
Bounty values resolve for offline players too (they are read from the in-memory index); stats placeholders only for players whose data is loaded.
Global
These also work without a player (holograms, console, /papi parse --null).
| Placeholder | Description |
|---|---|
%snplayerbounty_total_wanted% | Players with an active bounty |
%snplayerbounty_pool_<cur>% | Sum of every active bounty in that currency, formatted |
%snplayerbounty_pool_<cur>_raw% / _formatted / _compact | Variants of the above |
%snplayerbounty_top_<board>_<n>_name% | Name of the player at position n |
%snplayerbounty_top_<board>_<n>_uuid% | UUID of that player (for skull-owner in menus) |
%snplayerbounty_top_<board>_<n>_value% | Value, plain number |
%snplayerbounty_top_<board>_<n>_value_formatted% | Value, formatted |
%snplayerbounty_top_<board>_<n>_value_compact% | Value, abbreviated |
<board> is one of:
wanted: live ranking by bounty in the ranking currencyhunters: total collected in the ranking currencystreak: current kill streak (a count)sponsors: total placed in the ranking currency
<n> starts at 1. The hunters, streak and sponsors boards refresh every
leaderboards.refresh-seconds and hold only the top leaderboards.size positions.
An empty position answers placeholders.empty-name (default ---) for _name,
placeholders.empty-value (default 0) for every _value*, and an empty text for _uuid.
A placeholder that cannot be resolved (unknown or not loaded currency, unknown board, n of 0)
stays as written. Avoid currency ids named raw, formatted or compact, and ids ending in
_raw, _formatted or _compact: they collide with the variant suffixes.