
SpawnGuard
Mod that protects players from mob attacks for a set duration after spawning, ensuring a safe start in any world. Ideal for survival or challenge-based packs where early-game defense is crucial.
About this Mod
SpawnGuard
Survive your first moments. SpawnGuard protects players from hostile mob attacks for a configurable duration after spawning — no more losing everything to a creeper before you even find wood.
✨ Features
- Automatic Spawn Protection — Every new player gets a Mob Attack Protection effect the moment they join the world
- Fully Configurable — Set the protection duration to whatever fits your server or playstyle
- Brewable Potions — Craft your own protection on demand with the Potion of Mob Attack Protection
- Multiloader — Works on Fabric and NeoForge (Forge supported up to 1.21.4)
- ModMenu Support — Fabric users get an in-game config screen via ModMenu
🧪 Brewing Recipes
| Recipe | Result | |
|---|---|---|
| Potion of Weakness + Blaze Powder | Potion of Mob Attack Protection | ![]() |
| Potion of Mob Attack Protection + Redstone | Long Potion of Mob Attack Protection | ![]() |
⚙️ Configuration
Fabric (config/spawnguard.json5):
{
"enableSpawnGuard": true,
"mobAttackProtectionDuration": 6000
}
NeoForge (config/spawnguard-common.toml):
enableSpawnGuard = true
mobAttackProtectionDuration = 6000
enableSpawnGuard— Toggle spawn protection on or offmobAttackProtectionDuration— Duration in ticks (20 ticks = 1 second, default: 6000 = 5 minutes)
📦 Supported Platforms
| Loader | Required Dependencies |
|---|---|
| Fabric | Fabric API, Cloth Config |
| NeoForge | — |
| Forge | — (up to 1.21.4 only) |
🔗 Links
Available Versions
How to Install SpawnGuard on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "SpawnGuard". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.4, 1.21.1 (+3 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
SpawnGuard server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is SpawnGuard compatible with fabric and forge and neoforge?
SpawnGuard officially supports fabric, forge, neoforge for Minecraft 1.21.11, 1.21.4, 1.21.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with SpawnGuard – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if SpawnGuard consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install SpawnGuard with just one click on your server.

