Only show guides for your app
Two different problems, two different tools — the anti-xray already built into Paper, and what anti-cheat plugins can and genuinely can't catch on a small server.
People lump "stop cheaters" into one wish, but it's two separate problems with two separate answers. Anti-xray hides ores from x-ray users. Anti-cheat tries to detect movement and combat hacks like fly, speed, and killaura. This guide covers both — and it's honest about the ceiling, because overselling anti-cheat is how servers end up punishing innocent players while the real cheaters walk through.
| At a glance | |
|---|---|
| You need | A plugin-capable server for anti-cheat plugins; anti-xray is built into Paper-family software |
| Plan | Any |
| Time | Ten minutes to decide what you actually need |
If you run Paper, Purpur, Pufferfish, or Leaf, you already have anti-xray — it's built into the server software, no plugin required. It works by obfuscation: the server sends fake ore blocks scattered through the stone so an x-ray user sees noise instead of the real veins. You turn it on and tune it in the Paper/Purpur config files (the anti-xray section, with an engine-mode setting) — see Paper config tour.
Honest limits:
🎯 Good to know: Don't install a separate anti-xray plugin on top of Paper's built-in one. Two systems fighting over the same block data waste CPU and can cancel each other out.
Anti-cheat plugins watch how players move, hit, and interact, and flag or block behavior that isn't physically possible — flying without permission, moving too fast, hitting through walls, attacking faster than a human can click. When it works, it catches the obvious stuff.
Here's the honest part, because it matters:
The best defense depends on who's on your server:
| Your server | Best defense |
|---|---|
| Friends only | A whitelist — nobody you didn't invite can join. Nearly all your cheating risk disappears. See Customize your server. |
| Small trusted community | Whitelist or application-only, plus active ops who can spot and ban. See the moderation playbook. |
| Public, open server | An anti-cheat plugin and good moderation and built-in anti-xray — layered, because no single layer is enough |
⚠️ Heads up: On a small friends server, an aggressive anti-cheat often causes more grief (false kicks, rubber-banding) than it prevents. A whitelist is simpler, lighter, and more effective. Reach for anti-cheat when your server is genuinely public.
Because which anti-cheat is currently effective changes constantly, check current reviews and the plugin's own docs for your version before committing — this is not a "set it and forget it" pick.
Test on yourself with permission to be exempt turned off: try to trip a basic check (in a safe test world). A well-configured anti-cheat logs the event; a badly-configured one bans you for lagging. Watch the console and the plugin's log for what it actually flags on real players before trusting auto-actions.