Spawn Ward

Quick rating

Community listing page, reviews here may not be monitored by the author.

Spawn Ward

By AelrixOwner

No reviews yet

Gives players temporary spawn immunity after joining world or respawning which was removed after 1.21.3

Mod Loaders
Minecraft
26.2

About

Description

# SpawnWard

A lightweight server-side Fabric mod that restores the temporary spawn protection removed after Minecraft 1.21.3. Players receive a short period of invincibility when joining a world, helping prevent unfair spawn kills and spawn camping.

## Features

- 🛡️ Restores temporary spawn protection on player join.
- ⚡ Lightweight and optimized for performance.
- 🌐 Server-side only — clients do not need to install the mod.
- 🔧 Simple configuration.
- 📦 Supports multiple Minecraft versions.

## Requirements

- Fabric Loader
- Fabric API
- A supported Minecraft version (see Releases or Modrinth)

## Installation

1. Install Fabric Loader for your Minecraft version.
2. Download the matching SpawnWard release.
3. Place the `.jar` file in your server's `mods` folder.
4. Start or restart the server.

## Compatibility

SpawnWard supports multiple Minecraft versions. Check the **Releases** page or **Modrinth** for the latest supported versions.

## Building

Clone the repository and run:

### Linux/macOS

```bash
./gradlew build
```

### Windows

```bat
gradlew.bat build
```

The compiled JAR will be generated in:

```
build/libs/
```

## Contributing

Contributions, bug reports, and feature requests are welcome. Feel free to open an issue or submit a pull request.

## License

This project is licensed under the MIT License. See the `LICENSE` file for details.

## Author

Rumman (Aelrix)

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

  1. Install Fabric Loader for your Minecraft version.
  2. Install Fabric API.
  3. Place spawnward-<version>.jar into your mods folder.
  4. 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.