? LastBreath
死亡不应该是瞬间的。你的朋友值得一个救你的机会。
使用 LastBreath,致命一击会将你击倒而不是直接杀死你。你会在地上爬行并逐渐失血,同时计时器在滴答作响。朋友可以在你身旁潜行来将你扶起——或者你也可以放弃并重生。这让每一次战斗、洞穴探险和 Boss 战都变成了合作时刻。
专为 SMP(多人生存服)、生存服和合作服务器打造。兼容 Paper 和 Folia,Minecraft 1.20 → 26.x,零依赖。
✨ 特性
- ? 倒地而非死亡。 致命伤害会让你进入爬行且不断失血的状态,心跳会随着时间流逝而加速。
- ? 潜行以复活。 站在倒地的朋友身旁并潜行。进度条、上升的音符和粒子效果显示复活过程。如果此时受到攻击,复活将被打断。
- ⏳ 失血计时器显示在 Boss 栏上,加上浮动的 “✚ DOWNED” 全息投影,让所有人都能看到谁需要帮助。
- ? 补刀。 敌人(或生物,如果你愿意的话)可以终结倒地的玩家,正常给予击杀奖励和死亡信息。
- ? 防滥用机制。 每次最近的倒地都会缩短下一次失血的时间,在经历 X 次倒地后你会真正死亡。在倒地状态下登出会导致死亡,且
/home、/spawn、/tpa 和朋友列表功能会被阻止。
- ? 生物忽略倒地玩家(可选),且倒地玩家会发光以便朋友找到他们。
- ? 护命图腾仍然有效。 手持不死图腾的行为与原版完全一致。
- ? 支持按世界切换、PvP 开关、忽略的伤害来源(虚空、岩浆、
/kill……)。
- ? 完全可定制。 所有消息均使用 MiniMessage 格式(支持渐变、悬停、点击)。每个声音和计时器均可更改。
- ? 内置英文和波兰语。 通过复制其中一个文件即可添加你自己的语言。
- ⚡ 原生支持 Folia。 每个倒地玩家都在其自己的区域线程上 ticking。在 Paper 上,如果没有人倒地则没有全局任务。
- ? 开发者 API,包含可取消的事件。
? 玩法流程
- 你受到本应致死的一击 → 显示 “YOU'RE DOWN”。你开始爬行,失血计时器启动。
- 附近的玩家收到消息和操作栏提示:"Steve nearby is down — sneak next to them to revive"。
- 朋友在你身边蹲伏 5 秒 → REVIVED,恢复 3 颗心并获得短暂的再生增益效果。
- 没人来救?你 失血而死,或在聊天框中点击 [Give up] 立即重生。
⌨️ 命令与权限
| 命令 |
描述 |
权限 |
/lb giveup |
在倒地时放弃 |
lastbreath.giveup (所有人) |
/lb revive [player] |
复活一名倒地玩家 |
lastbreath.admin |
/lb down [player] |
将一名玩家击倒(非常适合测试) |
lastbreath.admin |
/lb list |
列出倒地玩家及其剩余时间 |
lastbreath.admin |
/lb reload |
重新加载配置和消息 |
lastbreath.admin |
别名:/lastbreath、/lb、/downed
| 权限 |
默认值 |
描述 |
lastbreath.downable |
everyone |
被击倒而非直接死亡 |
lastbreath.revive |
everyone |
复活其他玩家 |
lastbreath.giveup |
everyone |
使用 /lb giveup |
lastbreath.bypass.commands |
op |
在倒地时使用被阻止的命令 |
lastbreath.admin |
op |
管理员命令 |
⚙️ 配置(节选)
downed:
bleed-out-seconds: 60
bleed-out-reduction-per-down: 15
max-downs: 3
finishable: true
mobs-ignore-downed: true
speed-multiplier: 0.3
quit-kills: true
blocked-commands: [spawn, home, warp, back, tpa, rtp]
revive:
seconds: 5
radius: 2.0
require-sneak: true
health: 6.0
pause-bleed-out: true
每个选项都在生成的 config.yml 中有详细文档说明。
? 面向开发者
if (LastBreathAPI.isDowned(player)) { ... }
LastBreathAPI.revive(player);
@EventHandler
public void onDown(PlayerDownEvent event) {
if (inSafeZone(event.getPlayer())) event.setCancelled(true); // 改为正常死亡
event.setBleedOutTicks(20 * 120);
}
事件:PlayerDownEvent (可取消)、PlayerReviveEvent (可取消,可修改复活生命值) 以及 PlayerBleedOutEvent (附带原因:TIMER, GAVE_UP, DISCONNECTED, FINISHED)。
✅ 兼容性
| 平台 |
版本 |
| Paper(及其分支如 Purpur, Pufferfish) |
1.20.1 – 26.x |
| Folia |
1.20.1 – 26.x |
| Java |
17+(根据你的服务器需求) |
每次发布都会在真实服务器上通过机器人进行端到端测试:包括倒地、被复活、失血、放弃、被补刀、管理员命令以及断开连接。这些测试在 Paper 1.20.1、1.21.4 和 26.1.2 以及 Folia 1.21.4 和 26.1.2 上运行。启动过程也在 Paper 和 Folia 26.3 上进行了检查。
不支持 Spigot/Bukkit,因为 LastBreath 使用了 Paper 的 Adventure 和调度器 API。
? 发现错误或有任何想法?请在 GitHub 上提交 Issue。如果 LastBreath 拯救了你的 SMP,一个 ⭐ 或关注将对我们有很大帮助!
? LastBreath
Death shouldn't be instant. Your friends deserve a chance to save you.
With LastBreath, a lethal hit knocks you down instead of killing you. You crawl on the ground, bleeding out, while a timer ticks away. A friend can sneak next to you to pick you back up — or you can give up and respawn. It turns every fight, cave dive and boss battle into a co-op moment.
Built for SMPs, survival and co-op servers. Works on Paper and Folia, Minecraft 1.20 → 26.x, with zero dependencies.
✨ Features
- ? Downed instead of dead. Lethal damage puts you in a crawling, bleeding-out state with a heartbeat that speeds up as time runs out.
- ? Sneak to revive. Stand next to a downed friend and sneak. A progress bar, rising notes and particles show the revive. Get hit and it's interrupted.
- ⏳ Bleed-out timer on a boss bar, plus a floating "✚ DOWNED" hologram so everyone can see who needs help.
- ? Finishers. Enemies (or mobs, if you want) can finish off downed players, with normal kill credit and death messages.
- ? Anti-abuse. Each recent down shortens the next bleed-out, and after X downs you die for real. Logging out while downed kills you, and
/home, /spawn, /tpa and friends are blocked.
- ? Mobs ignore downed players (optional), and downed players glow so friends can find them.
- ? Totems still work. Holding a Totem of Undying behaves exactly like vanilla.
- ? Per-world toggle, PvP toggle, ignored damage causes (void, lava,
/kill…).
- ? Fully customizable. Every message uses MiniMessage (gradients, hover, click). Every sound and timer can be changed.
- ? English and Polish included. Add your own language by copying one file.
- ⚡ Folia-native. Each downed player ticks on their own region thread. On Paper there's no global task when nobody is downed.
- ? Developer API with cancellable events.
? How it plays
- You take a hit that would kill you → "YOU'RE DOWN". You drop to a crawl and a bleed-out timer starts.
- Nearby players get a message and an action-bar hint: "Steve is down nearby — sneak next to them to revive".
- A friend crouches next to you for 5 seconds → REVIVED with 3 hearts and a short Regeneration boost.
- Nobody came? You bleed out, or click [Give up] in chat to respawn right away.
⌨️ Commands & permissions
| Command |
Description |
Permission |
/lb giveup |
Give up while downed |
lastbreath.giveup (everyone) |
/lb revive [player] |
Revive a downed player |
lastbreath.admin |
/lb down [player] |
Knock a player down (great for testing) |
lastbreath.admin |
/lb list |
List downed players and their time left |
lastbreath.admin |
/lb reload |
Reload config and messages |
lastbreath.admin |
Aliases: /lastbreath, /lb, /downed
| Permission |
Default |
Description |
lastbreath.downable |
everyone |
Get downed instead of dying |
lastbreath.revive |
everyone |
Revive other players |
lastbreath.giveup |
everyone |
Use /lb giveup |
lastbreath.bypass.commands |
op |
Use blocked commands while downed |
lastbreath.admin |
op |
Admin commands |
⚙️ Configuration (excerpt)
downed:
bleed-out-seconds: 60
bleed-out-reduction-per-down: 15
max-downs: 3
finishable: true
mobs-ignore-downed: true
speed-multiplier: 0.3
quit-kills: true
blocked-commands: [spawn, home, warp, back, tpa, rtp]
revive:
seconds: 5
radius: 2.0
require-sneak: true
health: 6.0
pause-bleed-out: true
Every option is documented in the generated config.yml.
? For developers
if (LastBreathAPI.isDowned(player)) { ... }
LastBreathAPI.revive(player);
@EventHandler
public void onDown(PlayerDownEvent event) {
if (inSafeZone(event.getPlayer())) event.setCancelled(true); // die normally instead
event.setBleedOutTicks(20 * 120);
}
Events: PlayerDownEvent (cancellable), PlayerReviveEvent (cancellable, change revive health) and PlayerBleedOutEvent (with a reason: TIMER, GAVE_UP, DISCONNECTED, FINISHED).
✅ Compatibility
| Platform |
Versions |
| Paper (and forks like Purpur, Pufferfish) |
1.20.1 – 26.x |
| Folia |
1.20.1 – 26.x |
| Java |
17+ (whatever your server needs) |
Each release is tested end to end with bots on a real server: going down, getting revived, bleeding out, giving up, being finished off, admin commands and disconnecting. These tests run on Paper 1.20.1, 1.21.4 and 26.1.2 and on Folia 1.21.4 and 26.1.2. Startup is also checked on Paper and Folia 26.3.
Spigot/Bukkit aren't supported, because LastBreath uses Paper's Adventure and scheduler APIs.
? Found a bug or have an idea? Open an issue on GitHub. If LastBreath saved your SMP, a ⭐ or a follow helps a lot!
评论 0
登录后参与评分
还没有评论,来抢沙发吧