LifeSteal FR

Life Steal FR is a simple datapack configurable aiming to add life steal behaviours from the original Lifesteal SMP: https://lifesteal.fandom.com/wiki/Season_1

81,02k

LifeSteal FR

Life Steal

Life Steal FR is a simple datapack configurable aiming to add life steal behaviours from the original Lifesteal SMP:<br> https://lifesteal.fandom.com/wiki/Season_1

This datapack adds texture for the revive beacon and use 1.21 food/consumable components for interactions with the system (eating a heart, consuming a renamed revive beacon)

This datapack is and will 🔥 ALWAYS 🔥 be updated to support the latest Minecraft versions!<br> I continuously maintain compatibility with new releases, ensuring you can enjoy Life Steal mechanics on the newest Minecraft updates without waiting, even on snapshots.

DON'T FORGET TO DOWNLOAD THE REQUIRED <u>RESOURCE PACK</u> IF YOU ARE USING THE DATAPACK VERSION

⚠️ IMPORTANT: Server Setup Required

MUST<br> If you're running a server, you MUST edit your `server.properties` file and set: ```properties function-permission-level=3 ```

Without this setting, the ban feature will not work! This is the most common issue users encounter.<br> After making this change, restart your server for it to take effect.

If you want to <u>modify the recipes</u>, please read this GitHub issue: https://github.com/Stoupy51/LifeSteal/issues/9

⚙️ Configuration

Players can withdraw hearts by typing `/trigger life_steal.withdraw`.

Since 1.5.0, you can now view and modify all settings interactively by running: ``` /function life_steal:_config ``` This displays an interactive menu where you can click on any setting to modify it directly!

Default settings: - 🔄 Revived players respawn with 4 hearts - ⬆️ Maximum heart limit is set to 20 hearts - 💝 Maximum hearts by consuming is set to 20 hearts (if lower than maximum hearts, additional hearts only obtainable through kills) - ⬇️ Minimum heart limit is set to 0 hearts - 💀 Players lose a heart when dying from natural causes (enabled) - 🎁 Hearts drop at death location when dying from natural causes (enabled) - ➗ Half hearts mode is disabled (hearts are tracked in whole numbers) - 🚫 Players are banned when reaching the minimum heart limit - 👻 Spectator instead of ban is disabled (players are banned, not moved to spectator mode) - 🍀 Last chance is disabled (when enabled, if a player at MIN+1 hearts dies, they survive with MIN+0.5 hearts; only works with half hearts mode disabled) - ⚔️ Steal on kill is enabled (killing players rewards hearts and removes them from victims) - ⚡ Instantly consume hearts is disabled (hearts require full eating animation) - 🛑 No heart drop is disabled (hearts drop and can be stolen normally) - ♾️ Hearts never despawn is enabled (dropped heart items keep their age reset to prevent despawn)

Alternatively, settings can be customized manually using the following commands (requires operator permissions): - ⬆️ `scoreboard players set MAX_HEARTS life_steal.data 20` (Absolute maximum of 20 hearts) - 💝 `scoreboard players set MAX_HEARTS_BY_CONSUMING life_steal.data 20` (Maximum hearts obtainable by consuming crafted hearts, additional hearts can only be gained through kills (if lower than MAX_HEARTS), default is 20) - ⬇️ `scoreboard players set MIN_HEARTS life_steal.data 0` (Minimum number of hearts a player can have, default is 0) - 🔄 `scoreboard players set REVIVED_HEARTS life_steal.data 4` (Amount of hearts to respawn with when revived) - 💀 `scoreboard players set NATURAL_DEATH_HEART_LOSE life_steal.data 1` (1 = lose a heart when dying to non player, 0 = disable that) - 🎁 `scoreboard players set NATURAL_DEATH_HEART_DROP life_steal.data 1` (1 = drop a heart at death location when dying to non player, 0 = disable that) - ➗ `scoreboard players set USE_HALF_HEARTS life_steal.data 1` (1 = enable half hearts mode, 0 = disable - tracks hearts in 0.5 increments instead of whole numbers) - 🚫 `scoreboard players set BAN_REACHING_MIN_HEARTS life_steal.data 1` (1 = ban player when reaching minimum hearts, 0 = just prevent them from going lower) - 👻 `scoreboard players set SPECTATOR_INSTEAD life_steal.data 1` (1 = move players to spectator mode instead of banning them when reaching minimum hearts, 0 = ban players normally) - 🍀 `scoreboard players set LAST_CHANCE life_steal.data 1` (1 = when dying at MIN+1 hearts, player survives with MIN+0.5 hearts instead of losing everything - only works when half hearts mode is disabled, 0 = players lose full hearts normally) - ⚔️ `scoreboard players set STEAL_ON_KILL life_steal.data 1` (1 = killing players rewards hearts and removes them from victims, 0 = disable heart stealing on kill) - ⚡ `scoreboard players set INSTANTLY_CONSUME_HEARTS life_steal.data 1` (1 = hearts are consumed instantly when used, 0 = require full eating animation) - 🛑 `scoreboard players set NO_HEART_DROP_OR_STEAL life_steal.data 1` (1 = hearts won't drop or be stolen when players die, overrides STEAL_ON_KILL by preventing all heart steal/drop on death, 0 = hearts drop and can be stolen normally) - ♾️ `scoreboard players set HEARTS_NEVER_DESPAWN life_steal.data 1` (1 = dropped heart items never despawn by constantly resetting their age, 0 = dropped heart items despawn naturally)

You can obtain the items using these commands: - `/function life_steal:_give_all` (gives all items from the datapack) - `/loot give @s loot life_steal:i/heart` (gives a heart) - `/loot give @s loot life_steal:i/revive_beacon` (gives a revive beacon)

⚠️ Administration

If you want to manually revive a player, you can use the following command: 🔨<br> `function life_steal:player/revive {player:"Stoupy51"}`<br> (replace `Stoupy51` with the player name you want to revive)

📥 Download links:

- Modrinth: https://modrinth.com/datapack/lifestealfr/ - PlanetMinecraft: https://www.planetminecraft.com/data-pack/life-steal-fr/

--- | Promotional image | | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | Beacon Recipe image | Heart Recipe #1 image | | Heart Recipe #2 image | Heart Recipe #3 image |

⭐ Star History

ADS