Placeholders
With PlaceholderAPI installed, dDeathPenalty registers the dp expansion.
Per-player
Section titled βPer-playerβ| Placeholder | Returns |
|---|---|
%dp_total_death% |
The playerβs death count. |
%dp_money_lost_player% |
The playerβs total money lost. |
Server-wide
Section titled βServer-wideβ| Placeholder | Returns |
|---|---|
%dp_total_money_lost_<world>% |
Total money lost across all players in <world>. |
Leaderboards
Section titled βLeaderboardsβReplace <rank> with a position (1, 2, 3, β¦):
| Placeholder | Returns |
|---|---|
%dp_top_death_<rank>% |
Name of the player ranked <rank> by deaths. |
%dp_top_death_amount_<rank>% |
That playerβs death count. |
%dp_top_money_lost_<rank>% |
Name of the player ranked <rank> by money lost. |
%dp_top_money_lost_amount_<rank>% |
That playerβs total money lost. |
Example β Hall of Shame
Section titled βExample β Hall of Shameβ#1 %dp_top_death_1% β %dp_top_death_amount_1% deaths#2 %dp_top_death_2% β %dp_top_death_amount_2% deathsBiggest loser: %dp_top_money_lost_1% (%dp_top_money_lost_amount_1%)When a rank has no player, name placeholders return - and amounts return 0.