Most Minecraft death mechanics are binary: a player is either alive or dead. That works for vanilla survival, but it throws away one of the best moments in multiplayer combat — the rescue.
SecondWind is a Paper 1.21.x plugin that adds a downed-but-not-out state to SMP, lifesteal, and factions-style servers. Lethal damage can drop a player into a crawling bleed-out state. Teammates can revive them. Enemies can execute them. Only bleed-out, execution, or an exempt cause becomes a real death.
That last distinction is the important design constraint.
The core problem: downed is not dead
Many servers use death as a trigger for other mechanics:
- lifesteal heart transfers
- death chests
- kill streaks and bounties
- spectator or respawn logic
- combat-logging punishments
If a downed state is implemented by cancelling death carelessly, every one of those systems can break. If it is implemented by killing and then resurrecting the player, the same systems can fire at the wrong time.
SecondWind therefore treats DBNO as an explicit third state:
- Alive — normal gameplay.
- Downed — lethal damage was intercepted before vanilla death.
- Dead — bleed-out, execution, logout, or an exempt damage cause.
The plugin only allows real death semantics at the boundary from downed to dead. A player who is merely downed has not died, so death-based rewards and penalties must not fire yet.
Intercepting lethal damage
The practical implementation starts with entity damage handling. When damage would reduce a player to zero health, the plugin checks whether the damage cause and world are eligible for DBNO.
If eligible, it cancels the lethal outcome and puts the player into the downed state instead:
- reduced health
- restricted movement
- no item use or fighting
- blocked escape commands
- bleed-out countdown
- boss-bar progress display
Some damage causes should never enter DBNO. Falling into the void, /kill, world-border death, suicide-type causes, and administrative kill paths are better treated as immediate deaths. Keeping that list configurable matters because every server has slightly different rules.
Revives and executions are the same mechanic
A useful simplification is that reviving and executing are both interaction channels targeting a downed player.
The differences are configuration and outcome:
- a teammate completes the channel and the victim is revived
- an enemy completes the channel and the victim dies
- damage, distance, movement, or release of sneak interrupts the channel
This keeps the rules easy to understand. Players do not need to learn two unrelated interaction systems.
It also creates the intended fight dynamics. The winning side has to decide whether to guard the body, finish the downed player, or push the remaining enemies. The losing side has to decide whether risking a revive is worth it.
Anti-abuse rules are part of the feature
DBNO systems fail quickly if players can escape the vulnerable state. The important abuse cases are mundane but critical:
- logging out while downed
- teleporting home or accepting a teleport request
- using movement commands
- attacking or using items while supposedly incapacitated
- being chain-revived instantly with no risk
SecondWind handles these through command blocking, interaction restrictions, channel interruption, configurable revive timing, and a short post-revive protection window. Combat logging while downed is a real death, which keeps logout abuse compatible with death-based server rules.
Update: restart and crash persistence
A dev.to commenter correctly pointed out that an in-memory bleed-out timer has no safe exit if the server dies mid-countdown. SecondWind 1.0 now persists downed state:
- the plugin writes
plugins/SecondWind/downed.ymlimmediately when a player enters Downed; - remaining bleed-out time is snapshotted periodically while the server runs;
- clean shutdown writes the exact state;
- on rejoin, the player is restored as Downed with the timer still running;
- revive, execution, or bleed-out clears the persisted state.
I validated this on Paper 1.21.11 by forcing a player into Downed, waiting for persistence, killing the server process with kill -9, restarting, and rejoining the same offline-mode player. The player came back still Downed at 4 health with 46 seconds remaining. /sw revive then restored the player and cleared the persisted state.
The implementation is in the SecondWind 1.0 release and the Hangar version.
XP and items belong elsewhere
A revive mechanic should not try to solve every death-recovery problem itself. If the player really dies, item recovery is a separate concern.
That is why SecondWind pairs with GraveGuard. SecondWind creates the rescue moment; GraveGuard handles protected restart-safe graves if the rescue fails. Separating those concerns keeps both plugins easier to configure and safer to combine with existing server stacks.
Practical server-owner checklist
Before installing a DBNO plugin on a live server, check:
- Does it distinguish downed from dead?
- Does lifesteal trigger only on real death?
- Can escape commands be blocked?
- Can exempt causes bypass DBNO?
- Are revive and execute permissions configurable?
- Does it expose admin commands and reload support?
- Has it been tested through restart and death-recovery scenarios?
SecondWind is built around those constraints for Paper 1.21.x, Java 21, and zero external dependencies.
Links
- Free download on Hangar: https://hangar.papermc.io/SecondWindMC/SecondWindRevive
- Source and releases: https://github.com/SecondWindMC/SecondWindRevive
- Store and bundle documentation: https://secondwindmc.github.io/
The plugin is available as a free community download. The paid bundle adds GraveGuard, tuned preset configurations, checksums, combined install documentation, updates, and support.
Top comments (2)
This is the right architecture — making Downed an explicit third state instead of "death, but cancelled" is the decision everything else hangs on. The one failure mode I'd add to your checklist is state leakage across a restart: a bleed-out timer that lives only in memory has no exit if the server dies mid-countdown. The player either comes back stuck in Downed forever, or the state is dropped and they log back in alive with no consequence.
The check I run for this kind of thing: start a bleed-out, kill -9 the server (not a clean stop), restart, and verify the downed player is either still Downed with a running timer or Dead — never Alive, never stuck with no timer. I learned the same lesson building an arena shooter (VOIDSTORM): every timed state needs an exit for every way the session can end, including the ones you don't control. Persisting the downed state plus the remaining seconds, and converting to Dead on load if the timer can't be resumed, covers it.
Implemented this in SecondWind 1.0 — thank you for the concrete failure case.
The plugin now writes
downed.ymlimmediately when a player enters Downed, snapshots the remaining bleed-out time periodically, writes exact state on clean shutdown, and restores the player as Downed with the timer still running after restart/rejoin.I also ran the test you described on Paper 1.21.11: forced a downed state, waited for persistence, killed the server process with
kill -9, restarted, and rejoined the same offline-mode player. Result: still Downed at 4 health with 46 seconds left;/sw revivethen restored the player and cleared the persisted state.Release: github.com/SecondWindMC/SecondWind...