ModGuard

ModGuard

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

by
26 Downloads
fabricmanagementutility
Rent Server with this Mod

About this Mod

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 <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 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.

Available Versions

ModGuard 1.0.1release
MC 1.20.4fabric
March 6, 2026

How to Install ModGuard on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

Install Mod

Open the mod browser in the dashboard and search for "ModGuard". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.4

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

ModGuard 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.20.4). You can switch loaders with one click in the panel.

Is ModGuard compatible with fabric?

ModGuard officially supports fabric for Minecraft 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with ModGuard – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if ModGuard 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.

Rent Modded Server

Install ModGuard with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.4