Features and bug fixes requested on discord
New features
- Self‑revive token — a configurable consumable item; a downed player can use it to revive themselves (/giveselfrevive
<player>).
- /giveup — downed players can give up (or hold sneak) to stop bleeding out and go straight to the hospital.
- /operate <player> — doctors can release a hospitalised patient early, or revive a downed player.
- /reviveadmin reload — reload the config without restarting the server.
- /hospitaladmin preview <bed> — lie on a bed to preview a patient's position/rotation while setting it up.
- Down broadcast — optional server‑wide "X has been downed!" message.
- Instant‑revive mode — option to disable the defibrillator minigame for a one‑click revive.
- Deathban‑style options — independently disable the bleed‑out state and/or the hospital system.
Bug fixes
- Fixed the defibrillator wrongly saying "this player is not in critical condition" while it was actually operating on a hospital patient.
- Fixed stacked/duplicate hospital timers after a quick re‑hospitalisation.
- Fixed unwanted Slowness when a patient woke up mid‑operation — the operation now cancels cleanly.
- Fixed hospital beds: patients now keep the bed's rotation and are centred on the bed.
- Fixed the GSit "sit on player" ghost/no‑hitbox glitch on downed or hospitalised players.
- Hardened the random multi‑player teleport issue.
- Blocked reviving/operating while you are yourself downed or in surgery.
- Doctors can no longer earn the operation reward just by using /operate (no free money).
- All command messages are now fully English (no mixed language).
New config options
- Bleed‑out timeout now in seconds (finer control).
- Configurable operation duration, rewards, and a toggle to consume the defibrillator on use.
- Auto‑leave the bed when the timer ends (with optional seconds‑before).
- Logout handling: optionally kill players who log out while downed; resume the bed timer on rejoin.
- Block natural/food healing while downed or hospitalised.
- Cancel an in‑progress operation/minigame by sneaking.
