lifestealXX 图标

lifestealXX

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/lifestealxx
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10

平台: paper purpur spigot

标签: game-mechanics management technology

资源介绍

LifestealXX

A lightweight, production-ready Lifesteal plugin for Paper/Spigot 1.21.x. Players lose hearts on death, steal hearts on kills, craft Heart items, and use Revive Beacons to bring eliminated players back. Everything is configurable: min/default/max hearts, death penalties, item recipes, and more. Includes PlaceholderAPI support, admin tools, and hot-reload.

✨ Features

Configurable hearts system: set min, default, and max hearts.

Steal on kill: killer gains a heart (or drops a heart if at max).

Heart items: craftable and consumable only below a threshold (e.g. under 10 hearts).

Revive Beacon: revive eliminated players to a configurable heart count.

Droplogic: optional heart drops on non-player deaths or when killer is maxed.

Withdraw: convert your own hearts into Heart items.

Admin toolkit: get/set/add/remove hearts, eliminate/revive, give items, and reload.

PlaceholderAPI: clean placeholders for scoreboards, tabs, and holograms.

Hot reload: /lifesteal reload applies config & recipes without a restart.

?️ Gameplay (defaults)

Max hearts: 20 (40 HP).

Consume Heart items only when you’re below 10 hearts.

On player kill: killer gains 1 heart; if already at max, a Heart item drops.

On non-player death: Heart item drops.

At min hearts: player is eliminated (Spectator) until revived.

? Commands

/withdraw [amount] — turn your hearts into Heart items (leaves a minimum set by config).

/revive — revive an eliminated player (must hold a Revive Beacon).

Admin [/lifesteal or /ls]

get — show hearts/elimination.

set — set hearts (respects min/max).

add / remove

revive [hearts] — revive without a beacon.

eliminate — set to min & Spectator.

giveheart [amount] / givebeacon [amount]

reload — reload data & config (re-registers recipes).

? Placeholders

%lifesteal_current_hearts% — player’s current hearts

%lifesteal_max_hearts% — max hearts (from config)

%lifesteal_display% — current/max (e.g. 9/20)
Aliases: %lifesteal_current%, %lifesteal_max%

? dependencies

  • placeholderAPI

  • java 21 required!

    ⚙️ Config (config.yml)

  • Fully configurable hearts, behavior, and both recipes (shape, ingredients, output), plus item name/lore/material/glint.

    
    hearts:
    min: 0
    default: 10
    max: 20
    consume_below: 10
    lose_on_death: 1
    withdraw_min_remaining: 1
    eliminate_at_min: true

behavior:
give_killer_heart_on_kill: true
drop_on_nonplayer_death: true
drop_when_killer_at_max: true

items:
heart:
material: NETHER_WART
name: "&c&lHeart"
lore: ["&7Consume to gain 1 heart", "&7Usable only when below 10 hearts"]
glint: true
recipe:
amount: 1
shape: ["RRR","RNR","RRR"]
ingredients: { R: REDSTONE_BLOCK, N: NETHER_STAR }

revive_beacon:
material: BEACON
name: "&b&lRevive Beacon"
lore: ["&7Use /revive while holding this"]
glint: true
recipe:
amount: 1
shape: ["NSN","SBS","NSN"]
ingredients: { N: NETHER_STAR, S: NETHERITE_SCRAP, B: BEACON }


Reload in-game with: /lifesteal reload.

## ✅ Compatibility

Server: Paper / Spigot 1.21.x (Paper recommended; Purpur/Pufferfish/spigot compatible)

## ? Installation

Drop the plugin JAR into plugins/.

(Optional) Install PlaceholderAPI.

Start the server once to generate config.yml.

Tweak config & recipes, then /lifesteal reload.

## ? Permissions

lifesteal.withdraw — use /withdraw (default: true)

lifesteal.revive — use /revive with a beacon (default: true)

lifesteal.admin — all admin commands (default: op)
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Unijted QoL

价格:0 墨喵币
下载量:0

查看详情
Keyboard Wizard: Legacy

价格:0 墨喵币
下载量:0

查看详情
Create: Wooden Cog Solid

价格:0 墨喵币
下载量:0

查看详情
MineDex S3 PC Pack

价格:0 墨喵币
下载量:0

查看详情