HomeJavaModsAntiFakeLag
AntiFakeLag
ModsJava

AntiFakeLag

by ErRoR6_6_6 · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.4 · Paper⬇ Download for 1.20–1.20.6 · Paper⬇ Download for 1.16–1.16.5 · Paper⬇ Download for 1.21–1.21.4 · Spigot⬇ Download for 1.20–1.20.6 · Spigot⬇ Download for 1.16–1.16.5 · Spigot
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

⚡ AntiFakeLag

Detect lag switching, fakelag, and suspicious network manipulation before it becomes a problem.

AntiFakeLag is a lightweight server-side detection plugin that analyzes packet timing patterns and player behavior to identify abnormal network activity that traditional ping-based checks often miss.

Built for competitive servers, PvP communities, and administrators who want better visibility into suspicious connection behavior.

Requires ProtocolLib


✨ Features

📦 Packet Timing Analysis

Monitors movement and keep-alive packet timing to identify unusual network patterns.

🚨 Burst Detection

Detects large bursts of packets and movement after periods of suspicious inactivity.

📊 Network Stability Tracking

Uses variance analysis to evaluate connection consistency over time.

🎯 Behavioral Lag Scoring

Generates a dynamic suspicion score from 0 to 100 based on observed behavior.

⚙️ Fully Configurable

Customize thresholds, alerts, and actions to fit your server.

🪶 Lightweight Design

Built to provide detailed analysis without impacting server performance.

🚫 Not Ping-Based

Ping is only part of the picture.

AntiFakeLag focuses on packet flow and player behavior instead of relying solely on latency values.


🔍 How It Works

Traditional systems often assume that high ping automatically explains unusual movement.

AntiFakeLag takes a different approach.

The plugin continuously monitors packet consistency, timing intervals, and movement patterns. When packet flow suddenly stops and later resumes in large bursts, the behavior is analyzed and contributes to a dynamic suspicion score.

This allows the plugin to identify patterns commonly associated with:


🚦 Detection Responses

When configured thresholds are exceeded, AntiFakeLag can:

By default, the plugin focuses on detection and visibility rather than automatic punishment.


🎯 Why AntiFakeLag?

Because a player can have perfectly normal ping and still manipulate network behavior.

Traditional checks see latency.

AntiFakeLag analyzes the packets themselves.


🧩 Requirements


📈 Performance

AntiFakeLag was designed to operate continuously with minimal overhead.

Packet analysis is optimized to provide useful detection data without becoming another source of server lag.

The irony of a lag detection plugin causing lag was considered unacceptable.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more