Commands
The full list of player and admin commands for zLifeSteal.
The main command is /lifesteal, with the alias /ls. Running /ls with no
arguments shows the help menu. Run /ls help for player commands and
/ls help admin for admin commands.
Player commands
These need lifesteal.user (or lifesteal.stats for stats), which are on by
default.
| Command | What it does |
|---|---|
/ls check <player> | Show a player's current hearts, or ban time left |
/ls stats <player> | Show a player's logged deaths |
/ls shop | Open the revive beacon shop |
/ls recipe | View the heart and beacon recipes |
/ls withdraw <amount|all> | Turn hearts into items |
/ls help | Show the player help menu |
Admin commands
These need lifesteal.admin, which defaults to operators.
| Command | What it does |
|---|---|
/ls give <player> heart <amount> | Give heart items |
/ls give <player> goldenheart <amount> | Give golden heart items |
/ls give <player> beacon <amount> | Give revive beacons |
/ls give <player> custom <id> <amount> | Give a custom heart by id |
/ls add <player> heart <amount> | Add hearts to a player's bar |
/ls take <player> heart <amount> | Remove hearts from a player's bar |
/ls set <player> heart <amount> | Set a player's hearts to an exact amount |
/ls ban <player> | Run the zero-heart action on a player now |
/ls revive <player> | Bring a banned player back |
/ls reload | Reload the config files |
give has two heart kinds: heart and goldenheart (also accepts gheart).
Use custom with a heart id from custom-hearts.yml.
Notes on specific commands
add, take, and set
These three change a player's hearts directly without dropping items.
addraises hearts. It respects the max heart cap.takelowers hearts. It will not push a player below zero.setputs hearts at an exact value.
withdraw
withdraw is a player command. It cannot take your last heart, and it needs free
inventory space. See Withdraw.
revive
revive only works on players who are currently banned by the plugin. It does not
use the beacon cooldown. For the player-facing way to revive, see
Revive.
reload
reload re-reads config.yml, custom-hearts.yml, and guiconfig.yml. Use it
after editing any of them.