
Immortality+
A Fabric server-side mod that lets you toggle persistent death protection per-player, with chat feedback, player listing, and save/load across restarts
Оцените первым
4.7K
2
Список изменений
Security
- /immortal and /immortallist now require OP level 2 (GAMEMASTERS_CHECK) — previously ungated, any player could toggle immortality on anyone Fixes
- Death cancel no longer re-kills the next tick: handler now unconditionally sets health to 1.0 (was Math.max(1.0f, getHealth()), which left lethal-damage victims at ≤0 HP for vanilla's isDead check)
- /immortal
failures now surface the real CommandSyntaxException message instead of the generic "execute as player" fallback that fired even when the sender was a player - /immortal
success no longer broadcasts to all ops (feedback set to false)
Metadata
- fabric.mod.json environment: * → server (this is a server-side-only mod)
- fabricloader depends: >=0.18.4 → >=0.19.3 (matches actual loader)
- fabric-api depends: * → >=0.141.4+1.21.11 (was unbounded)
Cleanup
- Removed per-death INFO log spam, duplicate set-logging in toggleImmortal
- Dropped misleading "try to get name from user cache" comment in /immortallist (UserCache has no public getter in 1.21.11; offline entries honestly show truncated UUID) Known minor issues deferred from this release: save file lacks trailing newline/fsync; loadImmortalPlayers runs on SERVER_STARTING with a clear() (theoretical risk on integrated-server world switch). Both low priority.
Файлы
immortality-plus-1.0.1.jar(11.77 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.1
Загрузчики
Fabric
Версии игры
1.21.11
Загрузок
1.2K
Дата публикации
09.07.2026
