Minecraft itself checks for very few cheats. With hacked clients, players can, for example, fly, run faster, or hit from farther away than the game allows. An anti-cheat detects these violations and reports them to you. In this guide, we’ll show you how to install the free, open-source anti-cheat Grim, how to avoid false positives, and what’s possible on modded servers.
You need a Minecraft server with a server type that supports Grim:
| Server type | Grim as | Tab in the web interface |
|---|---|---|
| Paper, Purpur, Spigot, Folia | Plugin | Plugins |
| Fabric | Mod | Mods |
| Forge, NeoForge | Not available | – |
| Vanilla | Not available | – |
If your server runs Vanilla, change the server type under Games & variants, for example, to Paper. Switching games and managing variants explains how. The Fabric version of Grim is available for Minecraft 1.16.1 to 1.21.x and 26.1.2 to 26.3.
Proxy networks If you use a proxy such as Velocity or BungeeCord, install Grim on the game servers behind it, not on the proxy.
- Open your game server’s management page and switch to the Plugins tab.
- Search for Grim Anticheat in the Plugin Browser and click Install.
- If your server is running, confirm the automatic restart by clicking Yes, run automatically.
When it starts for the first time, Grim creates the plugins/GrimAC folder with its configuration files.
- Switch to the Mods tab.
- Search for Grim Anticheat in the Search mods... field, click Install, and select the Version if needed.
- If the server is running, confirm by clicking Yes, run automatically.
If you can’t find Grim in the browser, download the file from Modrinth and place it in the plugins or mods folder using the Files tab. See Installing and managing plugins.
- Grim reports violations but doesn’t punish players. By default, Grim only posts violations in chat and in the log. No one is automatically kicked or banned.
- Viewing alerts: On plugin servers, players with OP permissions receive alerts automatically. Use
/grim alertsto turn them on or off for yourself. Other team members need thegrim.alertspermission. See Granting OP permissions on the server to learn how to grant OP permissions. - Checking players:
/grim profile Steveshows information about the player Steve, such as their client version. Use/grim spectate Steveto watch them as a spectator, and/grim stopspectatingto return. ReplaceStevewith the player’s name each time. - Bedrock players: Grim doesn’t check players who join through GeyserMC, to prevent false positives. Learn more about Geyser in Setting up Java-Bedrock crossplay with GeyserMC.
Grim compares every movement with what would be possible in normal Minecraft. That means legitimate players can also trigger alerts:
- Client mods: Some mods change movement, block placement, or inventory behavior and can trigger alerts—for example, Mouse Tweaks, Inventory Profiles Next, or Vivecraft. The Grim developers maintain a list of known incompatible client mods.
- Observe first, punish later: Let Grim report violations for a few days and check which checks are triggered for which players before setting up automatic punishments.
- Exempt individual players: Use the
grim.exempt.permission followed by the name of the check—for example,grim.exempt.reach—to disable a specific check for a player. Usegrim.disabledto disable Grim entirely. You grant permissions with a permissions plugin.
Set up automatic kicks or other commands in the plugins/GrimAC/punishments.yml file, which you can edit in the Files tab. Each check is listed in a group, and under commands you specify what happens and after how many violations. The first number is the threshold; the second is the interval at which the command is run again. Here’s an example from the Grim documentation:
Punishments:
BlockCheck2:
checks:
- "PositionPlace"
commands:
- "1:1 [alert]"
- "10:10 kick %player% &cStop cheating!"
Here, Grim reports every violation and kicks the player after ten violations. Violations expire after 300 seconds. You can change this for each group with remove-violations-after. Disable a check by removing it from all groups. Apply your changes with /grim reload or by restarting the server. Note that /grim reload resets all violations for players who are currently online.
Plugins don’t run on Forge or NeoForge servers, and Grim isn’t available for them. You can still protect your server:
- Whitelist: Only allow players you know to join the server. See Enabling and editing the whitelist.
- Default settings: Keep
online-mode=true(only players with a genuine Minecraft account) andallow-flight=false(no flying in survival mode using mods) inserver.properties. Both are the default settings. Server config settings explains these options. - Grant OP permissions sparingly: Depending on their permission level, players with OP permissions can, for example, kick or ban other players. Only grant them to people you trust.
If you need an anti-cheat plugin, use a server type with plugins, such as Paper, or use Fabric for mods. Then Grim will be available to you.
To protect against X-ray mods that let players see ores through walls, Paper has its own built-in Anti-Xray feature. Setting up Anti-Xray in Paper shows you how to enable it.
A legitimate player keeps getting flagged. Ask them which client mods they use and compare them with the list of incompatible mods. If that doesn’t help, exempt them from the affected check with the appropriate grim.exempt. permission.
I’m not receiving alerts. Check whether you have OP permissions or the grim.alerts permission, and turn on alerts with /grim alerts.
Grim won’t start. Check the Console tab for the error message that appears during startup. Common causes include a Grim version that isn’t compatible with your Minecraft version or a server type that Grim doesn’t support.