# 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)