zLifeSteal logozLifeSteal

Elimination

What happens when a player reaches zero hearts, and how to choose the punishment.

When a player hits zero hearts they are eliminated. You pick what that means on your server: a temporary ban, spectator exile, or nothing.

Pick the punishment

Set core.zero-heart-action in the config to one of these:

ValueWhat happens at zero hearts
banThe player is banned for a set time. They can be revived.
spectatorThe player is put into spectator exile for a set time.
noneNothing extra happens.

Ban mode

The player is banned for the time set in ban-mode.ban-duration. The duration accepts short codes:

CodeMeaning
1s1 second
10m10 minutes
1h1 hour
7d7 days
4w4 weeks
6M6 months
1y1 year

The ban and unban use commands you control, so you can point them at your own ban system if you want. The default uses the vanilla ban command. A broadcast tells the server who was eliminated and that they can be revived.

Banned players are not gone for good. Anyone with a revive beacon can bring them back. See Revive.

Spectator mode

Instead of a ban, the player is dropped into spectator exile. While exiled they:

  • Cannot chat.
  • Cannot run commands.
  • Wait out a respawn timer (15 seconds by default).

When the timer ends they return to play. You can set a firework to go off on respawn with spectator-mode.respawn-firework.

Return celebration

When a player comes back from a ban exile you can celebrate it with fireworks and a sound. This is controlled by the return-celebration block in the config.

Manual elimination and revive

Admins can force these states by hand:

  • /ls ban <player> runs the zero-heart action on a player right away.
  • /ls revive <player> brings a banned player back.

See Commands for the full list.

On this page