COWMODSКаталог модов

LifeWars (LifeSteal)

A very simple Lifesteal SMP plugin, Custom recipe's and Easy configuration!

Автор: MilaMC42,6 тыс.30обновлён 14 сент. 2026 г.
ПриключенияМеханики игрыМини-игры

Описание

LifeWars

What You Should Know!

LifeWars is my own Minecraft plugin that introduces the popular lifesteal mechanic to your server or gameplay.

LifeWars is designed to be highly configurable, with 25+ configuration options allowing you to customize how lifesteal works on your server.


Why I Made LifeWars

I made LifeWars because I wanted a lifesteal plugin that I could actually use for my own communities and servers.

I also wanted to make something that gives server owners more control over their lifesteal experience instead of being stuck with a fixed system.


Things YOU Can Do

(Only a small part of the plugin!)

  • ✅ Enable / Disable the entire plugin
  • ✅ Enable / Disable Reviving
  • ✅ Enable / Disable Heart usage and equipping
  • ✅ Set Maximum Health
  • ✅ Set Revive Health
  • ✅ Toggle Commands
  • ✅ Enable / Disable Custom Recipes
  • ✅ Enable / Disable Heart Recipes
  • ✅ Enable / Disable Revive Recipes
  • ✅ Set Custom Messages
  • ✅ Change Item Names
  • ✅ Change Item Lore
  • ✅ Customize Heart Items
  • ✅ Customize Revive Items
  • ✅ Customize Crafting Recipes
  • ✅ Edit Recipes directly in-game
  • ✅ Spawn LifeWars items through admin commands
  • ✅ Manage eliminated/banned players
  • ✅ Configure almost every part of the plugin

Custom Crafting Recipes

LifeWars now supports fully configurable crafting recipes.

You can customize the layouts for:

|- Heart Recipe:

|- Revive Recipe:

Recipes can also be edited in-game using the recipe editor, allowing server administrators to change recipes without manually editing the configuration.


Commands

LifeWars includes several commands for both players and administrators.

Most of the commands are admin-related, allowing server owners to manage health, revives, configuration, recipes, and LifeWars items.

Some of the available functionality includes:

  • Admin Revive
  • Eliminate
  • Set Health
  • Reload Configuration
  • Edit Configuration
  • Admin Item Spawning
  • Recipe Editing

Permissions

  • LifeWars.adminrevive.use
  • LifeWars.EditConfig.use
  • LifeWars.sethealth.use
  • LifeWars.eliminate.use
  • LifeWars.reloadconfig.use
  • LifeWars.adminspawnitem.use

How to Use Items

|- Revive Item

Step 1

Craft the Revive Item.

Depending on your configuration, the recipe may not appear in the crafting recipe book because Minecraft does not recognize the custom Heart ingredient normally.

Step 2

Rename the Revive Item to the name of the eliminated player you want to revive.

Step 3

Right-click with the renamed Revive Item.

If the player is eliminated, they will be revived.


|- Heart Item

Step 1

Craft the Heart using the configured recipe.

Step 2

Done!

You can use Hearts to:

  • ❤️ Give health to another player
  • ❤️ Equip/use a Heart
  • ❤️ Use Hearts in the Revive recipe

Heart System

Hearts are the main item used by the LifeWars lifesteal system.

Players can configure how Hearts work, including whether they can be used or equipped and how much health players can have.

LifeWars also supports custom item models and CustomModelData, allowing resource packs to give the Heart item a completely custom appearance.


Elimination & Reviving

When a player reaches the configured elimination condition, they can be added to the LifeWars banned/eliminated player system.

The plugin includes:

  • Player elimination
  • Automatic ban handling
  • Ban and kick functionality
  • Unbanning through the revive system
  • Offline-player handling
  • Revive item validation
  • Configurable revive health

Banned players are stored in a dedicated BannedPlayers.yml file.


Configuration

LifeWars is built around configuration.

You can edit the plugin's config.yml to change things such as:

  • Maximum health
  • Revive health
  • Heart settings
  • Revive settings
  • Item names
  • Item lore
  • Messages
  • Crafting recipes
  • PvP restrictions
  • Banned items
  • Plugin features

The configuration also contains comments explaining what different settings do.

Basic Configuration

features:
  reviveBookEnabled: true
  heartUseEnabled: true
  withdrawCommandEnabled: true

gameplay:
  maxHealth: 40
  reviveHealth: 8
  dropHeartsIfMax: true

items:
  # Heart
  heartName: "<bold><#d9252e>Heart"
  heartLore: "<gray>Right-click to use!"
  # New string-based item model key (1.21+ style). Example: "lifewars:defaultheart"
  # If set, this is used instead of heartCustomModelData.
  heartItemModel: "lifewars_defaultheart"
  heartCustomModelData: -1
  # Revive Book
  reviveBookName: "<aqua>Revive Book"
  reviveBookLore: "<dark_aqua>Rename this book to the player name you want to revive, then right-click to revive that player!"

recipes:
  customRecipesEnabled: true
  heartRecipeEnabled: true
  reviveBookRecipeEnabled: true
  # Recipe layouts going from left to right, top to bottom, and empty spaces are represented by AIR
  layouts:
    heart:
      grid:
        - DIAMOND_BLOCK
        - GOLD_BLOCK
        - DIAMOND_BLOCK
        - NETHERITE_INGOT
        - TOTEM_OF_UNDYING
        - NETHERITE_INGOT
        - DIAMOND_BLOCK
        - GOLD_BLOCK
        - DIAMOND_BLOCK
    revivebook:
      grid:
        - DIAMOND_BLOCK
        - CUSTOM_HEART
        - GOLD_BLOCK
        - CUSTOM_HEART
        - NETHER_STAR
        - CUSTOM_HEART
        - GOLD_BLOCK
        - CUSTOM_HEART
        - DIAMOND_BLOCK

messages:
  prefix: "<dark_gray>[<red>Life<gold>Wars<dark_gray>]"
  announceAdminRevive: true
  usageError: "<red>Usage: %usage%"
  needToBePlayer: "<red>You must be a player to use this command!"
  playerNotFound: "<red>Player not found!"
  disabledInConfigMsg: "<red>This feature is disabled in the config!"
  eliminateSuccess: "<gray>You have eliminated <red>%player%<gray>!"
  reviveSuccess: "<gray>You have revived <red>%player%<gray>!"
  onlyReviveElimPlayers: "<red>You can only revive eliminated players!"
  eliminatedJoin: "<red>You have no hearts left!"
  eliminatedReason: "<dark_red>Ran out of lives."
  setHeartsConfirmSingle: "<gray>Set <red>%player%<gray>'s hearts to <red>%amount%<gray> hearts"
  reloadMsg: "<gray>Reloaded the plugin!"
  noWithdraw: "<red>You will be eliminated if you withdraw one more heart!"
  inventoryFull: "<red>Your inventory is full! You cannot withdraw!"
  withdrawMin: "<red>You cannot withdraw less than 1 heart!"
  successWithdraw: "<gray>You received %amount%x <red>%item%<gray>!"
  maxHeartLimitReached: "<red>You have already reached %limit% hearts!"
  recipeNotCraftable: "<red>You cannot craft this item!"
  recipeNotFound: "<red>This recipe does not exist!"
  recipeSavedActionbar: "<green>Recipe saved!"
  configKeyNotFound: "<red>Config key not found: %key%"
  configUpdated: "<gray>Config value <red>%key%<gray> set to <red>%value%"

Recipe Editor

LifeWars includes an in-game recipe editor.

Server administrators can:

  • Edit recipe layouts
  • Change recipe ingredients
  • Configure Heart recipes
  • Configure Revive recipes
  • Save recipes directly from the game
  • Reload recipes without modifying the plugin itself

This makes it much easier to customize LifeWars for your server.


Resource Pack Support

LifeWars supports custom models for its items.

Heart items can use:

  • Custom Item Models
  • CustomModelData
  • CustomModelData Strings

This allows resource packs to give LifeWars items their own unique appearance.


Contact Me

If you have any suggestions, bugs, or ideas for LifeWars, feel free to contact me @ https://discord.gg/weYbKCmhsY

Галерея

Custom Model Data TextureAll commandsHaving 4 HeartsUsing ReviveItem

Последние версии

Все версии →
release

LifeWars 0.1.9

0.1.9
14 сент. 2026 г.1,2 тыс.Minecraft: 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
# LifeWars ## Fixes * **Withdraw Duplication**: Fixed `/withdraw` keeping hearts that had already been added to a full inventory without deducting the matching health, when the rest of the stack didn't fit. * **Sethealth Validation**: `/sethealth` now rejects `NaN`, `Infinity`, and non-positive values instead of applying them directly to the health attribute. * **Elimination Drops**: Removed the forced inventory clear on elimination. Items now drop normally like a regular death instead of being wiped.
beta

LifeWars 0.1.9 (BETA)

0.1.9-b
13 сент. 2026 г.62Minecraft: 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
# LifeWars - 0.1.9 Update This update fixes several item and command exploits, moves the ban system onto UUIDs so eliminations ## Security Fixes * **Heart Duplication**: Hearts are no longer identified by their display name. Previously any renamed Nether Star matching the configured heart name counted as a real heart, allowing unlimited free health. Hearts are now verified by a persistent data tag that cannot be faked * **Withdraw Overflow**: Fixed an integer overflow in `/withdraw` that let large amounts wrap around to a negative value, granting max health instead of removing it while also producing an enormous heart stack. Withdraw amounts ## Major Features * **UUID Ban Storage**: Eliminated players are now stored by UUID instead of name, so bans persist across name changes. * **Automatic Ban Migration**: Existing name-based entries in `BannedPlayers.yml` are converted to UUIDs on startup, with each conversion logged. * **Legacy Heart Conversion**: Older untagged hearts are fixed automatically on join and on use, verified by both name and lore so renamed items cannot qualify. Controlled by the new `gameplay.convertLegacyHearts` setting.
alpha

LifeWars 0.1.8

0.1.8
10 авг. 2026 г.809Minecraft: 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
# LifeWars This update brings a major overhaul to the LifeWars crafting system, improved heart item handling, a new in-game recipe editor, better revive mechanics, and a number of core refactors and quality-of-life improvements. ## Major Features * **Custom Recipe Editor**: Added an in-game editor for customizing the Heart and Revive Book crafting recipes. * **Configurable Recipes**: Crafting recipes can now be configured and saved directly through the plugin configuration. * **Custom Heart Items**: Added support for custom heart ingredients and improved heart item identification. * **Item Model Support**: Added support for custom item models and CustomModelData strings, allowing resource packs to customize heart items. * **Admin Spawn Item**: Added a new admin command for spawning LifeWars items. * **Improved Revives**: Reviving players now includes new particle and sound effects for a more polished experience. ## Core Improvements * **Banned Players**: Reworked banned-player storage to use a dedicated `BannedPlayers.yml` file. * **Ban System**: Added improved ban, unban, and ban-and-kick handling. * **Heart System**: Refactored heart creation, giving, dropping, equipping, and health handling. * **Recipe System**: Reworked recipe loading, saving, validation, and registration. * **Config System**: Improved configuration loading and automatically adds new default settings. ## Fixes & Quality of Life * Fixed hearts being consumed when interacting with certain blocks. * Added inventory capacity checks before withdrawing hearts. * Improved handling of offline players during elimination. * Fixed legacy heart recipe tokens. * Improved material and recipe token handling. * Added better validation for revive books. * Improved error handling for invalid item model keys. * Cleaned up unused code, imports, and outdated implementations. ## Compatibility * Minecraft 1-21-1.21.11 Support * Added support for the modern `CustomModelDataComponent` API on Minecraft 1.21.4+. * Added fallback support for older APIs using legacy CustomModelData. * Improved compatibility with resource packs using custom heart models. ## LifeWars This update significantly improves the foundation of LifeWars while making recipes, items, configuration, and administrative tools much easier to manage.
release

LifeWars 0.1.7

0.1.7
13 июл. 2025 г.14,4 тыс.Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5bukkit, paper, spigot
Скачать
Что нового
mc version update
release

LifeWars 0.1.6

0.1.6
24 июн. 2025 г.1,7 тыс.Minecraft: 1.21, 1.21.1bukkit, paper, spigot
Скачать
Что нового
Yearly Update XD
release

LifeWars 0.1.5 BugFix

0.1.5
11 июн. 2024 г.16,3 тыс.Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6bukkit, paper, spigot
Скачать
Что нового
### Community Attack Bug: #### Players Could Revive Players That Hasn't Been Banned By Being Eleminated, There For Banned Players Could be Revived With The Revive Book.
release

LifeWars 0.1.4 Bugfix

0.1.4
26 мар. 2024 г.1,3 тыс.Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4bukkit, paper, spigot
Скачать
Что нового
Null errors when reviving
release

LifeWars 0.1.3

0.1.3
19 окт. 2023 г.2,7 тыс.Minecraft: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2bukkit, paper, spigot
Скачать
Что нового
### **Downgraded to 1.17 to 1.20.2** ## You should always edit in the config to be sure as sometimes it becomes blank when you use the command.
release

LifeWars 0.1.2 BUGFiX

0.1.2
16 окт. 2023 г.341Minecraft: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2bukkit, paper, spigot
Скачать
Что нового
bugfix with deleting configuration with editconfig Command.
release

LifeWars 0.1.2

0.1.2
16 окт. 2023 г.243Minecraft: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2bukkit, paper, spigot
Скачать
Что нового
## **NOT TESTED WITH ALL VERSIONS**! ### PROCCEED WITH CARE if confused and need 1.18+ then select 0.0.9 to 0.1.1 BUG FiX available!