Langue

LifeSteal Server-side

LifeSteal Server-side

Modrinth

A fabric server side implementation of the LifeSteal SMP

32.2k téléchargements 46 abonnés mis à jour 3d ago
dernière vmc26.2-2.6.0 Modrinth
Fabric Quilt 1.19.2 – 26.2 Game-mechanicsMinigame

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:death_criteria | DeathCriteria | What counts as a kill: player_only, any_death, or any_death_drop_heart | player_only |
| lifesteal:altar_block | Block | The registry for the block to be the center of an altar | minecraft:netherite_block |
| lifesteal:enable_anti_heart_dupe | Boolean | Whether to prevent players from harvesting infinite hearts from weak players | true |
| lifesteal:revive_method | ReviveMethod | How to revive players: none, command, altar, or totem | altar |
| lifesteal:death_action | DeathAction | Whether to ban, revive or spectator when they reach minimum health | ban |
| lifesteal:gift_method | GiftMethod | How to gift hearts: manual or command | manual |
| lifesteal:steal_amount | Integer | The number of hearts that should be stolen upon death | 1 |
| lifesteal:min_player_hearts | Integer | The minimum number of hearts a player can reach before being banned | 1 |
| lifesteal:max_player_hearts | Integer | The maximum number of hearts a player can reach | 10 |
| lifesteal:withdraw_method | WithdrawMethod | How to withdraw hearts: none, altar, or command | altar |
| lifesteal:auto_revival_seconds | Integer | The number of seconds until a player is automatically revived. Set to 0 to disable. | 0 |
| lifesteal:revival_invulnerability_seconds | Integer | The amount of time a player is invulnerable after being revived in seconds. Set to 0 to disable. | 0 |
| lifesteal:heart_stack_size | Integer | The maximum stack size of the heart item | 1 |
| lifesteal:heart_craft_in_crafter | Boolean | If a heart item can be crafted in a crafter | false |
| lifesteal:limited_heart_crafting_type | LimitedCraftingType | How limited crafting works: until_banned, forever, heart_based, or none | none |
| lifesteal:limited_heart_crafting_amount | Integer | The value/limit of limited crafting. It changes meaning depending on the limited crafting gamerule | 0 |
| lifesteal:altar_animations | Boolean | If animations should play when interacting with an altar | true |
| lifesteal:fallback_textures | Boolean | Whether to use Minecraft textures if the resourcepack isn't installed instead of missing texture | true |
| lifesteal:new_player_invulnerability_seconds | Integer | The number of seconds a player is invulnerable since they started playing | 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.

Additional 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

Check out Tater Certified's other Lifesteal-compatible mods!

Are your players combat-logging so they don't lose hearts? Use Fair Fight to combat this problem entirely! It is available on all modding and plugin platforms!

Versions

Release
mc26.2-2.6.0
fabric, quilt · 26.2 · 3d ago
- Updated to MC 26.2
48
Release
mc26.1-2.6.0
fabric, quilt · 26.1, 26.1.1, 26.1.2 · 6d ago
- Added a way to revert to vanilla textures if the resourcepack isn't present on the client - Decouple revive invulnerability with player joining
177
Release
2.5.2
fabric, quilt · 26.1, 26.1.1, 26.1.2 · 2mo ago
- Updated to 26.1.x
1.0k
Release
2.5.1
fabric, quilt · 1.21.11 · 5mo ago
- Fixed multiple death sources not all being counted. Fixes fire aspect not counting as a player kill. - Fix invulnerability status effect not being applied…
6.0k
Release
2.5.0
fabric, quilt · 1.21.11 · 5mo ago
- Fixed a bug where hearts could be duplicated when withdrawing hearts - Added altar effects - Altar creation animation - Altar withdraw animation -…
824
Release
2.4.0
fabric, quilt · 1.21.11 · 5mo ago
- Updated to 1.21.11 - Switched default units to hearts for most commands and gamerules - Temporarily removed Unruled API dependency - Implemented limited…
167
Release
2.3.0
fabric, quilt · 1.21.9, 1.21.10 · 7mo ago
- Add the Totem of Rebirth - Refactor gamerules - Players can now drop hearts when dying to a non-player source
1.7k
Release
2.2.1
fabric, quilt · 1.21.9, 1.21.10 · 8mo ago
- Updated to 1.21.10
793
Release
2.2.0
fabric, quilt · 1.21.7, 1.21.8 · 11mo ago
- Added a /revive command for reviving players when the altar feature is disabled - Renamed the admin revive command to /admin-revive - Migrated to the…
2.4k
Release
2.1.3
fabric, quilt · 1.21.7, 1.21.8 · 11mo ago
Update to 1.21.7
228
Release
2.1.2
fabric, quilt · 1.21.6 · 12mo ago
- Fix a duplication exploit with the `/withdraw` command
520
Release
2.1.1
fabric, quilt · 1.21.6 · 12mo ago
# Use Lifesteal 2.1.2 to fix a severe exploit - Updated to 1.21.6
157

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.