- check_circle Functions
- 5,594 views, 0 today
- 742 downloads, 0 today
12
This datapack adds a life count for all players.
✔ This datapack is fully multiplayer compatible.
✔ This datapack is compatible with gamerule doImmediateRespawn true.
Features:
1. Adds a life count.
2. On death spawns glass block particles and some blue particles, also adds pitched down glass breaking sound and pitched down conduit deactivation sound.
3. On respawn makes a title to indicate that you have died and how many lives are left.
4. If you lost your last life, it gives you spectator mode, tells you "game over" and plays ward music disc (fully) upon last death.
5. The spectators are being highlighted as ghosts using blue dust particles (only "0-life" spectators, not all of them).
Usage:
• Default life count is 3, but you can change it in datapack files:
data\lives\functions\load.mcfunction
find line that starts with # LIVES DEFAULT, and the next line is setting the default number.
To change it, change the last number on execute as @a... line from 3 to number you need. It will set the new number to new players, that weren't on server after datapack installation.
• If you want to have life count on sidebar, tablist or under nicknames, then use /scoreboard objectives setdisplay [place where you need it] lifes.lifes.
• There is also optional feature to give those spectators blindness and kind of void particles (but with this they still can move; it's up to you to modify the datapack if you want). To turn it on, navigate to data\lifes\functions\tick.mcfunction, locate # While 0 lives, then here find 2 lines that have # before them, remove it and reload.
• If you need to change someone's life count artificially, you can just use /scoreboard players set [person] lifes.lifes [life amount].
Sorry for this, just too lazy to add a config, at least for now.
Copyright:
You are allowed to do anything. Crediting me is fully optional.
Uninstalling: run /function lives:uninstall first to remove all related stuff.
✔ This datapack is fully multiplayer compatible.
✔ This datapack is compatible with gamerule doImmediateRespawn true.
Features:
1. Adds a life count.
2. On death spawns glass block particles and some blue particles, also adds pitched down glass breaking sound and pitched down conduit deactivation sound.
3. On respawn makes a title to indicate that you have died and how many lives are left.
4. If you lost your last life, it gives you spectator mode, tells you "game over" and plays ward music disc (fully) upon last death.
5. The spectators are being highlighted as ghosts using blue dust particles (only "0-life" spectators, not all of them).
Usage:
• Default life count is 3, but you can change it in datapack files:
data\lives\functions\load.mcfunction
find line that starts with # LIVES DEFAULT, and the next line is setting the default number.
To change it, change the last number on execute as @a... line from 3 to number you need. It will set the new number to new players, that weren't on server after datapack installation.
• If you want to have life count on sidebar, tablist or under nicknames, then use /scoreboard objectives setdisplay [place where you need it] lifes.lifes.
• There is also optional feature to give those spectators blindness and kind of void particles (but with this they still can move; it's up to you to modify the datapack if you want). To turn it on, navigate to data\lifes\functions\tick.mcfunction, locate # While 0 lives, then here find 2 lines that have # before them, remove it and reload.
• If you need to change someone's life count artificially, you can just use /scoreboard players set [person] lifes.lifes [life amount].
Sorry for this, just too lazy to add a config, at least for now.
Copyright:
You are allowed to do anything. Crediting me is fully optional.
Uninstalling: run /function lives:uninstall first to remove all related stuff.
Compatibility | Minecraft 1.18 |
to | Minecraft 1.19 |
Tags |
1 Update Logs
Grammar fix: : by Lostya 07/16/2022 5:21:07 amJul 16th, 2022
English is not my native language. I thought plural for "life" is "lifes". I was wrong. Thanks to Plastisheep
Changed "lifes" to "lives" everywhere, excluding internal scoreboard names, so you can safely update without losing any life counts.
Changed:
• Name of the datapack
• Description of the datapack
• File name of the datapack
• All comments in mcfunction files
• Titles
• Showcase image gallery titles
• Internal datapack folder name (means that functions have now lives: prefix instead of lifes:)
Changed "lifes" to "lives" everywhere, excluding internal scoreboard names, so you can safely update without losing any life counts.
Changed:
• Name of the datapack
• Description of the datapack
• File name of the datapack
• All comments in mcfunction files
• Titles
• Showcase image gallery titles
• Internal datapack folder name (means that functions have now lives: prefix instead of lifes:)
5646109
119
Create an account or sign in to comment.
Edit: figured it out, i had to turn it on first. im so dumb