GuardMod is a Fabric mod designed to improve server security by verifying both the mods and configurations used by players when they join your server.
Instead of trusting the client blindly, GuardMod performs an automatic check to ensure every player follows the server rules.
It can:
- Validate allowed mods
- Detect disallowed mods instantly
- Check configurations (e.g. VoxelMap cave mode)
- Kick players who don't comply
This makes it especially useful for semi-competitive or controlled modded servers.
File: config/guardmod.toml
Example:
allowed_mods = ["guardmod","fabric-api","sodium","voxelmap","c2me-*"]
required_mods = ["guardmod"]
timeout_seconds = 10
[rules]
"voxelmap.cave_mode" = "false"
"voxelmap.entity_radar" = "false"
You can allow groups of mods:
"c2me-*"
This automatically allows:
- c2me-base
- c2me-fixes-*
- any mod starting with
c2me-
Commands
/guardmod reload
- Reloads the configuration
- ⚠️ Server console only
/guardmod status
- Displays current system status
Kick examples
- "Unauthorized mod: xaerominimap"
- "VoxelMap cave mode enabled"
- "Client did not respond in time"