Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App
Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
LifeSteal Server-side

LifeSteal Server-side

A fabric server side implementation of the LifeSteal SMP

15.2k
28
Minigame
AboutChangelogVersions

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
lifesteal:autoRevivalSeconds Integer The number of seconds until a player is automatically revived. Set to 0 to disable. 0

Dead Player Json:

Located in config/lifesteal-deaths.json

[
  {
    "deadPlayerID": "uuid",
    "deathTime": 100
  }
]

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:

More info can be found on the wiki page.

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

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21
1.20.5–1.20.6
1.20–1.20.2
1.19.2

Platforms

Fabric
Quilt

Supported environments

Singleplayer

Links

Report issues View source Visit wiki Join Discord server

Creators

Tater Certified
Tater Certified Organization

Details

Licensed Apache-2.0
Published 2 years ago
Updated 4 hours ago

Modrinth is open source.

new-project-page@ac78952

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.