
ModGuard
Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.
⬇ Download on Modrinth
Is a security and anti-cheat mod for Minecraft servers, featuring a strict mod whitelist system and real-time X-Ray detection to ensure fair gameplay. Guard your server from unauthorized client modifications and track suspicious mining activity effortlessly.
Features
Mod Whitelist System
- Client Validation - Actively validates client mods against a secure whitelist.
- Strict Enforcement - Automatically kicks players with unauthorized or missing mods and actively blocks mod-bypass attempts.
X-Ray Detection System
- Real-Time Tracking - Tracks ore-mining patterns in real-time across 9 supported ore types.
- Admin Alerts & Tools - Features persistent violation tracking and immediate admin alerts, complete with quick teleport and spectate options.
Configuration & Installation
- Easy Setup - Place
modguard-1.0.0.jarin yourmods/folder. Config files auto-generate inconfig/(modguard_config.jsonandmodguard_violations.json). - Custom Whitelist - Add your server's allowed mod names directly to
"allowedMods"in the config file. - Ore Detection Limits - Configure each ore with specific
threshold,timeWindowSeconds, andenabledtoggles. (Default examples: Diamond triggers at 10 in 300s; Ancient Debris triggers at 5 in 300s. Others are disabled by default).
Commands (OP Level 2)
- General Administration - Use
/modguard listmodsto list loaded mods or/modguard spectate <player>to stealthily observe suspects. - X-Ray Management - Control detection via
/modguard xraylist(show all settings),/modguard xrayvalues <ore> <threshold> <seconds>(adjust limits), and/modguard xray <ore> enable|disable(toggle tracking). - Violation Logs - View records with
/modguard xraylogor wipe the slate clean using/modguard xraylog clear all.
Dependencies:
- Fabric API
Server-Side & Client-Side - Required on both the server and the client. All players must install the same mod in their mods/ folder to connect; missing the mod results in an automatic kick from the server.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.4
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as modguard-1.0.1.jar — drop this file into the mods folder
- Download size: 42 KB
- Download link checked 3 Oct 2026 — working
These come from our own check of the pack file, not from the source page.