SpawnWard
SpawnWard 通过为玩家在世界或服务器中首次加入,或死亡重生后提供临时的、完整的伤害免疫,恢复了 Minecraft 经典的出生点保护机制。这有助于防止因敌对生物、环境危害或出生点蹲守(spawn camping)导致的非公平死亡。
专为现代 Fabric 打造,SpawnWard 轻量级、仅服务端运行,并注重性能优化。
✨ 功能特性
- 即时保护 – 每当玩家加入世界或重生时自动激活。
- 完全伤害免疫 – 在保护生效期间,阻挡所有 incoming 伤害,包括来自生物、岩浆、摔落、PvP、爆炸及其他伤害来源的伤害。
- 游戏内可配置 – 使用 Minecraft 内置的 gamerule 系统随时调整保护持续时间。无需重启。
- 专注性能 – 采用高效的事件驱动系统,而非持续轮询检查所有在线玩家。
- 仅限服务端 – 适用于专用服务器、局域网世界和单人游戏,客户端玩家无需安装此模组即可游玩。
⚙️ 配置
SpawnWard 添加了一个原生的 Minecraft gamerule,用于控制出生点保护的持续时间:
/gamerule spawnImmunityTicks <value>
Minecraft 的运行速度为每秒 20 ticks。
示例
| 保护时长 |
命令 |
| 禁用 |
/gamerule spawnImmunityTicks 0 |
| 3 秒(默认值) |
/gamerule spawnImmunityTicks 60 |
| 5 秒 |
/gamerule spawnImmunityTicks 100 |
| 10 秒 |
/gamerule spawnImmunityTicks 200 |
? 安装指南
- 为你的 Minecraft 版本安装 Fabric Loader。
- 安装 Fabric API。
- 将
spawnward-<version>.jar 放入你的 mods 文件夹中。
- 启动游戏或启动你的服务器。
注意: SpawnWard 是一个服务端模组。加入服务器的玩家不需要在客户端安装它。
? 许可证
SpawnWard 是开源软件,遵循 MIT License 许可协议。
SpawnWard
SpawnWard restores Minecraft's classic spawn protection by granting players temporary, complete damage immunity immediately after joining a world or server, or respawning after death. This helps prevent unfair deaths caused by hostile mobs, environmental hazards, or spawn camping.
Built for modern Fabric, SpawnWard is lightweight, server-side, and designed with performance in mind.
✨ Features
- Instant Protection – Automatically activates whenever a player joins the world or respawns.
- Complete Damage Immunity – Blocks all incoming damage, including mobs, lava, fall damage, PvP, explosions, and other damage sources while protection is active.
- Configurable In-Game – Adjust the protection duration at any time using Minecraft's built-in gamerule system. No restart required.
- Performance Focused – Uses an efficient event-driven system instead of continuously checking every online player.
- Server-Side Only – Works on dedicated servers, LAN worlds, and singleplayer without requiring clients to install the mod.
⚙️ Configuration
SpawnWard adds a native Minecraft gamerule that controls the duration of spawn protection:
/gamerule spawnImmunityTicks <value>
Minecraft runs at 20 ticks per second.
Examples
| Protection Time |
Command |
| Disabled |
/gamerule spawnImmunityTicks 0 |
| 3 Seconds (Default) |
/gamerule spawnImmunityTicks 60 |
| 5 Seconds |
/gamerule spawnImmunityTicks 100 |
| 10 Seconds |
/gamerule spawnImmunityTicks 200 |
? Installation
- Install Fabric Loader for your Minecraft version.
- Install Fabric API.
- Place
spawnward-<version>.jar into your mods folder.
- Launch the game or start your server.
Note: SpawnWard is a server-side mod. Players joining a server do not need to install it on their client.
? License
SpawnWard is open-source software licensed under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧