Immortality
掌控死亡本身。
Immortality 是一款轻量级的服务端 Fabric 模组,让你决定谁生谁死。赋予玩家承受致命伤害而不死的能力,通过简单的命令管理不死状态,并配置你的服务器上不死效果的运作方式。
无需安装客户端。
功能
- 单人不死效果 — 使用选择器为单个或批量玩家授予或撤销不死状态。
- 限时不死效果 — 授予特定持续时间的不死状态,或设为永久生效。
- 全局不死效果 — 在全服务器范围内启用或禁用不死效果。
- 可配置的默认值 — 可选择玩家是否默认拥有不死状态。
- 状态与玩家列表 — 查看不死状态及当前生效的授予记录。
- 持久化配置 — 设置和不死授予记录会自动保存。
- 过期选项 — 配置过期信息的显示和通知。 兼容不死图腾 — 不死图腾继续正常工作。
- 轻量且仅服务端 — 玩家无需在客户端安装此模组。
命令
所有命令均以 /immortal 为根命令。
玩家不死效果
| 命令 | 描述 |
|---|---|
/immortal |
切换你自己的不死状态 |
/immortal set <player> <true|false> [duration] |
授予或撤销不死状态 |
/immortal get <player> |
检查某玩家的不死状态 |
/immortal status [player] |
查看你或其他玩家的状态 |
/immortal list |
列出拥有不死状态授予的玩家 |
player 参数支持 Minecraft 选择器,如 @a 和 @p(视情况适用)。
全局控制
| 命令 | 描述 |
|---|---|
/immortal global |
切换全局不死效果 |
/immortal global <true|false> |
明确启用或禁用全局不死效果 |
/immortal default <true|false> |
设置玩家的默认不死状态 |
/immortal info |
查看不死配置信息 |
/immortal reload |
重新加载配置 |
限时不死效果
你可以通过在 /immortal set 后添加持续时间来授予限时不死效果。
示例:
/immortal set Steve true 30m— 30 分钟不死。/immortal set Steve true 2h— 2 小时不死。/immortal set Steve true 1d— 1 天不死。/immortal set Steve true 1h30m— 1 小时 30 分钟不死。
支持的持续时间单位包括:
t— 刻(Ticks)s— 秒m— 分钟h— 小时d— 天w— 周
省略持续时间则授予永久不死效果。将值设置为 false 则撤销授予。
配置控制
使用 /immortal gamerule 查看和更改支持的设置:
global— 全局不死模式。default— 玩家是否默认拥有不死状态。allowTimed— 允许授予限时不死效果。showExpiration— 显示授予过期信息。notifyExpiration— 当玩家的不死状态过期时发送通知。
例如:
/immortal gamerule allowTimed false
禁用限时不死效果授予。
工作原理
当拥有不死状态的玩家本应死亡时,Immortality 会阻止死亡发生,并将玩家保持在 半颗心 的生命值状态。
不死效果并不会阻止伤害本身。玩家仍会受到伤害;该模组仅在伤害足以杀死玩家时介入。
不死图腾保留其正常行为。
权限
管理命令旨在供服务器操作员使用。该模组使用 Minecraft 内置的操作员权限。
服务器控制台也可以运行管理命令。
使用场景
- 脚本化 Minecraft 服务器
- 冒险地图和自定义事件
- 为选定玩家提供上帝模式
- 角色扮演服务器
- 测试与服务器管理
- 活动期间临时保护
配置与数据
配置文件存储在以下位置:
config/immortality.json
设置和不死授予记录会被持久化保存,以便在服务器重启后恢复。
安装
- 在你的服务器上安装 Fabric Loader。
- 安装所需的 Fabric API 模块。
- 将 Immortality JAR 文件放入服务器的
mods文件夹中。 - 启动服务器。
无需安装客户端。
兼容性
Immortality 是一款仅服务端的 Fabric 模组。在安装前,请查看此 Modrinth 项目页面上列出的受支持的 Minecraft 版本。
Immortality
Take control over death itself.
Immortality is a lightweight, server-side Fabric mod that lets you decide who lives and who doesn't. Grant players the ability to survive fatal damage, manage immortality through simple commands, and configure how immortality works on your server.
No client installation required.
Features
- Per-player immortality — Grant or revoke immortality for individual players or multiple players using selectors.
- Timed immortality — Grant immortality for a specific duration, or make it permanent.
- Global immortality — Enable or disable immortality server-wide.
- Configurable defaults — Choose whether players are immortal by default.
- Status and player lists — Check immortality status and list active grants.
- Persistent configuration — Settings and immortality grants are saved automatically.
- Expiration options — Configure expiration display and notifications.
- Totem compatibility — Totems of Undying continue to work normally.
- Lightweight and server-side — Players don't need to install the mod on their clients.
Commands
All commands use the /immortal root.
Player immortality
| Command | Description |
|---|---|
/immortal |
Toggle immortality for yourself |
/immortal set <player> <true|false> [duration] |
Grant or revoke immortality |
/immortal get <player> |
Check a player's immortality status |
/immortal status [player] |
View your status or another player's status |
/immortal list |
List players with immortality grants |
The player argument supports Minecraft selectors such as @a and @p where applicable.
Global controls
| Command | Description |
|---|---|
/immortal global |
Toggle global immortality |
/immortal global <true|false> |
Explicitly enable or disable global immortality |
/immortal default <true|false> |
Set the default immortality state for players |
/immortal info |
View immortality configuration information |
/immortal reload |
Reload the configuration |
Timed immortality
You can grant immortality for a limited duration by adding a duration to /immortal set.
Examples:
/immortal set Steve true 30m— Immortality for 30 minutes./immortal set Steve true 2h— Immortality for 2 hours./immortal set Steve true 1d— Immortality for 1 day./immortal set Steve true 1h30m— Immortality for 1 hour and 30 minutes.
Supported duration units include:
t— Tickss— Secondsm— Minutesh— Hoursd— Daysw— Weeks
Omitting the duration grants permanent immortality. Setting the value to false revokes the grant.
Configuration controls
Use /immortal gamerule to view and change supported settings:
global— Global immortality mode.default— Whether players are immortal by default.allowTimed— Allow timed immortality grants.showExpiration— Display grant expiration information.notifyExpiration— Notify players when their immortality expires.
For example:
/immortal gamerule allowTimed false
Disables timed immortality grants.
How It Works
When an immortal player would die, Immortality prevents the death and keeps the player alive at half a heart.
Immortality does not prevent damage itself. Players can still take damage; the mod intervenes when that damage would otherwise kill them.
Totems of Undying retain their normal behavior.
Permissions
Administrative commands are intended for server operators. The mod uses Minecraft's built-in operator permissions.
The server console can also run administrative commands.
Use Cases
- Scripted Minecraft servers
- Adventure maps and custom events
- God mode for selected players
- Roleplay servers
- Testing and server administration
- Temporary protection during events
Configuration and Data
The configuration file is stored at:
config/immortality.json
Settings and immortality grants are persisted so they can be restored after a server restart.
Installation
- Install Fabric Loader on your server.
- Install the required Fabric API modules.
- Place the Immortality JAR in your server's
modsfolder. - Start the server.
Client installation is not required.
Compatibility
Immortality is a server-side Fabric mod. Check the supported Minecraft versions listed on this Modrinth project before installing.
下载 Immortality
下载 Immortality
下载 Immortality
下载 Immortality
下载 Immortality
下载 Immortality
下载 Immortality
下载 Immortality
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧