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-killHP 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 athearts.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.
下载 Advanced Lifesteal
下载 Advanced Lifesteal
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Advanced Lifesteal
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Advanced Lifesteal
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Advanced Lifesteal
下载 Advanced Lifesteal
我修复了所有问题,插件中应该不会再有 bug 了。
- 修复了信标问题
- 心形配方无法正常工作
- 修改了一些消息
- 添加了新命令
- 链接了 Discord
我修复了加载时禁用的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧