mcAnticheat
An explainable anticheat for Paper with 58 checks, a join gate that reads the client before it reaches the world, 3D replays, a web panel and an optional AI advisor that only suggests.
Quick start
- Put
mcAnticheat-1.0.0.jarinplugins/and start the server. SQLite is used by default. - For the first day set
learning-mode: trueinconfig.ymland run/ac reload. Flags are recorded, nobody is punished. - Type
/ac status, then/ac checksto see the 58 checks. Staff withmcanticheat.alertscan type/ac verboseto see dry-run flags. - To use the panel type
/ac panelfor a one-time login link (the panel is on by default). - After a day, mark wrong flags as false positives, raise the buffer of noisy checks, set
learning-mode: false, and switch the statistical checks live only if you want them.
Getting started
Install it and get running.
Overview
mcAnticheat is an anticheat for Paper. Its flags say why : what the player did and what the rules allowed, for example Moved...
Installation and requirements
No ProtocolLib, no database server and no client mod are needed. The plugin attaches its own packet handler to each player's...
Your first day
A new server should run a day with nothing punished, so you can see what the checks think of your players before they act on it.
Using it
How every feature works.
How detection works
Every check enforces one rule of the game and compares what the player did with what the rule allows. The plugin tracks each...
Movement checks
Movement checks judge each position packet against the physics of the last tick. "Default" shows the starting state and...
Combat checks
Combat checks judge hits, rotations and click timing. The statistical ones (aim, click statistics) only add suspicion and...
World checks
World checks judge breaking, placing and inventory use. X-ray is statistical and starts in dry run. "Default" shows the...
Packet checks
Packet checks run on the connection thread and can drop a packet before the server sees it. Their limits are generous: they...
Client checks
The client category holds the anti-bot check. The join gate (next sections) does the rest of the client work. "Default" shows...
Alerts, actions and punishments
Staff with mcanticheat.alerts get a chat line per flag with buttons: TP , Spectate , Case and, when a replay exists, Replay ....
The join gate
When a player joins, the gate holds them for at most join-gate.hold-ms (1500) in a safe state: invulnerable, invisible, frozen...
What the join gate cannot see
A client that changes its brand, hides its channels and answers like vanilla passes the gate. The gate raises the cost of...
Replays and evidence
A flight recorder keeps a rolling buffer for each player: position, rotation, state flags, ping, TPS, speed, the speed limit...
The web panel
On by default and reachable only from this computer. To change it, edit config.yml :
Putting the panel behind HTTPS
The panel speaks plain HTTP. For anything beyond localhost, keep bind-address: 127.0.0.1 , put a reverse proxy with HTTPS in...
AI advisor
Optional and off. The AI helps staff read data; it is never the judge. It cannot ban, kick or change a setting. It can only...
Against ESP and X-ray
The real fix is Paper's own anti-xray, which sends fake ore to the client so an X-ray pack or cheat has nothing real to show....
Tune a noisy check in 3 steps
Find it. Panel, Checks: the card with the most flags in the last 10 minutes. Or /ac checks and the alert lines. Open the check...
Bedrock and ViaVersion players
Players on Bedrock (through Geyser and Floodgate) move and aim differently. The plugin finds them through the Floodgate or...
Exemptions and bypass
mcanticheat.bypass : nothing is checked. mcanticheat.bypass.<check id> and mcanticheat.bypass.<category> (movement, combat,...
The in-game menu
/ac menu ( mcanticheat.gui ) opens: overview (TPS, cost, players, flags, packet hook), players (click for teleport, spectate,...
Reference
Commands, permissions and settings.
Commands
Main command /ac , aliases /anticheat and /mcac . mcanticheat.admin includes every staff permission.
Permissions
Staff nodes are op by default. Bypass nodes and panel roles are not given to anyone by default.
Placeholders
Needs PlaceholderAPI. They read the online player; values are empty for offline players.
config.yml
The main settings. Each check also has its own block in checks.yml : enabled , shadow (dry run), buffer-limit , buffer-decay ,...
Developer API
Get the API with McAnticheatAPI.get() (null while the plugin is off). Add mcAnticheat as a softdepend or depend . The classes...
Events
All events are in dev.technotypist.mcanticheat.api.event . They fire on the server thread.
Files and data
Everything is in plugins/mcAnticheat/ .
Performance
The target is under 0.5 ms per player per tick. The plugin measures it on your server: /ac status and the panel Health page...
Help
Fixes, answers and updating.
What it cannot do
It does not catch every cheat. A cheat that stays inside the margins (about 1 to 2 percent over vanilla for speed, an aim...
Troubleshooting
The server's internals did not match what the plugin looks for. Checks that use events (attacks, breaking, placing, inventory)...
FAQ
It does not need them. It attaches its own handler to each connection. They can be installed next to it.
Support
Need help? Join the support Discord: https://discord.gg/V9J6fAKebg .
Stuck on mcAnticheat?
Ask in our Discord. We answer questions, take bug reports and hear your ideas.