Download LifeSteal Server-side — Minecraft Mods — MetaMods

LifeSteal Server-side

Active

Downloads

0

Last update

3 months ago

Versions

1.19.2 — 1.21.8
Server
Fabric
Quilt
Mini-games

LifeSteal Server-side

LifeSteal Server-side is a server-side implementation of the popular "life steal" mechanic for Fabric servers in Minecraft. This version was created based on the original development by ModernAdventurer, but with significant changes and improvements.

Configuration via Game Rules

All mod parameters are configured through game rules, providing flexibility and ease of configuration:

  • lifesteal:enableAltars (boolean) - allows creation of altars instead of using commands (default: true)
  • lifesteal:altarBlock (block) - defines the central block for the altar (default: minecraft:netherite_block)
  • lifesteal:enableAntiHeartDupe (boolean) - prevents infinite heart farming from weak players (default: true)
  • lifesteal:playerKillOnly (boolean) - determines if players lose hearts only when killed by other players (default: true)
  • lifesteal:deathAction (enum) - action when reaching minimum health: ban, revive, or spectator (default: ban)
  • lifesteal:giftHearts (boolean) - allows exchanging hearts for items (default: true)
  • lifesteal:stealAmount (integer) - amount of health stolen upon death (default: 2)
  • lifesteal:minPlayerHealth (integer) - minimum player health before ban (default: 2)
  • lifesteal:maxPlayerHealth (integer) - maximum player health (default: 40)
  • lifesteal:healthFromHeart (integer) - amount of health from a heart item (default: 2)
  • lifesteal:autoRevivalSeconds (integer) - automatic revival time in seconds (default: 0)

Dead Players Data File

Information about dead players is stored in the file config/lifesteal-deaths.json:

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

Available Commands

  • /gift <Player> <Health> - transfers specified amount of health to another player
  • /withdraw <Hearts> - converts hearts into items
  • /revive <Player> - administrator command to revive a player

Datapack Overriding

Additional configuration options are available through the use of datapacks. Detailed instructions can be found in the relevant documentation.

Additional Notes

  • To obtain textures, execute the command /polymer generate-pack, which will create a resource pack in the server's main directory
  • More detailed information is available in the project's official documentation