Compatibility
Minecraft: Java Edition
1.21.4
1.21
1.20.5–1.20.6
1.20–1.20.2
1.19.2
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed Apache-2.0
Published 2 years ago
Updated 4 days ago
LifeSteal Server-side
A fabric server side implementation of the LifeSteal SMP.
This mod was forked from ModernAdventurer's LifeSteal Mod, please make sure to check it out as, although there are quite a few changes, this mod was based off of his.
Config
Configuration is purely managed through gamerules, here is a list of gamerules and what they do.
Gamerule | Type | Description | Default |
---|---|---|---|
lifesteal:enableAltars | Boolean | Whether to allow the creation of altars instead of commands | true |
lifesteal:altarBlock | Block | The registry for the block to be the center of an altar | minecraft:netherite_block |
lifesteal:enableAntiHeartDupe | Boolean | Whether to prevent players from harvesting infinite hearts from weak players | true |
lifesteal:playerKillOnly | Boolean | If a player should lose hearts when dying in any way other than to a player | true |
lifesteal:deathAction | Enum | Whether to ban , revive or spectator when they reach minimum health |
ban |
lifesteal:giftHearts | Boolean | If a player can trade a heart for a heart item | true |
lifesteal:stealAmount | Integer | The amount of health that should be stolen upon death | 2 |
lifesteal:minPlayerHealth | Integer | The minimum health a player can reach before being banned if the value is below 1 it is automatically corrected to 1 | 2 |
lifesteal:maxPlayerHealth | Integer | The maximum health a player can reach set to a value of 0 or below to disable | 40 |
lifesteal:healthFromHeart | Integer | The amount of health to receive from a heart item | 2 |
Dead Player Json:
Located in config/lifesteal-deaths.json
[
{
"deadPlayerID": "uuid"
}
]
Commands:
/gift <Player> <Health>
- Gifts the specified player that amount of health if they can receive it/withdraw <Hearts>
- Turns physical hearts into heart items/revive <Player>
- Admin command to revive a player
Datapack Overriding (WIP):
- Override "lifesteal\worldgen\configured_feature\heart_ore.json" to change amount of ores per vein
- Override "lifesteal\worldgen\placed_feature\heart_ore.json" to change amount of veins per chunk
Aditional Notes:
- In order to get the textures, run /polymer generate-pack. This will create the resourcepack in the main server's directory, which you can then put in your resourcepack folder
- For more information, visit the Wiki