Anti-cheatSecurityPlugins4 min read

Configure anti-cheat on your server

Install and configure anti-cheat plugins to protect your Minecraft server from hackers.


Why anti-cheat?

Public Minecraft servers are targets for players using hacked clients (kill aura, fly, speed, X-ray). Anti-cheat plugins detect and prevent these cheats automatically.

Popular anti-cheat options

PluginTypeBest for
GrimFreeModern servers, best detection
VulcanPremiumLarge servers, low false positives
NoCheatPlusFreeLegacy, simple setup
MatrixFreemiumBalance of features

Install Grim (recommended)

  1. Download Grim from modrinth.com/plugin/grim
  2. Upload to plugins/ via panel.baires.host
  3. Also install PacketEvents (required dependency)
  4. Restart the server

Configure Grim

Edit plugins/Grim/config.yml:

yaml
# Punishment settings
punishment:
  enabled: true
  command: "kick %player% Unfair advantage detected"
  violations-before-punishment: 20

# Check toggles
checks:
  flight:
    enabled: true
  speed:
    enabled: true
  combat:
    enabled: true
  timer:
    enabled: true

Configure alerts

Set up staff notifications:

yaml
alerts:
  enabled: true
  permission: "grim.alerts"
  min-violations: 5

Staff with the grim.alerts permission will see real-time cheat detection messages.

Reduce false positives

  • Set appropriate thresholds (don't punish on first violation)
  • Exempt players with high ping from strict movement checks
  • Test with legitimate gameplay before enabling punishments
  • Disable checks that conflict with your plugins (e.g., flight check if you have a fly plugin)

Combine with other protections

  • CoreProtect: Log and rollback griefing
  • AntiXray (Paper built-in): Hide ores from X-ray
  • Spartan: Additional behavioral analysis

Enable Paper's built-in anti-xray in paper-global.yml:

yaml
anticheat:
  anti-xray:
    enabled: true
    engine-mode: 2

Tips

  • No anti-cheat is 100% perfect — combine with active moderation
  • Keep anti-cheat plugins updated (cheat clients evolve constantly)
  • Monitor false positive reports from players
  • Use engine-mode: 2 for anti-xray (more effective than mode 1)

Was this guide helpful?