*Also available on Papi eCloud
A simple expansion for PlaceholderAPI for retrieving the score of a scoreboard objective for the calling player.
Placeholders:
%objective_displayname_{<objective>}%
%objective_entrypos_{<objective>}_{[#]}%
%objective_scorepos_{<objective>}_{[#]}%
%objective_score_{<objective>}%
%objective_score_{<objective>}_{[entry]}%
%objective_score_{<objective>}_for_entrypos_{<objective>}_{[#]}%
New in v6.0+:
%objective_entries_{<objective>},<all/any/size>%
%objective_entries_{<objective>}_for_score_{<#>},<all/any/size>%
%objective_rank_{<objective>}%
%objective_rank_{<objective>}_{[entry]}%
- Parameter format:
<required> vs [optional]
- Replace <objective> with the name of your desired scoreboard objective
- Replace [entry] with any name to get their score instead of the score of the calling player.
Note: [entry] is
case sensitive! Meaning
Bob and
bob are two different entries.
Placeholder Examples:
(called with player: EvModder)
%objective_score_{deaths}% |
3 |
%objective_score_{deaths}_{Crah}% |
22 |
%objective_score_{deaths}_{unknownPlayer}% |
0 |
%objective_displayname_{kills}% |
Kills |
%objective_scorepos_{deaths}_{1}% |
22 |
%objective_entrypos_{deaths}_{2}% |
LethalBunny |
%objective_entrypos_{kills}_{-1}% |
Anuvin |
%objective_entrypos_{kills}_{-2}% |
Crah |
%objective_score_{deaths}_for_entrypos_{kills}_{2}% |
4 |