Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
My take on the limited life series, use "/function time:masterboard" to receive a book and to add all players currently online in the server to the life series, it will also pause all their timers, which you can unpause in the book. you can also revive all dead players and set their timer to 1H30M. use "/trigger gift" (non opped people can use this) to gift the closest person 30 minutes. the time is calculated in ticks. 72000 ticks is 1 hour. use "/scoreboard players add {playername} time 72000" to add an hour. use set instead of add (/scoreboard players add {playername} time {number in ticks}).
1 second is 20 ticks.
To add someone late, use the command "/tag {playername} add added" and then use "/execute as {playername} run function time:settime" to set their time to 24H. or do it manually with the scoreboard command above.