Placeholders
The PlaceholderAPI placeholders zLifeSteal exposes.
zLifeSteal exposes placeholders through PlaceholderAPI. Use them in scoreboards, tab lists, holograms, and any plugin that reads PlaceholderAPI.
These need PlaceholderAPI installed. Without it the placeholders will not resolve.
Available placeholders
| Placeholder | Returns |
|---|---|
%lifesteal_hearts% | The player's current hearts |
%lifesteal_max_hearts% | The max hearts allowed by the config |
%lifesteal_revives% | How many times the player has been revived |
Display format
%lifesteal_hearts% and %lifesteal_max_hearts% follow the
display.hearts-out-of-20 setting:
- When it is
false, you get a decimal like10.0. - When it is
true, you get the out-of-20 number like20.
See Configuration for that setting.
Example
A scoreboard line that shows a player's hearts:
Hearts: %lifesteal_hearts% / %lifesteal_max_hearts%