Supported MC version 1.20.1 - 26.1.2
You and your friends will start out with 8 lives (configurable) and need to team up to survive. At the beginning there is a grace period where no one will lose lives, but that will not be the case when it is no longer there. This is meant to be a fun gamemode or tool for server owners if they would like a lightly configurable experience. You are able to revive others in your team if you have more than one life left. More info on set up if you keep reading.
Minimum setup:
Add players to the teams that come with the datapack.
/team add
Turn Grace Period off: /scoreboard players set GracePeriod TLConfig 0
Setting this to 1 will turn it back on
Revive a dead teammate: /trigger revive
This will choose the nearest online dead player that is in the same team as the player who ran it (any player with or without permissions can run this)
Extra setup: About 8 or more blocks above spawn run: /function teamlives:marker This will prevent dead players from snooping on others by teleporting them close to spawn.
Extra Config:
Turn life loss off for specific players
/scoreboard players set
Team starting lives can be found in TeamLivesV-1.0\1.21-26.1\data\teamlives\function\load.mcfunction Change the last number on line 8 to set how many lives players who join for the first time are set to.

