Skip to content

ModGuard

a basic server‑side anti‑cheat and mod‑protection system

Fabric
Loaders
Fabric
Downloads on Modrinth
81
Followers on Modrinth
0
version
1
Updated
March 6, 2026Mar 6
Published
in 2026

At a glance

Runs on Fabric
For Minecraft 1.20.4
Needed in the game and on the server
Latest version — 1.0.1 from March 6, 2026
Requires Fabric API
License MIT — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.20.4

ModGuard-logo


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.jar in your mods/ folder. Config files auto-generate in config/ (modguard_config.json and modguard_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, and enabled toggles. (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 listmods to list loaded mods or `/modguard spectate ` to stealthily observe suspects.
  • X-Ray Management - Control detection via /modguard xraylist (show all settings), `/modguard xrayvalues (adjust limits), and/modguard xray enable|disable` (toggle tracking).
  • Violation Logs - View records with /modguard xraylog or 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.

FAQ

How to install ModGuard?

Install Fabric for your Minecraft version, download ModGuard for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does ModGuard support?

ModGuard has builds for Minecraft 1.20.4.

Is ModGuard needed on the server?

Needed in the game and on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More