Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.4–1.21.11
Platforms
Supported environments
Server-side
Client and server
Links
Tags
Creators
Details
Licensed Apache-2.0
Published 2 days ago
Updated yesterday
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>.jarinto yourmodsfolder. - 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.


