Advanced Lifesteal
一个 Paper 插件,将生命值转化为实体物品。玩家通过击杀他人来窃取生命值,可以将自己的生命值提取为可交易物品,并通过信标 GUI 复活被禁用的玩家。需要 Paper 1.21+。
功能特性
生命值窃取
- 击杀一名玩家会从受害者处窃取
hearts.per-kill 点生命值并转移给击杀者(默认:2.0 HP = 1 颗心)。
- 当受害者的生命值降至
hearts.min 时,会根据可配置的理由自动将其禁用。
- 击杀者拥有的生命值上限为
hearts.max。
- 可通过
worlds.enabled 在每个世界中单独启用或禁用生命值窃取功能。
心形物品
- 红色的粗体显示名称“Heart”,附带描述其用途的 lore。
- 右键点击以消耗:如果玩家当前生命值低于
hearts.max,该物品将被消耗并获得正好 1 颗最大生命值。如果玩家已达到 hearts.max,则不消耗该物品并发送提示信息。
/withdraw 命令
/withdraw <amount> 将你的部分生命值提取为实体物品。
- 如果操作会导致玩家生命值低于
hearts.min,则拒绝执行。
- 如果玩家的背包无法容纳生成的物品,则拒绝执行。
- 拒绝零、负数和非数字输入。
- 你也可以使用
/wd
命令列表
| 命令 |
描述 |
权限节点 |
/lifesteal help |
子命令列表 |
adlifesteal.command |
/lifesteal reload |
重载配置文件 |
adlifesteal.admin |
/lifesteal hearts <player> |
查看某玩家的生命值 |
adlifesteal.command |
/lifesteal ban <player> |
手动禁用某玩家 |
adlifesteal.admin |
/lifesteal unban <player> |
手动解禁某玩家 |
adlifesteal.admin |
/hearts [player] |
检查生命值 |
adlifesteal.hearts |
/revive <player> |
复活被禁用的玩家 |
adlifesteal.revive |
/withdraw <amount> |
提取生命值 |
adlifesteal.withdraw |
编辑配置文件后请运行 /lifesteal reload,虽然不必重启服务器,但仍强烈建议重启。
PlaceholderAPI — 提供生命值计数占位符,可用于记分板、标签页列表和聊天栏。
Vault — 经济挂钩,如果你添加了“心形商店”功能即可使用。
LuckPerms — 用于权限管理。
WorldGuard — 用于保护放置的复活信标区域。
顺便提一下,这些插件都不是必须的。
支持
请在 Discord 上报告错误并提出功能请求。
Advanced Lifesteal
A Paper plugin that turns hearts into physical items. Players steal hearts by killing each other, withdraw their own hearts as tradeable items, and revive banned players through a Beacon GUI. Requires Paper 1.21+.
Features
Heart Stealing
- Killing a player steals
hearts.per-kill HP from the victim and gives it to the killer (default: 2.0 HP = 1 heart).
- When a victim drops to
hearts.min, they are automatically banned with a configurable reason.
- Killer hearts are capped at
hearts.max.
- Lifesteal can be enabled or disabled per world via
worlds.enabled.
Heart
- Red bold display name "Heart", with lore describing its uses.
- Right-click to consume: if the player is below
hearts.max, the item is consumed and they gain exactly 1 max heart. If they are at hearts.max, the item is not consumed and a message is sent.
/withdraw Command
/withdraw <amount> redeems one of your hearts into a physical item.
- Refuses if the action would drop the player below
hearts.min.
- Refuses if the player's inventory cannot hold the resulting items.
- Rejects zero, negative, and non-numeric inputs.
- you can also use /wd
Commands
| Command |
Description |
Permission |
/lifesteal help |
Subcommand list |
adlifesteal.command |
/lifesteal reload |
Reload config |
adlifesteal.admin |
/lifesteal hearts <player> |
View a player's hearts |
adlifesteal.command |
/lifesteal ban <player> |
Manually ban a player |
adlifesteal.admin |
/lifesteal unban <player> |
Manually unban a player |
adlifesteal.admin |
/hearts [player] |
Check hearts |
adlifesteal.hearts |
/revive <player> |
Revive a banned player |
adlifesteal.revive |
/withdraw <amount> |
Withdraw hearts |
adlifesteal.withdraw |
Run /lifesteal reload after editing the config if you don't want to restart but a restart is still highly recommended.
PlaceholderAPI — exposes heart count placeholders for scoreboards, tab lists, and chat.
Vault — economy hook, available for use if you add a Heart shop.
LuckPerms — for the perms.
WorldGuard — region protection for placed Revival Beacons.
These aren't required at all btw
Support
Report bugs and request features on the discord ig.
评论 0
登录后参与评分
还没有评论,来抢沙发吧