/hard-life

Limit the number of time a player can respawn

Primary LanguagemcfunctionMIT LicenseMIT

Small datapack that add limited number of life

Add a little bit of difficulty when playing in hard mode by limiting the number of time players can respawn.

By default players have 5 lives. If they use them all they will be put in spectator mode

Also if you kill somone your number of hearth will be cut in half, until you die

Usage

Reset :

/function hard:reset

Add life to a player

/scoreboard player set @p lives <nb of life>