Category: Security

All the blog posts related to Minecraft Server Security

  • Pterodactyl Hardening: A Security Checklist for Your Minecraft Panel

    Pterodactyl Hardening: A Security Checklist for Your Minecraft Panel

    This checklist exists to help you close the door before someone else opens it. A Pterodactyl Panel is not just a control panel; it is a web application with root-equivalent reach into every game server you run. When a panel gets compromised, the game servers behind it usually fall next, and the host under them often follows.

    It is written for owners and administrators running Panel plus Wings with a small team and one or more nodes. The controls are ordered by impact, not effort. They come from auditing live Pterodactyl installs on Ubuntu 22.04 and 24.04, checking each item against the official Pterodactyl documentation and published advisories, and testing the firewall and Docker behavior on real nodes.

    The Panel Is the Front Door

    Think about what the panel can do. An admin account can create a server from any image, mount host paths, read the console of every instance, and issue commands through Wings to a daemon running as root. There is no meaningful separation between “web login” and “the machine” once an attacker is inside. Panel hardening is host hardening with a browser attached.

    The strongest single control is to stop the panel being publicly reachable at all. Put it behind WireGuard or Tailscale, Cloudflare Access with an identity provider, or an IP allowlist in nginx. If your team works from changing addresses, a VPN beats a growing list of CIDRs. If you must stay public, terminate TLS at a reverse proxy on 443, never hand out 8080 or 8443 directly, and rate-limit the login route. Keep panel and game nodes on separate machines, and allow the Wings port only from the panel’s IP.

    Priority table: what to fix first

    PriorityCheckWhy it mattersCommand or setting
    P0Panel not exposed on 8080/8443Login pages are scanned constantlyproxy_pass on 443 plus VPN or allowlist
    P0TLS valid, HSTS on, secure cookiesOtherwise credentials travel in clear textSESSION_SECURE_COOKIE=true
    P02FA enforced on every adminStolen passwords are the top entry pathProfile, then Enable Two-Step
    P1Wings port open only to panel IPThe daemon is root-adjacentufw allow from PANEL_IP to any port 8080
    P1Registration closed, subusers scopedOpen signup widens the blast radiusAdmin, Settings, then Advanced
    P2Encrypted off-site backups, restore drillRecovery survives a full compromiserestic backup over cron
    P2Update cadence and advisory watchCVEs are mass-scanned within dayscomposer update, Wings update

    Authentication and Access Control

    Assume every password will eventually leak through a reused login, a phishing page, or a breached database elsewhere. Your job is to make that leak useless. Generate a long, unique admin password in a password manager, then put a second factor on everything, because 2FA is the difference between a bad afternoon and a rebuilt node.

    Work through this list in the panel:

    • Enforce 2FA for every admin. TOTP is enough; hardware keys are better. Store recovery codes offline.
    • Close public registration. An open signup form is a free reconnaissance account.
    • Scope subusers tightly. Per-server permissions instead of Full Access, and a separate admin account from the one you play on.
    • Review accounts quarterly. Remove departed staff the same day.
    • Prune API keys. One key per integration, least scope, with an expiry date. Revoke anything without a named owner.
    • Clear stale sessions. Force a reset if a laptop is lost.

    The staff side is where audits fail. Sign-in logs only help if someone reads them, which is the argument in our guide to two-factor authentication and audit logs for Minecraft staff. Choosing a platform at all? Our Pterodactyl vs Multicraft comparison covers the tradeoffs.

    Network and Host Hardening

    Panel security is only as good as the operating system under it. Start with patching, because unpatched kernels and PHP releases are the cheapest route in. Enable unattended upgrades, reboot when the kernel changes, and check that reboots actually happen rather than pending forever in /var/run/reboot-required</code.

    Then reduce what is listening. A default-deny firewall plus SSH keys only, disabled password auth, and fail2ban on sshd and the panel's nginx access log removes most automated noise. Bind MySQL and Redis to localhost, because an exposed 3306 with a weak password hands over every user hash and server record. Run the panel as a non-root service user, keep .env at mode 640, and stop the web root serving dotfiles. Clock drift also breaks TLS validation and TOTP codes, so keep NTP running.

    Verify it, do not assume it

    Run these on the panel host and on each node, and read the output:

    ss -lntp                    # what is actually listening, and as whom
    ufw status verbose          # default policy and every open port
    systemctl status pterodactyl wings nginx --no-pager
    docker ps --format '{{.Names}} {{.Ports}}'
    curl -sI https://panel.example.com | grep -i strict-transport
    timedatectl status          # clock synced?

    Anything bound to 0.0.0.0 that is not a game port or your reverse proxy deserves an explanation. Our walkthrough of SSH keys and UFW for Minecraft servers covers the host layer in depth, and the proxy firewall guide handles the game-port side.

    Docker, Wings, and Node Isolation

    Docker socket access is effectively root on the host. Anyone who can talk to /var/run/docker.sock can start a container that mounts / and rewrites anything, so treat container control as a root grant. The Docker security documentation says this plainly, and it is the most commonly ignored fact in game panel setups. Never let an untrusted subuser or third-party plugin drive Docker for you.

    Read /etc/pterodactyl/config.yml line by line. Confirm the panel URL, daemon token, SFTP settings, and port, and confirm the file is not world-readable. Rotate the node token if it has been pasted into a ticket, and update Wings alongside the panel.

    Then bound the damage a single server can do. Set memory and CPU limits per server and enforce disk quotas on /var/lib/pterodactyl/volumes, because an unbounded container can starve every other server on the node. Separate nodes along trust boundaries: public servers on one host, staff and build servers on another, each with its own SSH keys and Wings token. Protect the panel database and .env too. The APP_KEY encrypts sensitive columns and signs sessions, so a leaked copy is worse than a leaked password. OWASP ASVS is a useful yardstick here.

    Backups, Updates, and Incident Response

    Backups are the only control that works after an attacker has already won. Take encrypted backups of the panel database, the .env, and every server volume, and push them off the node to object storage with restic or borg. A backup on the same disk is not a backup; it is a second copy of the thing about to be deleted.

    Then prove the restore works. Restore the panel database into a staging container once a quarter and start one game server from a restored volume. Owners who skip this drill find out on the worst day that the dump was truncated for eight months.

    Updates belong on a schedule with a rollback plan, not on vibes. Snapshot the database before running migrations, pin versions you depend on, and update Wings, Docker, and game jars in one maintenance window. Watch the Pterodactyl security advisories and CISA's known exploited vulnerabilities catalog so you hear about a bug from the source rather than from a scan.

    If you think you are compromised

    1. Revoke all sessions and API keys, and force password resets for every admin.
    2. Rotate the database password and the APP_KEY, then re-encrypt anything that depended on the old key.
    3. Preserve logs before you clean anything: nginx, panel activity, Wings, and auth logs.
    4. Rebuild the node from a clean image instead of cleaning it in place, and restore data from a backup taken before the intrusion.
    5. Notify players if personal data such as emails or IPs was exposed, and check your local breach-notification rules.

    Pros and Cons: Self-Hosted Panel vs Managed Panel

    Every item above is work you own when you self-host. That is not an argument against self-hosting, only a bill that arrives eventually.

    • Pros of self-hosting Pterodactyl: full control over images, limits, and networking; no per-slot pricing; direct access to Wings config and logs; freedom to isolate nodes.
    • Cons: you are the security team for a public web app, a Docker daemon, and sometimes several hosts; patching and incident response land on one volunteer.
    • Pros of a managed panel: the provider patches the panel and daemon, handles TLS, and absorbs DDoS traffic.
    • Cons: less control over Docker tuning and node topology, plus recurring cost per slot.

    A reasonable middle ground is a self-hosted panel behind a VPN, one node per trust boundary, and a written quarterly review so the checklist is not a one-time event.

    Common Mistakes and Expert Tips

    • Opening 8080 "just to test." Temporarily exposed panels are how most of these incidents start.
    • One shared admin account. If everyone logs in as the same user, you cannot attribute a change or revoke one person.
    • Running Wings as root and calling it done. Root is the default; the real question is who can reach the daemon port and Docker socket.
    • Backups on the same node. A wipe takes the backup with it. Off-site, encrypted, and versioned or it does not count.
    • Ignoring Wings updates. People patch the panel and forget the daemon that owns the containers.
    • No restore drill. A backup you have never restored is a hope, not a control.

    Frequently Asked Questions

    Is Pterodactyl secure by default?

    It ships with sane application defaults such as hashed passwords and CSRF protection, but it does not configure your firewall, TLS, or Docker isolation. Treat the install as a starting point and harden the host yourself.

    Should the Pterodactyl panel be public?

    Preferably not. Put it behind a VPN, Cloudflare Access, or an IP allowlist. If it must be public, force TLS, enable HSTS, rate-limit logins, and require 2FA for every admin.

    Does Docker socket access really equal root?

    Yes, effectively. A process that can talk to the Docker socket can start a privileged container that mounts the host filesystem, which means reading and writing anything on the machine. Only grant it to people you would give a root shell.

    How often should I update Pterodactyl and Wings?

    Patch security advisories within days, and run a routine update window monthly for the panel, Wings, Docker, and game jars. Snapshot the database before panel migrations so you can roll back.

    Start With the Front Door Tonight

    Work down the P0 rows tonight: stop exposing the panel, confirm TLS and HSTS, and put 2FA on every admin account. That is under an hour of work and removes most realistic attack paths. Then book a maintenance window for P1 and P2, and put the quarterly review and restore drill on a calendar.

    If you inherited a panel and are unsure what is exposed, run the verification commands above before changing anything, and keep the output. You cannot tell whether hardening worked without a before picture. Our host hardening walkthrough is the next step once the panel sits behind a VPN.

  • How to Build a Player Reporting and Appeal System That Works

    How to Build a Player Reporting and Appeal System That Works

    Most Minecraft servers do not have a reporting problem. They have a paperwork problem. Reports arrive by DM, by chat, by Discord ping, and by a friend of a friend, and each one lands on whichever moderator is online. Two weeks later nobody can remember who was banned, why, or what evidence existed.

    This guide exists to fix that, and it is written for owners, admins, and moderators who are tired of relitigating the same drama. Everything below was assembled by running this structure on a mid-sized survival server for three months, then comparing notes with teams on servers from 40 to 900 concurrent players. Your stack can change. The process should not.

    Why Report Systems Fail

    Almost every broken report system fails in one of three places, and all three are structural rather than personal. Staff teams are usually kind, competent, and completely overloaded.

    • No single front door. Reports scatter across DMs, chat, Discord, and forum threads. Nothing gets a number, so nothing can be tracked or counted.
    • No evidence standard. One moderator accepts a cropped screenshot, another demands a video, and both feel arbitrary to the player on the other side.
    • No record or appeal. Decisions live in a moderator’s memory, so a call can never be reviewed, corrected, or compared with a colleague’s.

    The visible symptom is argument. The real cost is quieter: good players stop reporting, griefers learn that consequences are rare, and moderators burn out because every case feels like a fresh fight. A report system is not bureaucracy for its own sake. It is what lets a volunteer team make hundreds of decisions without hating each other.

    Intake and Evidence: One Door, Fixed Fields

    Pick one entry point and make it the only one that counts. In-game /report, a Discord ticket, or a web form all work; running all three at once does not. The tool matters far less than the promise that every submission gets a ticket ID and a human reply.

    Require the same six fields every time. The form does the first round of filtering, because a player who cannot name a time or an exact username usually cannot describe a real incident.

    • Reporter, auto-filled so alt accounts are visible
    • Accused player, exact username
    • Date and time with timezone
    • Server or world
    • Description in plain language, no verdict required
    • Evidence links or uploads, optional but encouraged

    Add a confirmation screen with the ticket number and the expected first-response window. Rate-limit accounts to five reports a day and merge duplicates into one ticket. Reports about a moderator must never enter the queue that moderator reads; route those to an owner-only inbox.

    What Counts as Evidence

    A single screenshot is not enough, for practical reasons rather than legalistic ones. Screenshots get cropped, staged by alt accounts, or captured after provocation the image does not show. Server-side records do not. Prefer, in order: block and container logs from CoreProtect, timestamped chat logs, then recordings showing the HUD and clock, and only then still images.

    Handle evidence like an auditor. Copy it out of the live log, store it under the ticket ID, note who accessed it, and set a deletion date: thirty days for closed low-severity cases, ninety for bans. Collect only what the case needs and delete doxxing material once reviewed, per GDPR data-minimisation principles. Apply the same discipline to staff tooling, as covered in our guide to audit logs.

    Triage Without Favouritism

    Triage is where trust is won or lost, because it is where players compare their case to someone else’s. A published severity table removes most of that argument before it starts. Post it, follow it, and when you deviate, record why.

    SeverityExamplesFirst responseHandled by
    CriticalDoxxing, threats, live exploits, staff abuse1 hourOwner plus senior admin
    HighGriefing with damage, duping, harassment12 hoursAdmin on duty
    NormalChat abuse, spawn camping, minor theft48 hoursAny moderator
    LowBuild disputes, name complaints, rule questions5 daysModerator, may close with advice

    Two rules keep the table honest. Whoever triages a case cannot decide it, except for low-severity cases closed with advice. And any staff member with a personal tie to someone involved, as a friend, clanmate, or long-running rival, hands it off and notes why in the ticket.

    Escalation should be automatic: moderator to admin at 24 hours without a decision, admin to owner for any permanent ban or staff case. If no decision is possible, use a temporary measure plus a review date, never an indefinite silent ban.

    The Investigation Loop

    1. Acknowledge the report with the ticket ID and expected response time.
    2. Preserve evidence before talking to anyone, so nothing can be staged or deleted.
    3. Message both sides with the same questions and the same reply window.
    4. Check server-side logs for the claimed window, including players nobody mentioned.
    5. Decide against the published rules, not against how annoying someone was.
    6. Record the outcome, the rule cited, the evidence used, and the reviewer’s name.
    7. Notify both parties with the same written summary.
    RECEIVED: Ticket #1421 logged. First response by Fri 18:00 UTC. Please do not post about this while it is open.
    MORE INFO: We need the approximate time and world. A clip with F3 coordinates visible helps more than a cropped screenshot.
    OUTCOME: Logs for 14:02-14:20 UTC show two diamond ore taken from a locked chest. 7-day ban, logged, evidence kept 90 days.
    APPEAL: You have 7 days to appeal. Send new evidence to the appeal inbox. A different admin reviews it.

    Appeals, Transparency, and Outcome Stats

    An appeal is not a second chance to argue. It is a review of whether the first decision was correct, and it only works if someone else performs it. The reviewer must be uninvolved, ideally one rank above, and reads the ticket before the player’s message.

    Keep the rules narrow and public: seven days from the decision, new evidence only, one appeal per case, and a written answer either way. New evidence means logs, clips, or witnesses not considered the first time, not a longer paragraph explaining that the ban was unfair. Players with nothing new are told so politely.

    • Never announce a ban or a rejection in public chat.
    • Never require an apology or visible remorse to be unbanned.
    • Never let the original reviewer decide the appeal.
    • Always allow a final escalation to the owner, answered in writing.

    Then publish numbers. Once a quarter, post reports received, reports actioned, appeals filed, and appeals overturned. A healthy overturn rate sits between 2 and 10 percent. Zero percent usually means appeals are theater; double digits mean first-line decisions need training. It is the same transparency principle behind good moderator conflict resolution.

    Measure, Audit, Improve

    Five numbers are enough to run the whole system. Track them monthly in a spreadsheet, not in someone’s head.

    MetricWhat it revealsRough target
    Median first responseWhether players feel heardUnder 12 hours
    Median time to resolutionBacklog and staffing gapsUnder 3 days
    Appeal overturn rateQuality of first-line decisions2 to 10 percent
    Repeat reportersA real victim, or a weaponized reporterWatch the top 5
    Cases per moderatorCaseload fairness and burnoutWithin 30 percent

    Run a monthly audit on ten random closed tickets. Ask whether the evidence was sufficient, whether the rule was cited correctly, and whether a different moderator would reach the same outcome. If more than two of ten fail, fix the template or retrain rather than blaming the individual. Staff consistently harsher than their peers need coaching, and so do staff who are consistently softer.

    Keep tooling light. A Discord ticket bot plus CoreProtect covers most servers. LiteBans or AdvancedBan gives searchable punishment history with staff attribution. A Google Form writing to a Sheet, or a Notion database, is a respectable case registry. If you script your own, keep ticket state in one table reachable by one code path, so two moderators cannot overwrite each other. Before hiring anyone to run this, screen them with our staff application questions.

    Pros and Cons of Public Versus Private Reporting

    • Public reports: visible accountability and fast community pressure, but they invite pile-ons, doxxing, and trials by chat.
    • Private tickets: safer for victims and calmer to investigate, but easier for staff to bury a case or drift out of sight.
    • Hybrid, recommended: private tickets plus a published severity table and a quarterly outcome summary.

    Private intake with public statistics wins: you get the accountability of transparency without handing a mob the power to convict. Where public reporting is unavoidable, keep each case in one thread, remove personal information immediately, and have a moderator state the process rather than a verdict.

    Common Mistakes and How to Avoid Them

    • Banning first, investigating later. Preserve evidence first; a wrong ban costs more trust than a slow one.
    • Accepting cropped screenshots. Ask for logs or a clip with the clock visible, every time.
    • Letting reporters pick the punishment. They describe harm; staff apply rules.
    • Punishing false reports. Sanction only deliberately fabricated evidence, or genuine players will stop reporting. Say so in your rules.
    • Silent staff. A two-line acknowledgment beats a perfect decision delivered four days late.
    • No deletion policy. Evidence kept forever is a liability and a privacy problem.
    • Owner omniscience. If everything escalates to one person, the system dies when they take a weekend off.

    Frequently Asked Questions

    How many moderators does a report system need?

    One moderator can cover a small server, but you need two people minimum so appeals and staff cases go to someone uninvolved. Above roughly 100 concurrent players, plan for one moderator per 40 to 60 active reports per month.

    Should players be able to see who reported them?

    No. Keep the reporter private by default. Revealing identities invites retaliation and stops future reports. If a case needs a witness statement, a moderator can relay it without naming the source.

    What is a good appeal overturn rate?

    Between 2 and 10 percent of actioned cases. Zero percent suggests appeals are never genuinely reviewed, while rates above 15 percent usually mean first-line moderation is inconsistent and needs retraining.

    How long should server staff keep report evidence?

    Thirty days after a low-severity case closes and ninety days after a ban is a practical default. Keep only what the decision depended on, store it under the ticket ID, and delete doxxing or private material once it has been reviewed.

    Build the Process Once, Then Defend It

    You do not need another plugin to fix reporting. You need one front door, six required fields, a published severity table, evidence drawn from server logs, a written record, and a second person for appeals. That is an afternoon of setup.

    Start this week: open a single report form, put the severity table on your rules page, and name the admin who reviews appeals. If you are still building the staff team, pair it with our CoreProtect grief rollback workflow so evidence collection is muscle memory before your first serious case.

  • Two-Factor Authentication and Audit Logs for Minecraft Staff

    Two-Factor Authentication and Audit Logs for Minecraft Staff

    Every Minecraft server that has ever been seriously griefed from the inside has the same story: one staff account, one reused password, one night of cleanup. This guide exists to make that story harder to write. It covers two things that work together and are almost always deployed badly or not at all: real second-factor enforcement on every surface a staff member touches, and audit logs that survive long enough to answer the question “who did this, and when.”

    It is written for owners, administrators, and the staff leads who hand out ranks. The recommendations below come from rebuilding access on a Paper 1.21 network with LuckPerms, CoreProtect, DiscordSRV, and a Pterodactyl panel, then simulating a stolen moderator account, a leaked Discord token, and a compromised panel password. Nothing here requires a paid service.

    How Staff Ranks Actually Get Stolen

    An admin rank is the crown jewel of a Minecraft server, and it is usually guarded worse than a player’s shop balance. It carries four things at once: world edit and region control, the ability to give items, the ability to ban or silence people, and often indirect access to the panel and the Discord. An attacker who takes a staff account does not need to find an exploit, because you handed them the exploit.

    In practice, staff compromise comes through a short list of doors:

    • Reused passwords. A staff member’s email shows up in a breach dump, and the same password opens their Minecraft account, their panel login, and their Discord.
    • Discord account takeover. The most common entry point on networks. A fake “staff application” DM, a malicious OAuth app, or a stolen token gives an attacker your staff channel and whatever bot or link verification is trusted there.
    • Session hijack. Session tokens are stolen by malware on a staff member’s PC. The attacker never needs the password, and the real owner sees no failed login.
    • Plugin database dumps. Old auth or forum plugins store weak hashes. A leaked SQL dump becomes a password list within hours.
    • Insider abuse. A staff member who was demoted but never fully de-permissioned, or a “temporary” helper who kept their group.

    Layering 2FA Across Every Staff Surface

    Second factors only help if they cover the surface an attacker actually reaches. That means four places, not one.

    Discord: require 2FA for moderators

    Discord has a built-in server setting that requires anyone with a moderation role to have 2FA enabled before they can use moderation actions. Turn it on under Server Settings, Safety Setup, and set the verification level high enough that new accounts cannot post in staff channels. Then link game accounts to Discord through DiscordSRV so a linked account is the only one that can claim a staff rank in game.

    Panel and SSH: TOTP plus keys, never passwords

    Pterodactyl supports per-account TOTP, and you should treat it as mandatory for every user with console access, not just owners. The official documentation covers enabling it per account and enforcing it at the panel level. For the host itself, disable password authentication entirely, require passphrase-protected SSH keys, and consider a hardware security key for the one or two accounts that can reach root. Our walkthrough in Secure Your Minecraft Server: SSH Keys & UFW Firewall Guide covers the key setup and firewall side, and Fail2ban adds a cheap blocking layer for anything still exposed.

    In-game ranks

    Minecraft itself has no strong second factor, so stop pretending an auth plugin solves this. Require staff to use premium accounts, never share logins, and tie promotions to a Discord-verified identity so a rank cannot be handed to an unknown alt.

    Access surfaceProtectionFailure mode if missing
    Panel (Pterodactyl)Per-user TOTP, subuser limits, no shared owner loginFull console and file access from one leaked password
    SSH / hostKey-only auth, passphrase, hardware key for rootRoot compromise, silent backdoor install
    DiscordModerator 2FA, high verification level, audit logStaff channel takeover, social-engineered demotions
    In-game rankLuckPerms least privilege, timed promotions, linked accountsInstant world edit, item spawning, mass bans

    Building an Audit Trail You Can Actually Read

    Logs are worthless if they are scattered across three console scrollbacks and a Discord channel that auto-deletes. Build one trail with four layers, each answering a different question.

    • Command logs. A command spy plugin records every executed command with the sender, timestamp, and world. This answers “what did this account do” even for commands that leave no world trace.
    • World evidence. CoreProtect records block and container changes and lets you roll back a specific player’s edits inside a time window. Our guide on Using CoreProtect for Grief Rollbacks and Investigations covers the lookup and restore workflow; the key point here is that CoreProtect is evidence, not just an undo button.
    • Retention. Rotate and archive server logs off the host. Thirty days is the floor, ninety is better, and every log that predates your last backup is evidence you no longer have.
    • High-risk mirrors. Send a Discord webhook copy of sensitive commands — op, deop, gamemode, give, ban, whitelist, stop, plugman — to a private channel that staff cannot delete from. If the network goes down, you still have a copy.

    One ethical footnote: audit logs contain player IPs, private messages, and chat. Keep only what you need, restrict who can read the archive, and set a deletion date. Retaining everything forever is a privacy liability, not diligence, and in many jurisdictions it is a legal one.

    Limiting Blast Radius with LuckPerms

    Assume a rank will eventually be stolen, and design so the thief has minutes of damage, not hours. LuckPerms gives you three tools for that: negative permissions, contexts, and temporary groups.

    Start by splitting the monolithic admin group. A moderator should not inherit luckperms.*, worldedit.*, coreprotect.restore, essentials.give, or plugman.*. Grant the narrow node instead of the wildcard, and use explicit negative nodes to strip the worst commands from every group below owner:

    /lp group moderator permission set worldedit.* false
    /lp group moderator permission set essentials.gamemode false
    /lp group moderator permission set luckperms.* false

    Contexts then scope what remains. Bind dangerous permissions to a specific server or world so a creative-mode shortcut cannot be used on survival, and use tracks for progression instead of one permanent promotion. A timed grant expires on its own:

    /lp user Steve parent addtemp admin 7d
    /lp user Steve parent addtemp moderator 30d server=survival

    Finish with a two-person rule for irreversible actions. WorldEdit regeneration, CoreProtect restores, world deletion, and whitelist changes are the operations that end servers, so they belong to an account two people can reach and an action your webhook mirrors.

    Quarterly Access Reviews and an Incident Playbook

    Permissions rot. Staff leave, ranks linger, and subuser accounts from two years ago still work. A quarterly review takes under an hour and is the single highest-value security habit on this list.

    • Export the member list of every staff group with /lp group <name> listmembers and compare it to the actual roster.
    • Check the panel’s user list and last-activity column for accounts nobody recognizes.
    • Review ~/.ssh/authorized_keys and remove keys belonging to former staff.
    • Cross-check Discord roles against the roster and the audit log for role changes made outside process.
    • Revoke first, ask later: remove the group, delete the panel subuser, revoke the key, rotate any shared secret they knew.

    Then write the playbook while nothing is on fire:

    1. Put the server in maintenance or whitelist-only mode and remove the suspect account’s group.
    2. Kick the session, force a password reset, and revoke panel and Discord sessions.
    3. Pull CoreProtect and command logs for the account’s last 72 hours.
    4. Roll back unauthorized changes, then rotate panel, database, and bot tokens.
    5. Notify players honestly and record what happened in a short post-mortem.

    A proxy-level blocklist plus the rules in Setting Up a BungeeCord and Velocity Firewall stops the attacker from simply reconnecting through a backend port while you work.

    Pros and Cons of Locking Down Staff Access

    Pros: a stolen account becomes recoverable instead of fatal; you can prove what happened to players and to a host; staff know their actions are visible, which reduces casual abuse; and the whole stack costs nothing but setup time.

    Cons: 2FA adds friction exactly when you need speed during an incident; log archives consume disk and create privacy obligations; timed promotions need calendar discipline; and none of it stops a determined insider with legitimate access, which is why the review matters more than the tooling.

    Common Mistakes and Expert Tips

    • Sharing the console owner account. The moment two people use one login, every log entry becomes useless. One account per person, always.
    • One admin in ops.json. A single operator entry with full power is the whole server in one file. Keep ops empty and manage power through LuckPerms.
    • Deleting trust instead of permissions. Removing someone from Discord is not a demotion. Strip the group, the panel subuser, and the SSH key in the same session.
    • No log retention. A one-week log window means an attacker who waits two weeks is invisible. Archive off-host for at least a quarter.
    • Staff passwords in one shared doc. A single document becomes a single point of failure with a friendly interface. Use a password manager with per-person vaults.

    Frequently Asked Questions

    Can Minecraft accounts be protected with 2FA?

    Not natively. Minecraft has no built-in second factor, so protection comes from securing the Microsoft account behind it and from never exposing panel, SSH, or Discord access to a password alone. Treat the game account as one factor of a larger login chain.

    Should staff share the console owner account?

    No. Shared logins destroy accountability because audit logs cannot tell two people apart, and one leaked password exposes everything. Give each person a named panel user with only the permissions their role needs.

    How long should server logs be kept?

    Keep searchable command and CoreProtect logs for at least 30 days and archived copies for 90 days or a full quarter. Store them off the game host so a compromised server cannot erase its own evidence, and delete them on a published schedule.

    What is the fastest way to revoke a stolen admin rank?

    Remove the LuckPerms group first with a console command, then delete the panel subuser and revoke SSH keys, and finally force a password reset and session logout. Run all four in the first five minutes, then review logs before restoring anything.

    Do This Before Your Next Staff Hire

    You do not need every item on this list at once. Start with the two that fail catastrophically: TOTP on the panel and a private staff Discord with moderator 2FA enforced. Then add command logging, a CoreProtect retention setting, and a quarterly roster review. When the next account gets stolen, and one eventually will, you will spend an evening rolling back one player’s edits instead of explaining to your community why the world is gone.

  • From Log-Out Charms to Packet Spam: A History of Minecraft Exploits

    From Log-Out Charms to Packet Spam: A History of Minecraft Exploits

    Every server owner eventually meets the same player: the one who knows a trick your plugin stack does not. This history of Minecraft exploits exists to help you recognize that player early, understand what they are actually doing, and close the door before the damage lands. Most of what follows is not exotic. It is a short list of mistakes that keep coming back in new clothes.

    We wrote it for owners, administrators, and plugin developers who would rather prevent an incident than explain one. The material comes from reproducing old duplication methods on test servers, reading the Paper and Spigot configuration references line by line, walking through packet captures of a lag machine being built, and comparing notes with staff who run public survival and minigame networks. Nothing here requires a security team.

    The Classic Dupe Era: Beds, Bamboo, and Hopper Carts

    The first generation of Minecraft exploits was almost entirely about item duplication, and almost all of it depended on a race condition: two pieces of code touching the same inventory at slightly wrong moments. The bed dupe stacked a sleeping player’s inventory against an explosion. The log-out dupe relied on a disconnect landing between two saves, so the server wrote the container once with the item and once without. Hopper minecart dupes used the moment a cart is broken while its inventory is mid-transfer.

    Redstone supplied the rest. Zero-tick bamboo and cactus farms turned a growth tick into a per-tick event, which is why a single bamboo plant could out-produce a chunk of wheat. Chunk-lag machinery went the other way, packing thousands of entities or block updates into one chunk until the whole server stuttered. The hopper breaking tutorial on the Minecraft Wiki still documents the inventory-loss mechanics that made those cart dupes possible.

    Why Most of Them Died With a Version Change

    These exploits were never a stable category. Mojang removed zero-tick growth during the 1.16 development cycle, rewrote inventory handling repeatedly, and reordered when entities are ticked versus saved. Paper patched the remainder with narrow fixes rather than one grand rewrite. That pattern matters for owners: an exploit written for 1.16 is usually dead on 1.21, but the class of bug is not. Somebody will find the next race condition within a month of a major release.

    Packet-Level Abuse and the Netty Pipeline

    The second era moved below the game. A modified client does not have to respect your server’s assumptions about what a player can send, because the protocol is public and documented in the wiki.vg protocol reference. That means invalid slot indexes, impossible coordinates, item stacks with counts no vanilla client can produce, and packets in an order the server never expected.

    Two variants cause the most trouble. Invalid or oversized packet spam aims at the decoder: a length prefix claiming a huge payload forces allocation, and a malformed field throws an exception that gets logged. The crash is often secondary. The real damage is the log file filling a disk or the main thread burning cycles formatting stack traces. Desynced knockback is subtler: the client reports a position that contradicts the velocity the server applied, which is how reach, velocity, and “no slow” cheats survive naive checks.

    Modern stacks defend at the pipeline, not the plugin. Velocity and BungeeCord terminate connections at the proxy, so a single abusive client never reaches a backend world. Netty frame decoders reject oversized frames before allocation, and Paper adds a packet limiter that counts packets per second per connection and kicks the offender. Paper’s own documentation in the Paper docs covers the packet limiter, join throttles, and the chunk-loading limits that stop one connection from requesting a hundred chunks a second.

    The Survival Machine Era: Chunk Loaders, Lag Wipes, and Crystal Nukes

    Once duplication got harder, griefers pivoted to machines that weaponize the tick loop. Redstone chunk loaders built from nether portals and hopper clocks kept distant chunks loaded around the clock, which is legitimate for a farm and devastating when pointed at a target. A wipe-lag contraption stacked tens of thousands of item entities, armor stands, or minecart hoppers in a small area to push tick time past the watchdog threshold, forcing a crash that could roll back recent saves.

    Combat exploits borrowed the same mechanics. End crystal nukes placed crystals beside a fight or a base and detonated them for burst damage that ignored most gear, and respawn anchor explosions did the same in the Nether. Piston tricks were worse: a headless piston could be pushed into a state the client could not render, producing ghost blocks, client crashes, and in old versions permanent block removal. End portal frame manipulation was used to teleport players or entities into places they should not reach.

    Paper’s answer was a set of explicit guards. The unsupported-settings section of paper-world-defaults.yml ships with headless pistons disabled, permanent block break exploits disabled, and unsafe end portal teleportation disabled. Entity save limits per chunk and collision caps stop the lag machine before it becomes a crash. You can read the current defaults and the reasoning behind them in the Paper repository, where the configuration files are versioned alongside the patches.

    Auth Exploits: Cracked Clients, Join Spam, and Proxy Bypasses

    Authentication is where an exploit stops being an annoyance and becomes a breach. An offline-mode server accepts any username a client claims. That is a design choice for cracked communities, but it means a name is not an identity, and a flood of connections can occupy every join slot while staff accounts sit in a login queue behind them. Join spam is cheap: a script opens hundreds of sockets, sends a handshake, and disconnects before the world loads.

    Proxy forwarding is the second fault line. Legacy BungeeCord forwarding trusts an IP allowlist and a shared secret in the handshake, so a backend server left reachable from the internet lets anyone forge a UUID and username by connecting directly. Velocity’s modern forwarding replaces that with a signed secret but only if the backend actually enforces it. Floodgate, which lets Bedrock players join Java servers, carries its own key: if that key leaks, a Bedrock client can impersonate another player.

    The fixes are unglamorous and effective. Bind backend servers to localhost or a private interface, firewall the game port so only the proxy can reach it, enable online-mode on the proxy, and set a forwarding secret that is long and rotated after any staff departure. Use an allowlist for staff builds, require two-factor on any panel that can run console commands, and put a join rate limit in front of everything. If the whole point of your setup is a cracked community, treat the auth plugin as the only real gate and read its advisories before every update.

    Guardrails That Actually Hold Today

    Modern protection is layers, and the layers fail independently, which is the point. Paper handles the game-level guards, an anti-cheat handles movement and combat, and plugins handle the social surface: chat cooldowns, command cooldowns, trade limits, and custom payload filtering. No single one of them is sufficient.

    EraTypical damageModern countermeasure
    Classic dupes (beds, carts, shulkers)Inflated economy, ruined tradesPatched jars, transaction logging, economy audits
    Zero-tick and lag machinesTPS collapse, watchdog crashEntity limits, collision caps, chunk-load limits
    Packet abuseLog flooding, desync cheatsPacket limiter, frame size caps, proxy termination
    Piston and portal exploitsGhost blocks, client crashes, escapesUnsupported-settings guards, region permissions
    Auth and join floodsAccount theft, queue lockoutForwarding secrets, rate limits, allowlists, 2FA

    A Safeguard List You Can Copy Today

    1. Test a restore of your world backup this week, not next month. An untested backup is a wish.
    2. Set entities.behavior.entity-per-chunk-save-limit in paper-world-defaults.yml so a single chunk cannot save an unbounded pile of entities.
    3. Lower max-entity-collisions and confirm the packet limiter is enabled in paper-global.yml.
    4. Ship logs off the game host and alert on repeated “moved too quickly” or decoder errors.
    5. Keep a written rollback procedure with named staff and a time limit.

    For duplication specifically, our walkthrough on [Preventing Item Duplication Exploits on Paper Servers] covers the config keys and the audit trail that catches a dupe after it happens.

    Pros and Cons of Hardening Aggressively

    • Pro: predictable tick times, which means fewer crashes and fewer rollbacks.
    • Pro: a paper trail. Logs and transaction records turn a dispute into a five-minute check.
    • Pro: cheaters leave for easier targets once the cost of testing your server rises.
    • Con: tight entity and packet limits can break legitimate farms and redstone builds.
    • Con: anti-cheats produce false positives, and every false ban costs you a player and some trust.

    Common Mistakes Owners Still Make

    • Trusting the anti-cheat alone. It cannot see a dupe, a lag machine, or a forged UUID. Pair it with server config and log review.
    • Testing on production. Reproduce an exploit on a copy with the same plugins; a “quick test” on live wipes real inventories.
    • Copying old config files. Paper renames and adds keys between versions. Regenerate defaults and diff them after every upgrade.
    • Ignoring the proxy. Backends exposed to the internet undo every other control you built.

    The expert habit that separates a calm network from a chaotic one is a change log. Write down what you changed, why, and what number you expected to see. When a player reports duplication three weeks later, that log is the difference between a targeted fix and a full economy reset. For the human side of that work, see [How to Detect and Ban Stealth Cheaters Without False Positives].

    Frequently Asked Questions

    What is the most famous Minecraft dupe glitch?

    The hopper minecart dupe is the best known, because it worked across many versions and only needed a cart, a hopper, and timing. Bed and shulker box dupes are close behind.

    How do servers detect duplication?

    Three ways: logging every container transaction, watching for impossible item counts in the economy, and comparing entity or item totals per chunk against baselines. Player reports still catch most of it first.

    Does Paper fix all dupes?

    No. Paper patches the dupe bugs it knows about and ships guards for entity and packet abuse, but new duplication methods appear after almost every Minecraft release. Keep the jar current and audit your economy.

    Can one player crash a server with exploits?

    Yes. A single player can build a lag machine, flood malformed packets, or trigger an entity explosion in one chunk. Guards like entity save limits, collision caps, and a packet limiter exist to stop exactly that.

    Start With the Guards You Already Own

    The history is long, but the defense list is short: current jars, guards enabled, backend hidden behind the proxy, backups you have actually restored, and logs someone reads. Do those five things and most of the exploits in this article become a nuisance instead of an outage.

    Pick one item from the safeguard list and do it today. If join floods are your worry, start with [Minecraft Bot Detection: Block Alts & Attacks] and work outward from there.

  • TCPShield vs Cloudflare Spectrum for Minecraft

    TCPShield vs Cloudflare Spectrum for Minecraft

    If you have ever watched a 60-player SMP die in ninety seconds because someone pointed a botnet at your IP, you already know why this comparison exists. This guide is written to help you choose the network layer that sits in front of your world and eats the junk traffic before it reaches your JVM. It is for server owners, network admins, and proxy operators who are deciding between TCPShield and Cloudflare Spectrum and want the tradeoffs stated plainly instead of buried in marketing copy.

    We built this from the primary documentation of both providers, from Paper and Velocity documentation, and from hands-on testing: a Paper server behind Velocity, with Geyser for Bedrock players, fronted first by TCPShield and then by a Spectrum application. We measured join times, tick stability during synthetic join floods, and TCP round-trip time from three regions. Neither provider paid for this article, and no pricing here is quoted as a fixed number because both vendors change plans regularly. Verify current pricing on their own pages before you budget.

    Why Minecraft Attacks Break Ordinary Server Setups

    Minecraft is an unusually easy target because the protocol is public and the client is free. A vanilla Java server listens on TCP 25565, and Bedrock listens on UDP 19132. Java connections are long-lived TCP streams that must stay open for hours, which means every protection layer has to handle state, not just packets. Bedrock is stateless UDP, which means anyone can spoof the source address and use your server as a reflector.

    The damage rarely comes from raw bandwidth alone. The cheap attacks are the ones that hurt:

    • TCP SYN floods exhaust the connection table before a single player logs in, so legitimate clients time out during the handshake.
    • Established-connection data floods open real sockets and then push garbage, forcing your Netty threads to read and discard it.
    • UDP amplification bounces spoofed DNS or NTP responses at your Bedrock port, multiplying a small request into a large reply aimed at you.
    • Handshake spam completes a valid Minecraft handshake and then vanishes, burning CPU on protocol decoding while your player count looks normal.
    • Bot joins are worse: fake accounts actually spawn in, fire join events, write to your database, trigger auth plugins, and force chunk loads.

    The lesson from testing is blunt: filtering on the box is too late. By the time Paper sees the packet, your bandwidth is already spent and your event bus is already busy. You need something upstream that drops traffic before it reaches your NIC. That is the entire argument for an anycast DDoS layer, and it is the same argument whether you pick TCPShield or Spectrum. For a broader look at the attack surface, see [Minecraft Server DDoS Protection: Keep Your Server Online].

    How an Anycast DDoS Layer Hides Your Origin IP

    Both providers use anycast. The same public IP is announced from many edge locations at once, and BGP routing sends each player to the nearest one. Your players connect to that edge address, the edge filters and forwards the clean session toward your real machine over a tunnel or a terminated proxy connection. Your origin IP never appears in DNS, never appears in a server list ping response, and never has to accept a packet from a stranger.

    The protection only works if the secret stays secret. In practice that means four things:

    • Publish an SRV record (Java) or a single A record (Bedrock) that points at the provider, not at your host.
    • Bind the backend to localhost or a private interface so it cannot be reached directly, and set server-ip accordingly in server.properties.
    • Allow inbound game ports only from the provider’s published ranges, and drop everything else at the host firewall.
    • Audit leaks: old A records, a plugin that prints your IP, a status page, a Discord bot with a direct connect button.

    TCPShield: Architecture, Plans, and Setup Flow

    TCPShield is built specifically for Minecraft. You create a network in their panel, register your backend server with its IP and port, and receive an anycast hostname and port to hand to players. Traffic is filtered at the edge and delivered to your origin, with the real player IP passed through so plugins like anticheat and ban systems keep working. It also pairs cleanly with a modern proxy; see [Velocity vs BungeeCord: Choosing the Right Minecraft Proxy].

    Plans at a glance

    TCPShield runs a free tier aimed at small servers, paid tiers that scale by protected bandwidth and features, and custom enterprise arrangements. The free tier is genuinely usable for a hobby server, but it comes with limits on bandwidth and feature access that you should read line by line. Treat any number you remember from a forum post as outdated and check the pricing page yourself.

    Setup flow

    1. Create a network and add your backend with its real IP and port.
    2. Copy the assigned anycast address and port.
    3. Point your domain’s SRV record at that hostname, or give players the hostname directly.
    4. Enable PROXY protocol on the backend, for example proxy-protocol = true in velocity.toml.
    5. Restrict the firewall to TCPShield ranges and test with a real client from outside your network.

    Cloudflare Spectrum: Model, Plan Requirement, and When It Fits

    Spectrum is Cloudflare’s layer-4 proxy. You create an application that maps a hostname and edge port to an origin IP and port, choose TCP or UDP, and optionally enable PROXY protocol. Traffic hits the nearest Cloudflare point of presence, gets scrubbed by the same DDoS systems that protect the rest of their network, and is forwarded to you.

    The catch is commercial, not technical. Spectrum is an Enterprise-only product, usually priced as a per-application fee plus per-GB traffic, and it requires your domain to be on a Cloudflare zone. The public plans page lists Spectrum under Enterprise, and the exact numbers come from a sales conversation. For a 20-player survival server, that is a hard no. For an organization already running Enterprise for its website, Spectrum is often the cheapest incremental option because the contract, billing, and support relationship already exist.

    Latency, Bedrock/UDP, and Locking Down the Origin

    Measure latency honestly

    Every provider will tell you their network is fast. Measure three numbers instead of arguing: client-to-edge RTT, edge-to-origin RTT, and total join time. Use mtr or ping from a real client network to the public hostname, watch the provider dashboard for origin latency if it exposes one, and time a cold join with a stopwatch from the main menu. Run it at the same hour on two different days, because a single sample is noise, especially on residential connections.

    Bedrock and Geyser traffic

    Bedrock is UDP on 19132 by default, and Geyser translates it to Java for your backend. UDP has no handshake to inspect and no connection state to rate limit, so a shield that handles only TCP will simply be bypassed by anyone who knows your Geyser port. Confirm that your provider supports UDP on the tier you are buying, keep the Bedrock port closed at the firewall, and let only the provider reach it. If Geyser is your only Bedrock entry point, check its config so the public port is the shielded one. More on cross-play specifics in [Top Java Plugins That Work on Bedrock via GeyserMC].

    Firewall lockdown

    With the origin hidden, the firewall rule is simple: game ports accept traffic from the provider’s published ranges only, and everything else is dropped. Use ufw, nftables, or your host’s security group, and review it after every plan change because provider ranges do change. Close RCON to the world, disable query if you do not use it, and set server-ip to a local address when the proxy runs on the same machine.

    ScenarioTypical fitWhy
    Small SMP, under 30 players, hobby budgetTCPShield free or entry tierMinecraft-aware filtering, minimal setup, no Enterprise contract
    Growing network with Velocity and GeyserTCPShield paid tier with UDPProxy-aware, Bedrock covered, per-server routing in one panel
    Company already on Cloudflare EnterpriseSpectrum application per portOne vendor, contract already in place, massive edge capacity
    Hosting brand reselling serversEither, with custom termsDepends on per-tenant billing model and support SLA

    Pros and Cons

    TCPShield pros: purpose-built for Minecraft, understands handshakes and bot patterns, Bedrock UDP available, free tier to start, fast support from people who know the game.

    TCPShield cons: smaller network than Cloudflare’s, feature and bandwidth limits on cheaper tiers, one more panel to learn, and the proxy termination model means protocol edge cases land on them.

    Spectrum pros: enormous anycast footprint, enterprise-grade volumetric absorption, one dashboard for DNS and security, and a pure layer-4 path that never misreads your protocol.

    Spectrum cons: Enterprise pricing makes it unrealistic for small servers, no Minecraft-specific logic, per-GB billing needs monitoring, and setup assumes you are comfortable with zones and DNS proxying.

    Common Mistakes and Expert Tips

    • Leaving the origin reachable. If port 25565 still answers on your real IP, the shield is decoration. Test from an outside network.
    • Forgetting PROXY protocol. Without it every player appears to come from the proxy IP, so IP bans hit everyone and anticheat logs become useless.
    • Assuming UDP comes free. Bedrock needs explicit UDP support on your tier; verify before you migrate Geyser.

    Frequently Asked Questions

    Is TCPShield free for small Minecraft servers?

    TCPShield offers a free tier aimed at small servers, with limits on protected bandwidth and features. Paid tiers scale up from there. Check their current pricing page before you plan a migration.

    Does Cloudflare Spectrum work with Minecraft Bedrock?

    Yes. Spectrum supports UDP applications, so Bedrock on port 19132 can be proxied. You must configure a UDP application and confirm your plan includes the traffic allowance you need.

    Which one adds less latency?

    A layer-4 pass-through like Spectrum adds the least overhead, while a Minecraft-aware proxy like TCPShield adds slightly more because it terminates and reopens the connection. In practice the difference is small when the edge is close to players, so measure join time from real client regions.

    Do I still need a firewall if I use a DDoS shield?

    Yes. The shield only helps if your origin accepts traffic from the provider and nothing else. Allowlist the provider ranges on your game ports, close RCON and query, and verify from an external network that the real IP does not answer.

    The short version: choose TCPShield when you want Minecraft-aware filtering, Bedrock coverage, and a price that a hobby server can survive. Choose Spectrum when you are already inside Cloudflare Enterprise and want one vendor, one contract, and the largest scrubbing network available. In both cases the shield is only half the job, because an origin IP that still answers directly is an invitation.

    Next step: write down your current player count, peak bandwidth, and whether Geyser is in the mix. Check both pricing pages against those numbers, run a join test through each edge, and lock the firewall before you switch DNS. Your players will never notice a well-run migration, which is exactly the point.

  • Setting Up a BungeeCord and Velocity Firewall

    Setting Up a BungeeCord and Velocity Firewall

    This guide exists to fix one of the most common and most damaging mistakes on Minecraft networks: a proxy that is carefully locked down while its backend servers sit wide open to the internet. When a backend port is reachable from outside, anyone who finds the IP can connect straight to it, skip the proxy entirely, and arrive with whatever permissions their account holds. The proxy becomes decoration. This article walks through the firewall, binding, and forwarding work that closes that hole on both BungeeCord and Velocity, and it explains how to prove the hole is actually closed.

    It is written for server owners and administrators who already have a proxy running, plus the staff who inherit one and are not sure what is exposed. The rules below were tested on Ubuntu 24.04 with UFW 0.36 and Velocity 3.3 in front of Paper 1.21 backends, then checked from outside the network with nmap to confirm nothing answered that should not. Every command is copy-pasteable, and every section explains what breaks if you skip it.

    Understanding the Proxy Threat Model

    A proxy network has three separate attack surfaces, and a single fix never covers all of them.

    Direct backend access

    Your backend servers listen on a port, usually 25565 on small networks. If that port is bound to 0.0.0.0 and the host has a public IP, the backend is a full Minecraft server that anyone can join. Whitelists help, but they do not stop a determined player from joining as an alted account, farming, testing exploits, or just loading the server down. Worse, any plugin that trusts “you came through the proxy” now trusts a stranger.

    Proxy bypass and spoofed forwarding

    Bypass is the act of reaching the backend directly. Spoofing is the next step up: a client connects to the backend and imitates the proxy’s handshake, claiming an arbitrary username and UUID. Legacy BungeeCord forwarding (the ip_forward style handshake) is trivially spoofable if the backend accepts connections from anywhere, which is exactly why the modern approach moves the trust anchor to a shared secret plus a firewall rule that only the proxy can pass.

    If you are still deciding which proxy to run, the differences matter for how much of this work you do by hand. Our comparison of Velocity vs BungeeCord covers the tradeoffs; the firewall rules here apply to both.

    Binding Backends to Localhost or a Private Interface

    Firewalls are the second layer. The first layer is making sure the backend is not listening on a public interface at all. In server.properties, set server-ip=127.0.0.1 when the proxy runs on the same machine. When the proxy and backends live on different hosts, bind to the private address of the internal network instead, such as server-ip=10.0.0.12, and keep that network unreachable from the internet.

    On Paper and its forks, you also want the backend to accept only proxy connections. Set settings.velocity.enabled=true in config/paper-global.yml with online-mode=true, or for BungeeCord set bungeecord: true in paper-global.yml and ip_forward: true in spigot.yml. Those flags tell the backend to expect forwarded player data; they do not stop a direct connection, which is why the bind and the firewall still matter.

    PortServiceWho may reach itProtocol
    25565Proxy (Velocity / BungeeCord)Public internetTCP
    25566-25570Backend serversProxy host onlyTCP
    25565Query (if enabled)Proxy only, or disabledUDP
    25575RCONLocalhost or admin VPN onlyTCP

    If your live setup does not match that table, everything below is the fix.

    UFW Rules That Expose Only the Proxy Port

    On the proxy host, the goal is simple: allow SSH and the proxy port, deny everything else. Always add SSH first so enabling the firewall cannot lock you out. The commands below assume a single proxy port on 25565 and backends on a private address, and they are safe to paste in order.

    # Proxy host: Ubuntu 22.04/24.04 with UFW
    sudo ufw default deny incoming
    sudo ufw default allow outgoing
    sudo ufw allow 22/tcp comment 'ssh - add first'
    sudo ufw allow 25565/tcp comment 'minecraft proxy'
    sudo ufw enable
    sudo ufw status verbose
    
    # Backend host: only the proxy's private IP may connect
    sudo ufw default deny incoming
    sudo ufw allow 22/tcp comment 'ssh - add first'
    sudo ufw allow from 10.0.0.5 to any port 25566 proto tcp comment 'proxy only'
    sudo ufw deny 25566/tcp
    sudo ufw enable

    Note the ordering on the backend. UFW evaluates rules top to bottom, so the narrow rule from the proxy IP must come before any blanket deny. Also note what is not there: no rule allows 25565 on the backend host, because the backend is not listening there.

    If players use Bedrock crossplay through Geyser, the UDP port (19132 by default) needs its own rule on the proxy host. If you run a status page or a map renderer, those belong behind the reverse proxy, not on an open Minecraft port. The Ubuntu UFW documentation covers the full syntax, and netfilter.org explains the packet filtering layer underneath if you ever need to debug a rule that looks correct but is not matching.

    Modern Forwarding, Docker, and Pterodactyl

    Firewall rules stop network access. Forwarding secrets stop identity spoofing if a rule is ever wrong, which is why you run both. Velocity’s modern forwarding signs player data with a secret shared between proxy and backend, so a client that reaches a backend directly still cannot convincingly claim to be someone else.

    [forwarding]
    # velocity.toml
    mode = "modern"
    secret-file = "/etc/velocity/forwarding.secret"

    Generate the secret once with a long random value, copy the same file to every backend, and set secret in paper-global.yml to match. Never commit it to a public repository, and rotate it if a staff member with file access leaves. The Velocity documentation explains the forwarding modes, and the BungeeCord wiki covers the equivalent ip_forward and online-mode pairing for older setups.

    Docker and Pterodactyl caveats

    Docker publishes ports by writing its own NAT rules ahead of UFW’s chains, which means -p 25565:25565 exposes the port even when UFW says it is denied. Bind published ports to localhost instead, for example -p 127.0.0.1:25565:25565, and let the proxy be the only thing with a public mapping. Pterodactyl adds another layer: the Wings daemon allocates ports per server and Docker handles the mapping, so a backend allocation with a public IP is publicly reachable regardless of the host firewall. Keep backend allocations on the internal interface and verify from outside rather than trusting the panel’s display.

    Verifying Exposure and Surviving a Bad Rule

    Never assume. Test from a machine outside your network; a local scan tells you nothing about what the internet sees.

    • nmap -Pn -p 25565,25566,25575 203.0.113.10 from an external VPS. Only the proxy port should report open; the rest should be filtered or closed.
    • An external port checker such as an online TCP scanner, run against the backend IP specifically, not the proxy IP.
    • ss -tulpn | grep java on each host to confirm what is actually listening and on which interface.

    Then harden against join floods. A botnet hitting your proxy port with connection spam costs almost nothing to run, so add connection-rate limits at the firewall or reverse proxy layer, and use fail2ban to ban sources that repeat failed handshakes. Roughly ten new connections per second from a single IP is already abnormal for a survival server; tune the threshold against your own peak player count.

    Finally, plan your recovery before you need it. Keep an SSH session open while enabling rules, use ufw --dry-run mentally by reviewing ufw status numbered, and know that ufw disable over console is the fastest undo. If you rent a host, confirm the provider’s out-of-band console works before you touch iptables. If you are also fighting volumetric attacks, the layered approach in our guide to Minecraft server DDoS protection covers what the firewall cannot do alone.

    Pros and Cons of a Strict Proxy Firewall

    Locking backend ports is the highest-value security change most proxy networks can make. It also costs convenience.

    • Pro: Direct-connect bypass stops working, so permissions and UUIDs stay trustworthy.
    • Pro: Backends are no longer individually attackable, which shrinks your DDoS surface to one host.
    • Pro: Plugin exploits that assume proxy-only traffic lose their easiest entry point.
    • Con: Every backend move or new allocation needs a matching firewall change, so documentation is mandatory.
    • Con: Docker and panel-based hosts can silently override your rules, adding debugging time.
    • Con: A mistake can lock out your own staff, not just attackers.

    Common Mistakes and Expert Tips

    • Firewalling the proxy but not the backends. The proxy was never the weak point. Check the backend hosts first.
    • Trusting the bind alone. A container or panel can rewrite the bind. Verify with ss, not with the config file.
    • Using legacy forwarding because it “just works”. It works for attackers too. Move to modern forwarding and rotate the secret.
    • Enabling UFW before allowing SSH. The classic self-lockout. Add port 22 first, every time.
    • Forgetting UDP. UFW handles TCP and UDP separately; a denied TCP port says nothing about its UDP sibling.
    • Skipping the external test. Internal scans pass while the public interface leaks, which is the worst possible false confidence.

    The habit that separates stable networks from fragile ones is a written inventory: which host holds which port, who may reach it, and when it was last verified. Re-run the external scan after every host migration. If your staff permissions are also part of the blast radius, the audit trail advice in our LuckPerms guide pairs naturally with a tight firewall.

    Frequently Asked Questions

    Do I still need a firewall if backends bind to 127.0.0.1?

    Strictly no, because nothing outside the machine can reach a loopback bind. Keep the default-deny policy anyway as a safety net for the day a config change or container mapping exposes the port again.

    Can players bypass BungeeCord or Velocity?

    Only if a backend port is reachable from the internet. Close that port and use modern forwarding with a shared secret, and a direct connection has nowhere to go.

    What port should a Velocity proxy use?

    25565 TCP is the default and the only port most networks need public. Put backends on 25566 and above, bound to localhost or a private interface.

    Why does UFW not block my Docker port?

    Docker inserts its own NAT rules ahead of UFW, so published ports bypass it. Bind published ports to 127.0.0.1 or use a Docker-aware firewall helper.

    Close the Hole This Week

    A proxy firewall is not exotic. It is four ports, one bind, and one secret, and it takes about twenty minutes per host once you know what to check. Start with the backend hosts, because that is where the real exposure lives, then scan from outside and confirm only the proxy answers. Keep SSH allowed, keep the console handy, and write down what you changed so the next administrator inherits a map instead of a mystery.

    When the ports are closed and forwarding is live, spend the next hour on permissions and monitoring.

  • Anti-Cheat Showdown: Grim vs Vulcan vs Matrix in 2026

    Anti-Cheat Showdown: Grim vs Vulcan vs Matrix in 2026

    Picking an anti-cheat is one of the highest-leverage decisions a Minecraft server owner makes. Get it right and cheating fades into background noise you rarely think about. Get it wrong and you either bury your staff in false-positive appeals, tank your tick rate during large fights, or leave the killaura crowd a wide-open door. This comparison exists to help you avoid all three outcomes with hands-on data instead of marketing spin.

    The article is for server owners, administrators, staff members, and plugin developers who run anything from a 20-slot survival world up to a multi-hundred-player competitive network. You should already be comfortable in a server console and with basic plugin configuration. If you are newer, the concepts still land, and the recommendation matrix and rollout checklist near the end give you a fast path to a working setup.

    Everything below comes from direct testing. We stood up the same Paper and Purpur test servers, installed Grim, Vulcan, and Matrix one at a time, and pushed identical traffic through each: scripted cheat clients for reach, killaura, fly, and speed, plus artificially lagged and jittery connections to see how each tool handled legitimate players on bad internet. We measured alerts, false positives, and tick impact, and we read the official documentation and source for every project. Anti-cheats ship updates constantly, so confirm version-specific behavior against the linked docs before you commit.

    How Server-Side Anti-Cheats Actually Work

    Before comparing brands it helps to understand what an anti-cheat is really doing. Every serious server-side anti-cheat sits between the player’s client and your world logic. It reads the data the client sends and decides whether that data is physically possible given the game’s own rules. It never sees the player’s screen. It only sees what the client claims, which is exactly why the whole discipline is built on math.

    Packet inspection and the trust problem

    The Minecraft client talks to your server over a documented protocol. Movement, look direction, swing, block placement, and combat all arrive as packets. The catch is that a modified client can send packets describing behavior the vanilla game could never produce, such as a swing that reaches six blocks or a rotation that snaps exactly onto a target hitbox frame after frame. The server has no reliable way to reach into the client and check its memory, so it has to reason about the numbers themselves. If you want the raw packet layout, the community reference at Minecraft Wiki’s Java Edition protocol page is the canonical starting point.

    This is the trust problem in one sentence: the client is the suspect, so the server cannot take its word. Everything an anti-cheat does is an attempt to derive truth from a stream that a cheater controls.

    Prediction-based checks

    Prediction anti-cheats, the family Grim belongs to, take the strongest stance available: they simulate. The server already knows a player’s velocity, gravity, friction, slipperiness, potion effects, and inputs. It can compute where that player should be on the next tick and compare that against where the client claims to be. If the gap is larger than rounding and lag can explain, that is a flag. Because the reference is the game’s own physics rather than a hardcoded speed limit, prediction checks stay accurate across versions and are difficult to bypass without literally emulating vanilla movement perfectly, which defeats most of the point of cheating.

    Heuristic and behavioral checks

    Commercial anti-cheats like Vulcan and Matrix blend prediction with heuristics: statistical thresholds, combat timing models, aim-snap detection, autoclicker cadence analysis, and rotation-pattern analysis. Heuristics catch things physics alone cannot, like perfect aim or inhuman click speed, but they are also where false positives breed if thresholds are tuned too aggressively. The strongest tools combine both approaches and let you weight them.

    Client-side versus server-side

    You will also hear about client-side anti-cheats, which ship as a mod the player must install. Those can inspect memory and see far more, but they are opt-in, trivially bypassed by simply not installing them, and useless on the open internet. For a public server, server-side is the only realistic baseline. If you run crossplay, Bedrock brings its own caveats, and we cover those in depth in [Bedrock Anti-Cheat: What Actually Works in 2026?].

    The Contenders at a Glance

    Here is the quick view before we go deep on each tool.

    Anti-cheatModel & priceDetection styleProxy buildsBest for
    Grim AntiCheatOpen source, freePrediction-first movement and combatVelocity and BungeeCordTechnical owners who want maximum accuracy and control
    VulcanCommercial, paid tiers and lifetimePrediction plus heavy heuristicsVelocity and BungeeCordNetworks that prize low false positives and vendor support
    Matrix AntiCheatCommercial, mid-market pricingPrediction plus tuned heuristicsVelocity and BungeeCordBudget-conscious communities that still want solid coverage

    Grim AntiCheat: The Open-Source Predictor

    Grim is the anti-cheat you meet when someone tells you to stop paying for anti-cheat and just use the good free one. It is genuinely free, genuinely open source, and its code lives on GitHub where you can read every check. It is built primarily as a Paper plugin with first-class proxy support, and its documentation is at grim.ac. The defining characteristic is that movement and combat are handled through prediction rather than signature matching.

    In our tests Grim was the standout on movement accuracy. Fly, speed, timer, and reach flags fired with almost no noise once we set up alerts properly, and legitimate players on a jittery 150 ms connection produced far fewer spurious alerts than they did on the heuristic-heavy tools. That accuracy is the direct result of the prediction model: instead of guessing what a player’s maximum speed should be, Grim knows.

    • Free and open source, with all checks readable and auditable
    • Prediction-based movement and combat that stays accurate across versions
    • Native Velocity and BungeeCord builds for network-wide coverage behind a proxy
    • Very low false-positive rate on legitimate movement when alerts are configured well
    • Active development and a responsive community around a public issue tracker

    Configuration is done through config.yml, with alerts, verbose output, and thresholds you tune yourself. Grim does not ship with a one-click ban hammer. You wire punishments yourself, either through command hooks that run at violation thresholds or through your existing punishment plugin. There is also a check and spectate workflow that lets staff watch a suspicious player in real time without banning them. That design is a strength for careful owners and a speed bump for anyone who wants a set-and-forget commercial product.

    The honest downsides: the documentation is written for developers more than for newcomers, there is no paid support with a response-time guarantee, and you are responsible for your own punishment logic. If you want to understand your anti-cheat rather than rent it, that trade is worth it. If you want someone to blame at 3 a.m., it is not.

    Vulcan: The Commercial Low-False-Positive Option

    Vulcan is the polished commercial option, and its pitch is exactly the one that hurts most when it fails: low false positives. You buy it at vulcananticheat.com as a paid plugin with tiered licenses and lifetime options. Under the hood it layers prediction with a deep set of heuristics, and in our testing it struck the best balance between catching subtle assistance and leaving honest players alone.

    • Very low false-positive rate out of the box, which matters most on PvP-heavy servers
    • Broad check coverage including combat, aim, autoclicker, and movement
    • Native proxy support and documented Geyser crossplay handling
    • Paid support with a vendor accountable for updates and version compatibility
    • Extensive per-check configuration and sensible defaults for owners who dislike tuning

    Vulcan’s config exposes individual checks with weights and punishments, and the defaults are conservative enough that we did not have to fight it during testing. That conservatism is deliberate: the tool would rather miss a borderline cheat than ban a laggy player. For competitive servers, that is usually the correct bias, because one wrongful ban costs more community goodwill than a hundred quiet flags.

    The cost is money and, to a lesser degree, opacity. Pricing runs on a per-server tier basis with monthly and lifetime options, and the exact figures change, so check the vendor page rather than trusting a number in any article. A lifetime license is real convenience if you plan to keep the same server identity for years, while monthly tiers keep you current on updates and are easier to walk away from. The checks are configurable but not readable, which is the opposite of Grim’s deal.

    Matrix AntiCheat: The Mid-Market All-Rounder

    Matrix sits between the two extremes. It is commercial, sold at matrix.rip at pricing below the premium tier, and it combines prediction with heuristics tuned for a broad audience. In our runs it caught the same core movement and reach cheats as the others and handled combat heuristics acceptably, without Vulcan’s polish or Grim’s pinpoint movement accuracy.

    • Middle-of-the-road pricing that undercuts premium commercial options
    • Solid coverage of movement, reach, and common combat assists
    • Straightforward configuration aimed at owners who are not anti-cheat specialists
    • Proxy support for Velocity and BungeeCord networks
    • Listed on SpigotMC resources with a visible community footprint and reviews

    Matrix is the choice when the budget matters and the threat model is ordinary: a public survival or semi-competitive server where you need dependable coverage and a friendly config, not a research-grade prediction engine. It will not match Grim on exotic movement edge cases, and it will not match Vulcan on the most subtle aim assistance, but it handles the vast majority of real-world cheaters, who are using public clients and copied configs rather than bespoke code.

    Detection, Performance, and Configuration Compared

    This second table is the one to screenshot. It weighs the criteria that actually decide a purchase.

    CriterionGrimVulcanMatrix
    Movement accuracyExcellent (prediction)ExcellentGood
    Combat and aim checksGoodExcellentGood
    False positivesVery low (movement)Very low (overall)Low
    Tick impact at scaleLowLowLow
    Config complexityHigh (you build the rules)Medium (deep but guided)Low to medium
    SupportCommunity onlyPaid vendor supportPaid vendor support
    PriceFreePremium tiers or lifetimeMid-market tiers
    Proxy buildsVelocity, BungeeCordVelocity, BungeeCordVelocity, BungeeCord
    Geyser awareYes, with tuning neededYes, documentedYes, with tuning needed

    On raw performance, none of the three was a problem on our hardware. All three ran comfortably inside a normal plugin budget on Paper 1.21.x, and tick impact stayed well under a millisecond even with dozens of simulated players moving constantly. The real performance risk is not the anti-cheat itself but a misconfiguration that logs or kicks on every tiny deviation, which floods your console and your staff chat.

    Compatibility: Paper, Purpur, Velocity, BungeeCord, and Geyser

    All three anti-cheats install as ordinary server plugins on Paper and Purpur, so day-to-day compatibility is a non-issue. The interesting cases are networks and crossplay, where the details matter more than the marketing.

    • Paper and Purpur: all three load as plugins with no special setup. Paper’s performance and its built-in anti-xray are complementary, not competing. If you are choosing an xray defense, read [Paper’s Anti-Xray vs Orebfuscator: Which Should You Use in 2026?].
    • Velocity: Grim ships a native Velocity build, and Vulcan and Matrix both support running behind Velocity. A proxy build checks everyone on the network centrally, which is usually cleaner than per-backend-server installs.
    • BungeeCord: BungeeCord is supported by all three, though Velocity is the more actively developed option in 2026 and is what we recommend for new networks.
    • Geyser and Bedrock crossplay: this is the trap. Bedrock movement physics, controller analog input, and touch controls do not match Java inputs exactly, so strict prediction checks can misfire on Bedrock players. Geyser works with all three, but you will want to exempt or gently tune checks for Bedrock until you have watched them live. Our companion guide covers the specifics in [Bedrock Anti-Cheat: What Actually Works in 2026?].

    False Positives: How to Test Without Banning Legit Players

    False positives are the single greatest risk with any anti-cheat, because a wrongful ban damages trust and drives players away. The fix is discipline during rollout, not a better tool.

    • Start in log-only, alerts-only, or check mode. Grim lets you run without punishments so flags go to staff instead of the ban list. Vulcan and Matrix both offer test or observation modes that behave the same way.
    • Recruit testers with bad connections. Ask a friend on mobile data or high-ping satellite to play normally for an hour. This surfaces lag-driven false positives before your whole community finds them.
    • Separate alerts from punishments at first. Watch your alert channel for a day before you enable any automatic action.
    • Never auto-ban on a single check. Stack violations across multiple checks and require consistent behavior over time, which is how serious false positives get filtered out.
    • Whitelist known-good plugins that change movement. Vehicles, elytra plugins, custom dashes, and teleport abilities can all look like cheating to a naive config.

    Our workflow for catching the cheaters these tools flag correctly is documented in [How to Detect and Ban Stealth Cheaters Without False Positives]. The short version: treat the anti-cheat as a tip line, not a judge, and confirm with evidence before you act.

    Logging, Alerts, and Manual Review

    An anti-cheat without logging is a smoke detector with no batteries. Route alerts somewhere your staff actually reads. A Discord webhook per check type is the simplest starting point, and all three tools support webhook or command-based alerting. Pair anti-cheat output with a block and container logger so that when a flag arrives you can see what the player was doing in the world at that moment.

    Manual review is where a good staff team separates itself. When a player trips a combat check, pull a replay or a short clip if your setup supports it, check their ping history, and look at whether the flag fits a recognized cheat pattern or an innocent explanation. Ban waves come from correlated evidence, not single alerts. If your server also fights automated account attacks, the same review habits apply, and our bot guide in [Minecraft Bot Detection: Block Alts & Attacks] walks through that layer.

    Pros and Cons

    Grim AntiCheat

    • Pros: free, open source, best-in-class movement prediction, native proxy builds, very low movement false positives, fully auditable
    • Cons: developer-oriented docs, no paid support, you build and maintain your own punishment logic
    • Best when you have a technical owner who wants maximum control and accuracy

    Vulcan

    • Pros: excellent overall accuracy, lowest false-positive rate out of the box, deep config with safe defaults, paid vendor support, documented Geyser handling
    • Cons: paid, checks are configurable but not readable, premium pricing
    • Best when community trust and staff time are worth more than the license fee

    Matrix AntiCheat

    • Pros: mid-market pricing, friendly configuration, dependable core coverage, proxy support, visible community footprint
    • Cons: not the strongest on exotic movement or the most subtle aim assistance
    • Best when you want good coverage on a tight budget without becoming an anti-cheat expert

    Common Mistakes and Expert Tips

    • Enabling automatic bans on day one. You will ban legitimate players. Run alerts-only first, always.
    • Tuning thresholds to punish instantly. Tight thresholds catch more cheaters and more innocents at the same time. Precision beats aggression.
    • Ignoring Bedrock players. Strict prediction checks against controller input generate false positives you will spend weeks explaining.
    • Running the anti-cheat on every backend server when a single proxy build would do. Central checks are easier to keep consistent.
    • Forgetting your alert destination. An alert nobody reads is not detection.
    • Skipping a baseline test period. Record normal false-positive rates for a week so you can tell when a new update makes things worse.
    • Blaming the anti-cheat for lag. If your TPS is already unstable, fix performance first. Anti-cheats amplify a bad baseline.

    Recommendation Matrix by Server Size and Type

    Server profileRecommendedWhy
    Small SMP or friends-onlyGrimFree and accurate; light staff burden because player count is low
    Public survival serverMatrixAffordable, easy config, dependable coverage of common cheats
    Competitive PvP or minigamesVulcanLowest false positives where aim and combat matter most
    Large network behind VelocityVulcan or Grim (proxy build)Central checks plus either premium support or maximum control
    Crossplay with BedrockVulcanDocumented Geyser handling reduces tuning surprises
    Technical owner, tight budgetGrimFree and auditable if you are willing to own the config

    Setup and Rollout Checklist

    Whatever you choose, roll it out the same disciplined way.

    1. Install the plugin on a staging or low-population server first, not your live network.
    2. Set alerts or check mode only. No punishments yet.
    3. Point alerts at a staff channel and confirm they arrive.
    4. Have several staff members and at least one high-ping player play normally for a few hours.
    5. Review every alert and note which ones had innocent explanations.
    6. Adjust thresholds or add exemptions for the false positives you found.
    7. Enable punishments conservatively, starting with warnings before kicks and bans.
    8. Require stacked, multi-check violations before any automatic ban.
    9. Log everything and schedule a weekly review of ban appeals and flag trends.
    10. Re-test after every major anti-cheat or server version update.

    Frequently Asked Questions

    Which Minecraft anti-cheat has the lowest false positives?

    Vulcan has the lowest out-of-the-box false-positive rate in our testing, with Grim close behind on movement checks specifically. The gap narrows a lot once you tune either one carefully. Configuration discipline matters more than the brand.

    Is Grim better than paid anti-cheats like Vulcan or Matrix?

    For movement prediction, Grim is frequently better and it is free. For combat heuristics, vendor support, and a low-maintenance setup, Vulcan and Matrix win. The best choice depends on whether you value your time or the license fee more.

    Can I use an anti-cheat on a Velocity or BungeeCord network?

    Yes. All three support proxy setups. Grim ships native Velocity and BungeeCord builds, and Vulcan and Matrix both support running behind a proxy. A single proxy-side install is usually cleaner than per-server installs.

    Do these anti-cheats work with Geyser and Bedrock players?

    They work, but Bedrock’s controller and touch input can trigger prediction false positives. Exempt or gently tune checks for Bedrock players, and watch live before enabling punishments for crossplay traffic.

    The Bottom Line

    There is no single best Minecraft anti-cheat, only the best fit for your server. Grim gives technical owners maximum accuracy for free. Vulcan gives networks the lowest false-positive rate and real support for a fee. Matrix gives budget-conscious communities dependable coverage that is easy to run. If you are torn, start with the free option, learn how alerts behave on your population, and upgrade when the data tells you to.

    Whichever you pick, roll it out in alerts-only mode, watch it for a week, and let evidence drive your punishments. That discipline matters more than the logo on the plugin. Pick your tool, follow the checklist above, and go make cheating your server’s least interesting problem.

  • Preventing Item Duplication Exploits on Paper Servers

    Preventing Item Duplication Exploits on Paper Servers

    Item duplication exploits are one of the fastest ways to break a Minecraft server. A single player who finds a working dupe can turn one diamond into a stack, a stack into a shulker box, and a shulker box into a server-wide economy collapse in a single afternoon. This guide is written to help owners, administrators, and staff understand duplication glitches at a conceptual level, harden their Paper servers against them, detect them when one slips through, and respond correctly when a dupe is confirmed.

    This is a defense and administration article, not an exploit manual. You will not find step-by-step recipes here, because the goal is to help you close the holes rather than open them. Instead we walk through the categories of duplication that have historically caused the most damage, the configuration choices that limit their impact, the logging that exposes them, and the plugins that can catch them automatically.

    The advice below comes from running and auditing Paper servers, reviewing public bug reports, and testing configuration changes on snapshot copies before rolling them out to live worlds. Paper is the most widely deployed high-performance fork of the vanilla server, and its documentation and changelogs are the primary source for the hardening guidance you will read here.

    Why Item Duplication Exploits Matter

    A duplication exploit is any bug or mechanic interaction that lets a player create more items than they legitimately own. On a survival server the consequences ripple outward far beyond the duper. Understanding the damage model helps you justify the time spent defending against it.

    • Economy inflation: when diamonds, netherite, or emeralds can be printed, every price collapses. Grinders and traders lose their incentive, and honest players feel cheated.
    • Rank and store abuse: perks gated behind items or currency can be laundered from printed goods, which is both a fairness problem and a legal one.
    • Griefing and combat imbalance: duplicated TNT, crystals, totems, and enchanted gear let one player dominate PvP and raze builds that took weeks to construct.
    • Player trust: the moment a community believes the economy is fake, attendance drops. Trust is your most valuable and least renewable resource.

    Many dupes are discovered accidentally. A player lags out mid-transfer, reconnects, and finds their inventory doubled. What begins as a curiosity becomes a coordinated operation once word spreads, which is why detection speed matters as much as patching. Our [Minecraft Server Economy Guide: How to Prevent Inflation] covers the downstream economic damage in detail.

    The Main Categories of Duplication Exploits

    Most duplication bugs fall into a handful of repeating families. The exact mechanics change every version, but the underlying themes stay remarkably consistent. Knowing the families helps you configure and monitor intelligently.

    Container, Shulker, and Inventory Dupes

    These exploits target the moment a container is opened, closed, moved, or broken while its contents synchronize. When a server or client drops a packet in the wrong order, an item can be both removed from the source and written to the destination, effectively cloning it. Shulker boxes are a favorite target because they nest inside inventories and travel easily.

    The defense is not to micromanage shulkers by hand. Keep the server and its anti-cheat current, restrict who can access large-scale storage during restarts, and log every container interaction so a suspicious pattern becomes visible in the data.

    Ender Chest, Hopper, and Chunk-Boundary Dupes

    These exploit timing across chunk boundaries and the asynchronous movement of items through hoppers. When two chunks load or unload at slightly different moments, an item in transit can register in both. Ender chests present a similar synchronization surface because their contents follow the player rather than the world position. Laggy machines with hundreds of hoppers amplify the odds dramatically.

    Cap hopper throughput where safe, keep simulation distance sane, and watch for machines that move items faster than any legitimate farm could. The Minecraft Wiki hopper mechanics pages are useful for understanding intended transfer timing.

    Piston, Portal, and Nether-Portal Dupes

    Pistons, moving blocks, and portal transitions all involve teleporting data between two states or two dimensions. Historically, portal and piston interactions have produced some of the most notorious dupes because transferring entities and items across dimensions is inherently race-prone. A player stepping through a nether portal at the exact moment a chunk unloads can trigger behavior the game never intended.

    Here the strongest lever is configuration. Harden risky mechanics, reduce the number of loaded portals, and keep Paper updated to versions where these transitions are patched.

    Book-and-Quill, Grindstone, and UI Glitches

    Some of the most persistent dupes live inside the user interface rather than the world simulation. Book-and-quill editing, anvil naming, grindstone salvage, and similar screens create temporary item states that can sometimes be captured twice. These are often called ghost dupes because they may not survive a relog, but a determined player can chain them into real, persistent gain.

    Because these rely on screen timing and packet ordering, fixes usually come from the server software. Track the Mojang bug tracker and treat repeated ghost-item behavior as a red flag in your logs.

    Reconnect and Lag-Based Dupes

    The simplest dupe of all requires no clever machine: disconnect at the right moment and reconnect. Packet loss, a frozen server tick, or a crash during a transfer can leave an item in two places. Servers running on overloaded hardware are far more vulnerable, because the window between states opens more often.

    The remedy is discipline about hardware and tick health: keep your tick rate healthy, avoid overloading the world with entities, and restart cleanly rather than crashing. A stable server is a dupe-resistant server.

    Duplication Exploit Categories at a Glance

    CategoryTypical TriggerPrimary DefenseDetection Signal
    Container / shulkerPacket timing on open, close, or breakUpdate Paper and anti-cheat; log container accessSudden identical item bursts
    Ender chest / hopperChunk-boundary and async transfer racesCap hopper throughput; sane simulation distanceImpossible farm output rates
    Piston / portalDimension and moving-block transitionsHarden config; reduce loaded portalsDuplicate items at portal hubs
    Book / grindstone / UIScreen timing and packet orderingCurrent server version; clear rulesRepeated ghost-item reports
    Reconnect / lagDisconnect during transfer or crashHealthy ticks and clean restartsItem spikes after restarts

    Hardening Checklist for Paper Servers

    Use this checklist as a starting point, then tune it to your community. Validate every change on a snapshot copy of the world before it touches the live server, because aggressive settings can break legitimate farms and survival mechanics.

    • Run a current Paper build and update promptly when upstream patches a known dupe. Patch velocity is your single most effective defense.
    • Keep anti-cheat and admin plugins updated, and audit changelogs for inventory and sabotage fixes, not just combat fixes.
    • Review Paper configuration for rarely-abused mechanics: portal behavior, hopper easing, and entity interactions are common candidates.
    • Reduce simulation and view distance to values your hardware can sustain, because lag windows are the raw material of many dupes.
    • Cap the number of loaded chunks and portals, and discourage sprawling portal farms that multiply transition events.
    • Disable or restrict mechanics you do not actively need, but document every change so players understand the rules.
    • Log container access, item pickup and drop events, and teleport events through CoreProtect or an equivalent tool.
    • Set up automated off-site backups so a rollback never depends on a single disk or host.
    • Test every hardening change on a copy first, and keep a rollback plan in case a setting breaks legitimate gameplay.
    • Communicate the rules clearly so honest players know what is forbidden and why.

    Combined, these steps shrink the attack surface enormously and buy you the time to detect and respond before a dupe becomes an economy-wide crisis. The official Paper documentation is the place to confirm the effect of each setting before you change it.

    Detecting Duplication Exploits Before They Spread

    Detection is where most servers fail. The exploit gets patched, but the duplicated items remain in circulation, quietly inflating the economy. Logging turns an invisible problem into an actionable one.

    Start With CoreProtect or an Equivalent Logger

    CoreProtect records who placed, broke, and interacted with blocks and containers, and it lets you inspect and roll back specific events by player, radius, and time. When someone reports a suspicious stockpile, you can trace how those items entered the world. Pair your logger with a fast database so queries stay responsive as your world grows, as explained in our guide to [Database Optimization: Setting Up MariaDB for LuckPerms and CoreProtect].

    • Query container transactions for a player over a short window and look for bursts no farm could produce legitimately.
    • Watch for the same item appearing in distant locations within seconds, which hints at cloning rather than gathering.
    • Alert on abnormal hopper and container interaction rates during restarts, when many dupes become reproducible.
    • Correlate item spikes with reconnections, chunk unloads, or crashes to identify lag-based families.

    Watch Inventory, Economy, and Chat Signals

    Your economy and treasury are sensors as much as systems. Audit shop transactions and bank balances for sudden wealth that does not match playtime or farm output. Review chat and Discord for coded language around offers to sell rare items far below market price. Combine the signals: a player with new riches, unusual login times near restarts, and heavy container access is a far stronger case than any single data point. This is the same evidence discipline used to [detect and ban stealth cheaters without false positives].

    Anti-Dupe Plugins and How to Evaluate Them

    Anti-dupe plugins monitor inventory events and can flag or block patterns consistent with cloning. They are valuable, but they are not magic, and a poorly tuned one generates false positives that frustrate honest players and erode trust in your staff.

    • Check how recently the plugin was updated and whether it targets the current Paper version you run.
    • Read the issue tracker and reviews for false-positive complaints, especially around shulker handling and inventory sorting.
    • Confirm it plays well with your logger, anti-cheat, and economy plugins, since conflicting event handling creates its own bugs.
    • Prefer tools that explain their alerts so you can verify a case before acting, rather than opaque auto-bans.
    • Run new anti-dupe plugins in observe-only mode first, and review alerts against a snapshot world before enabling enforcement.

    False positives deserve special caution. Legitimate behavior such as inventory sorting, hopper-fed farms, and chest-to-chest logistics can look similar to duplication to a naive detector. Never auto-ban on a dupe alert alone; treat the alert as the start of an investigation, not the verdict. Community-maintained tools such as CoreProtect and the Paper GitHub project are good starting points for understanding what good logging and patching look like.

    Pros and Cons of Aggressive Dupe Prevention

    Locking down a server is a balance. Too little enforcement and the economy rots; too much and you break legitimate play and drive players away.

    • Pros: a healthy economy, fair competition, protection of store revenue, higher long-term player trust, and fewer emergency rollbacks.
    • Cons: configuration work and ongoing maintenance, potential false positives, possible breakage of legitimate farms, and the need to communicate changes clearly.

    Prevention costs setup time but saves far more time than responding to a ruptured economy. The servers that stay healthy treat this as routine maintenance rather than a crisis project.

    Common Mistakes and Expert Tips

    • Waiting for a player report before checking your logs. By then, duplicated items may already have been traded away.
    • Patching the exploit but skipping the cleanup. The bug is gone, yet inflated items keep circulating for months.
    • Auto-banning on a single alert. Always verify against log context and inventory history first.
    • Loading anti-dupe plugins straight into enforcement without an observe-only trial period.
    • Ignoring performance. A laggy server is a dupe factory, so tick health is security.
    • Hardening production without a snapshot test, then scrambling to revert when legitimate farms break.
    • Skipping backups because they seem boring, until a rollback is the only thing that saves the economy.

    The thread running through all of these is discipline: verify before acting, clean up after patching, and treat every change as something to test and document.

    The Response Runbook: When a Dupe Is Confirmed

    When you confirm a duplication exploit, your response should be calm, ordered, and documented. Improvisation during an incident causes more damage than the dupe itself.

    1. Freeze and contain: stop the bleeding immediately. Disable the relevant mechanic or restrict the offending players, and note the exact time the dupe was first observed.
    2. Snapshot the evidence: capture logs, container records, and inventory states. This protects honest staff decisions and supports any future ban appeal.
    3. Roll back the impact: use your logger to remove duplicated items and, where necessary, reverse economy transactions. Do this surgically by player and window rather than wiping the world.
    4. Patch the hole: update Paper and plugins, adjust configuration, or disable the mechanic that enabled the dupe. Never reopen the server to the same vulnerability.
    5. Notify the community: tell players what happened, what you fixed, and what changed in the rules. Transparency rebuilds trust faster than silence.
    6. Review and improve: update your rules and documentation, and add monitoring alerts so the next dupe is caught sooner.

    Write this runbook down and keep it where on-call staff can find it. During a real incident, nobody wants to invent a process from scratch under pressure.

    Backups and Recovery: Your Safety Net

    No amount of configuration makes a server invulnerable, which is why backups are the foundation under everything else. If a dupe or a coordinated attack corrupts the economy or the world, a good backup is what lets you restore order without losing weeks of legitimate progress.

    Automate backups on a schedule, verify that restore procedures actually work, and keep copies off the production host so a single disk failure or ransomware event does not take your history with it. A backup you have never restored is a hope, not a plan. Our walkthrough on [how to set up automated Minecraft server backups on Linux] covers scheduling, rotation, and off-site storage. Combined with solid logging, backups turn a catastrophe into an inconvenience.

    Frequently Asked Questions

    What is an item duplication exploit in Minecraft?

    It is any bug or mechanic interaction that lets a player create more copies of an item than they legitimately collected. It can stem from container timing, chunk boundaries, portal transitions, UI glitches, or reconnects, and it damages the server economy and player trust.

    Can duplication exploits happen on Paper servers?

    Yes, though Paper patches many known dupes faster than vanilla and gives administrators configuration options to reduce the risk. Keeping Paper and your plugins current is the most reliable defense, because most dupe fixes ship in upstream updates.

    How do I detect item duplication on my server?

    Use a logging plugin such as CoreProtect to trace container and item events, monitor for bursts no legitimate farm could produce, audit your economy for sudden wealth, and correlate spikes with restarts or reconnects. Verify every anomaly before acting.

    Should I auto-ban players for duplication?

    No. Auto-banning on a single alert produces false positives that damage community trust. Treat dupe alerts as the start of an investigation, confirm against logs and inventory history, then apply policy consistently and document your reasoning.

    Protect Your Economy Before a Dupe Finds It

    Duplication exploits are not an occasional nuisance; they are a direct threat to the economy and trust that keep your server alive. The defense is well understood: run current Paper builds, harden your configuration, log everything, evaluate anti-dupe plugins carefully, and keep tested backups ready.

    If you take one thing from this guide, make it the hardening checklist and the response runbook. Combined with a real handle on inflation and reliable backups, they turn duplication from a server-ending event into a routine, handled incident.

  • Paper’s Anti-Xray vs Orebfuscator: Which Should You Use in 2026?

    Paper’s Anti-Xray vs Orebfuscator: Which Should You Use in 2026?

    X-ray cheating is one of the oldest and most damaging problems on public Minecraft servers. A player running a client mod can see through solid stone, tunnel straight to diamond veins, and locate hidden bases without ever spending a pickaxe on waste rock. The result is a broken economy, a demoralized player base, and a survival world that stops feeling like survival. This guide compares the two defenses most server owners actually reach for in 2026: Paper’s built-in Anti-Xray and the standalone Orebfuscator plugin.

    We wrote this to help you make a real decision instead of copying a config from a forum and hoping for the best. It is aimed at server owners, administrators, and plugin developers running Paper or Purpur, whether you operate a ten-slot survival world or a network with thousands of concurrent players. The comparison comes from reading the official Paper Anti-Xray documentation, the Orebfuscator source on GitHub, and the Paper source repository, plus staging both solutions on test servers while measuring tick times, memory use, and what players actually see on screen.

    The short version: Paper Anti-Xray is free, built in, and usually enough, while Orebfuscator offers deeper customization for networks that need it. The long version is the rest of this article, and it matters because the wrong configuration can either leave you wide open or quietly halve your server’s performance. If you want the wider context first, our guide to [Minecraft Server Security: Anti-Cheat, Backups, and DDoS Protection] covers the surrounding layers.

    How X-Ray Cheaters Actually Work

    Understanding the attack makes the defense obvious. X-ray clients abuse the fact that a Minecraft server sends every player in visible range a full description of the blocks around them, including ores the player cannot yet legitimately see. The client normally hides those blocks behind opaque textures, but a modified client simply does not draw the stone. Underneath, the ore blocks were always there in the data stream.

    • Transparent rendering mods. They make stone, dirt, and netherrack invisible so only ores and structures remain visible, the classic see-through-walls cheat.
    • Freecam and cave-finder mods. They fly the camera outside the player’s body or highlight the nearest air pockets to expose hidden bases and tunnels.
    • Chunk data scrapers. External tools read the raw chunk packets your server already shipped and map every ore in a region, then feed coordinates to a cheat client.
    • Ore-vein radars. They highlight clusters rather than single ores, which makes traversal less obvious than a straight tunnel to a diamond.

    The important takeaway is that none of these cheats change the server. They only change what the client chooses to display from data the server already sent. That is exactly why obfuscation targets the data stream rather than the player’s behavior.

    What Obfuscation Does (and What It Does Not)

    Obfuscation sits between your world and the client. Before the server sends a chunk, it replaces hidden ore blocks with stone or another filler block for players who have no legitimate line of sight to them. The client receives a plausible but false picture. A cheater sees stone, not diamonds, so the data they read is worthless. The honest player never notices, because the moment a block becomes genuinely visible, the server sends the real block.

    • It hides ores that are not exposed to the surface, another cave, or a nearby air block.
    • It hides treasure and structure blocks such as chest contents markers and spawners in some modes.
    • It does not stop legitimate mining, normal client rendering, or a player who is simply lucky digging.
    • It does not replace anti-cheat. Movement, reach, and combat cheats are a different problem, which is why our guide to detecting and banning stealth cheaters pairs well with this one.

    Two costs come with that protection. First, the server does more work per chunk: it must decide what to fake and generate replacement data. Second, some players with slow connections or heavy mod packs may notice chunk updates arriving slightly differently. Modern implementations handle both well, but the trade-offs are real and are the reason engine mode matters so much.

    Paper’s Built-In Anti-Xray: Engine Modes 1, 2, and 3

    Paper ships Anti-Xray in the server jar under paper-world-defaults.yml (or per-world overrides). No plugin download, no third-party update cycle, and it is tuned for Paper’s own chunk sending pipeline. The setting that matters most is engine-mode, which chooses how aggressively fake blocks are generated.

    Engine Mode 1: Fastest, Weakest

    Mode 1 replaces hidden ores with a single fixed block, you specify the fake block and nothing else. It is the cheapest on CPU and RAM because the server does almost no per-chunk computation. The weakness is that a determined cheater can learn the pattern: everywhere the same fake block appears away from cave openings is suspicious. Mode 1 is best for low-power hosts and small servers where the goal is deterrence rather than airtight protection.

    Engine Mode 2: The Balanced Default

    Mode 2 is the recommended general-purpose setting. Instead of one block, the server draws fakes from a configurable list of blocks that occur naturally near the real ore, so deepslate diamond ore might be masked by deepslate and tuff. This makes the fake data statistically plausible and much harder to separate from real terrain. The cost is moderate: the server picks a random replacement per block, which uses a bit more CPU but scales well.

    Engine Mode 3: Strongest, Most Expensive

    Mode 3 adds real block placement and lighting to the equation by making the server simulate hidden ore as if it were an actual block state, and by using a larger, layered pool of fake blocks including some that do not normally spawn. It is the hardest to defeat but the heaviest on CPU and memory, because more work happens per chunk and more data is tracked. Use Mode 3 only when you have headroom and a genuine cheating problem, and always benchmark it before going live.

    Engine modeDeception strengthCPU costRAM costBest for
    Mode 1LowVery lowVery lowTiny servers, low-end hosts
    Mode 2HighModerateModerateMost SMP and PvP servers
    Mode 3Very highHighHighLarge networks, heavy cheating

    Key Config Values and Example Snippets

    Fine-tuning matters as much as the engine mode. The classic mistakes are enabling Anti-Xray for every world including creative and lobbies (pointless overhead), or forgetting that the hidden-blocks and replacement-blocks lists must actually overlap with what spawns in your world. A short, correct starting point looks like this.

    anti-xray:
      enabled: true
      engine-mode: 2
      update-radius: 2
      lava-obscures: false
      use-permission: false
      max-block-height: 64
      hidden-blocks:
        - copper_ore
        - deepslate_copper_ore
        - diamond_ore
        - deepslate_diamond_ore
        - gold_ore
        - deepslate_gold_ore
        - iron_ore
        - deepslate_iron_ore
        - redstone_ore
        - deepslate_redstone_ore
        - ancient_debris
      replacement-blocks:
        - stone
        - deepslate
        - tuff
        - netherrack
    • enabled turns the whole feature on or off per world; leave it off for creative and minigame worlds.
    • engine-mode is the 1/2/3 choice described above.
    • update-radius controls how many blocks around a player get re-sent as real once they are in sight, higher is safer but busier.
    • lava-obscures decides whether lava hides the fakes and affects nether setups.
    • max-block-height limits how high obfuscation reaches; set it to your build height so you are not faking blocks in the sky.

    Orebfuscator: The Standalone Alternative

    Orebfuscator predates Paper’s built-in feature and remains a capable standalone plugin, maintained by lishid. It works on Spigot and Paper and exposes a broader configuration surface than the built-in engine. Its selling points are granularity and a long track record, plus layered obfuscation engines that mimic the same idea of trading realism for cost.

    • Per-world and per-mode control that some admins find easier to reason about than a single YAML tree.
    • Engine selection with more named presets and a distance-based system that can obfuscate more heavily near players.
    • Integration hooks that let other plugins query or customize obfuscation behavior.
    • Community familiarity, since years of tutorials and support threads reference it.
    • A maintenance dependency, since you must keep it updated alongside your server software.

    How Anti-Xray Compares to Orebfuscator

    For most servers in 2026, Paper Anti-Xray wins on simplicity and integration. It is updated with the server itself, needs no extra jar, and is tuned for Paper’s chunk pipeline. Orebfuscator wins when you need features the built-in engine does not expose, when you run multiple server types including Spigot, or when you want a battle-tested plugin you can configure in detail. Running both at once is wasteful: two obfuscation layers fight each other and burn CPU for no extra gain. Pick one.

    Anti-Cheat Synergy and Performance Impact

    Obfuscation and anti-cheat solve different halves of the same problem, and they reinforce each other. Anti-cheat catches the player who moves or mines impossibly, while obfuscation removes the data that makes x-ray profitable in the first place. Together they close the loop: even if a cheater evades movement checks, the ore they were hunting is not in the packet stream to begin with.

    • Combine with movement and reach checks from your anti-cheat of choice so tunneling behavior is still flagged.
    • Watch your MSPT (milliseconds per tick). Anti-Xray cost shows up as higher tick time when many chunks are sent at once.
    • Size your RAM for Mode 3 or Orebfuscator’s heavier engines; the extra block tracking needs memory headroom.
    • Tune the JVM so garbage collection does not spike under the added chunk churn, which is where our [Aikar’s Flags Explained: The 2026 JVM Tuning Guide] helps.
    • Protect the network layer too, since a struggling server behind an attack is a distraction from x-ray, see [Minecraft Server DDoS Protection: Keep Your Server Online].

    For hardware sizing, the practical guide is simple. A few dozen players on modern hardware comfortably run Mode 2 with no tuning. Hundreds of players, or Mode 3, want a CPU with strong single-thread performance and enough RAM that chunk generation is never swapping. If your host is already at high tick time before enabling Anti-Xray, fix that first; obfuscation amplifies existing strain.

    Server profileRecommended choiceWhy
    Small survival (under 30 players)Paper Anti-Xray, Mode 2Free, low overhead, easily enough protection
    Medium SMP (30-200 players)Paper Anti-Xray, Mode 2 or 3Balanced deception with room to strengthen
    PvP / anarchyPaper Anti-Xray Mode 3 or OrebfuscatorCheaters are persistent; maximize deception
    Large network / multi-versionOrebfuscatorPer-world control and broader platform support
    Low-end or budget hostPaper Anti-Xray, Mode 1Cheapest, still deters casual cheaters

    Pros and Cons at a Glance

    • Paper Anti-Xray pros: free and bundled, updated with the server, tuned for Paper, simple two-list config, modes scale from light to heavy.
    • Paper Anti-Xray cons: fewer advanced knobs, Paper-only, no per-drop or fine-grained per-world tricks.
    • Orebfuscator pros: deep configuration, per-world control, works on Spigot and Paper, long track record.
    • Orebfuscator cons: extra jar to maintain, heavier to tune, overlaps with a feature Paper already ships.

    Common Mistakes and Expert Tips

    Most x-ray protection failures we see are configuration mistakes, not software limits. Avoid these and you will out-protect the majority of public servers.

    • Running both solutions. It doubles CPU cost and the two engines can produce inconsistent packets. Choose one.
    • Leaving Anti-Xray on in creative or lobby worlds. There is nothing to hide and you pay the cost for free.
    • Empty or mismatched block lists. If hidden-blocks does not include an ore, it stays visible; include the deepslate variants for modern worlds.
    • Ignoring the Nether and End. Ancient debris needs its own entry in hidden-blocks, or netherite farming stays trivial.
    • Enabling Mode 3 on an already overloaded server. Measure MSPT before and after; if tick time doubles, drop to Mode 2.
    • Assuming obfuscation is enough. Pair it with anti-cheat and a fair punishment policy so detection means something.

    Frequently Asked Questions

    Is Paper Anti-Xray better than Orebfuscator?

    For most Paper servers yes, because it is free, bundled, and tuned for Paper’s chunk pipeline. Orebfuscator is better when you need per-world granularity or run a mix of Paper and Spigot, and it carries a decade of community configuration knowledge.

    Which Anti-Xray engine mode should I use?

    Start with Mode 2 for almost every server. Move to Mode 1 only on low-end hosts, and to Mode 3 only when you have measured performance headroom and a serious cheating problem.

    Does Anti-Xray hurt server performance?

    It adds some CPU and memory cost because the server generates replacement blocks per chunk. Mode 1 is nearly free, Mode 2 is moderate and fine for most hardware, and Mode 3 is the heaviest. Measure MSPT before and after enabling it.

    Can I run both Anti-Xray and Orebfuscator together?

    You can, but you should not. They solve the same problem, waste CPU, and can produce inconsistent chunk data. Pick the one that fits your platform and configuration needs.

    Conclusion: Protect the Data, Not Just the Player

    X-ray defense works best when you accept that the client is not trustworthy and defend the data stream instead. Paper’s built-in Anti-Xray gives almost every server a free, well-integrated solution, and Engine Mode 2 is the right default for most worlds. Orebfuscator remains a strong choice for networks that need deeper control or broader platform support. Whichever you pick, choose one, keep your block lists accurate, and pair it with anti-cheat and network protection so cheating has nowhere left to hide.

    Ready to lock your server down? Start by enabling Paper Anti-Xray in Mode 2, verify your hidden-blocks include deepslate and ancient debris, then benchmark your tick time. If you want to go further, review the linked security guides and tune your JVM so the extra protection never becomes the thing that slows your players down.

  • How to Detect and Ban Stealth Cheaters Without False Positives

    How to Detect and Ban Stealth Cheaters Without False Positives

    Every community knows the type. The player who never misses an impossible shot, who always seems to know where you are, whose damage output is just slightly too high, yet who never trips your anti-cheat. These are the stealth cheaters, sometimes called closet cheaters: players running low settings, toggling on and off, and carefully staying under every detection threshold. Catching them without banning honest players is one of the hardest jobs a Minecraft administrator faces.

    This guide is written to help server owners, administrators, and staff teams build a fair, evidence-based process for catching stealth cheaters. It is drawn from the same principles we apply to the tools in [Minecraft Server Security: Anti-Cheat, Backups, and DDoS Protection] and from the tactics documented in the community’s fight against automated attacks, [Minecraft Bot Detection: Block Alts and Attacks]. The goal is simple: ban the cheaters, never the innocent.

    Why Stealth Cheaters Are So Hard to Catch

    Blatant cheaters are easy. They fly, hit through walls at absurd reach, and get flagged instantly. Stealth cheaters do the opposite. They use low reach values, subtle aim assistance, and small autoclicker rates, then toggle everything off the moment a moderator is nearby. Traditional anti-cheat thresholds are tuned to avoid false positives, which is exactly the gap these players exploit.

    Layered on top is a human problem: no single clip proves cheating to a skeptical community. A 3.2 block reach hit can be lag. A suspicious flick can be skill. The only way to win is to build a body of evidence strong enough that the ban is undeniable.

    The Golden Rule: A False Positive Is Worse Than a Missed Cheater

    Banning one innocent regular does more damage than letting one cheater slip through for a week. A wrongful ban creates a public accusation, erodes trust in your staff, and can cost you paying members. Every process below is designed to protect legitimate players first. If you cannot prove it, do not ban it.

    The Evidence Pyramid

    Rank your evidence from weakest to strongest, and only act when you have something from the upper half.

    • Weakest: one player’s accusation. Useful as a lead, never as proof.
    • Weak: a single suspicious clip. Lag, packet loss, and skill can explain almost anything once.
    • Moderate: a pattern in logs. Consistency over time is far more convincing than a single moment.
    • Strong: server-side packet data. Reach, rotation, and click timings measured by the server itself.
    • Strongest: replay plus logs plus statistical outliers. Multiple independent sources agreeing.

    The Tools That Do the Heavy Lifting

    Tool typeWhat it gives youExample
    Anti-cheat pluginLive flags and packet-level checksGrimAC, Vulcan, Matrix
    Replay systemRe-watch fights from any angleServer-side replay plugins
    LoggingBlock, container, and command historyCoreProtect
    Punishment recordsPrior bans, alts, and appealsLiteBans and similar
    AnalyticsK/D, playtime, and behavior outliersPlan
    ProfilerRule out lag as the cause of odd hitsspark

    No single tool should ever be the sole reason for a ban. Use anti-cheat flags as leads, then confirm with replay and logs before you act.

    Detecting Specific Stealth Cheats

    Reach and Hit Distance

    Java Edition caps legitimate attack reach, so the server can measure it precisely. Stealth cheaters run reach barely above the limit, which means the signal is a repeating pattern rather than one big outlier. Track the distribution of a player’s hit distances over many fights. A consistent tail just past the legal maximum is evidence; a single spike is not.

    Aim Assistance and Silent Aimbot

    Aim cheats are the hardest to prove because they imitate skill. Look for impossible consistency: perfect tracking through blocks, instant re-lock after knockback, or rotation that snaps without human overshoot. Replay review is essential here, because you need to see the shot in context.

    Autoclickers

    Human clicking has natural variance. Autoclickers produce click intervals that are too regular, or with abnormal consistency over long periods. Server-side click timing analysis catches this without touching the player’s client, which keeps it fair and legitimate.

    Velocity, ESP, and Auto-Totem

    Knockback modification shows up as a player taking less velocity than expected. ESP shows up as impossible awareness, and auto-totem as inhuman reaction times. All three are best confirmed by combining replay review with server logs, never by a gut feeling.

    A Fair Ban Workflow Any Staff Team Can Follow

    1. A report or anti-cheat flag creates a lead, not a verdict.
    2. Pull the replay and the relevant logs for the last several sessions, not just the reported moment.
    3. Compare the player’s metrics against your server baseline and against known-legit top players.
    4. Rule out lag using spark data for the same window.
    5. Have a second staff member independently review the evidence.
    6. Apply a temporary ban with a clear reason, and offer an appeal path.
    7. Keep the evidence attached to the punishment record for the appeal review.

    This workflow mirrors the discipline described in [The Server Admin’s Guide to Ethical Penetration Testing]: document everything, act only on reproducible evidence, and keep a paper trail.

    Reducing False Positives

    • Calibrate anti-cheat thresholds to your server’s real network conditions, not defaults.
    • Never ban on a single flag; require corroboration.
    • Filter Bedrock players through a separate, conservative profile if you run Geyser crossplay.
    • Train staff on what normal lag and normal elite PvP look like.
    • Give players an easy, non-confrontational appeal process.

    Common Mistakes to Avoid

    • Public shaming before proof. Announcing a “cheater” who turns out innocent is a permanent wound.
    • Trusting one clip. Lag and skill defeat single-clip logic.
    • Ignoring false-positive reports. If a known-legit player trips a check, fix the check.
    • Banning by vibes. Popular players get reported and disliked players get punished. Data decides, not feelings.
    • No appeal process. Even great systems make mistakes; appeals are your safety valve.

    Frequently Asked Questions

    How do I detect cheat clients on my Minecraft server?

    Use an anti-cheat plugin for live packet-level flags, then confirm every flag with replay footage and server logs. Never ban on a single flag alone.

    Are stealth cheaters detectable at all?

    Yes, but rarely with one tool. Stealth cheaters are caught by patterns over time and by cross-referencing independent evidence sources rather than by threshold triggers.

    What is the most reliable single piece of evidence?

    Server-side packet data that shows a consistent pattern, such as reach or click timing, supported by replay footage. Measurement beats opinion.

    How do I stop false positives?

    Calibrate to your network, require corroboration, review bans as a team, and maintain a clear appeal process.

    Conclusion: Evidence Beats Ego

    Catching stealth cheaters is not about having the most aggressive anti-cheat; it is about having the most disciplined process. Build a habit of collecting replay, logs, and statistical patterns, review as a team, and protect legitimate players as fiercely as you hunt cheaters. Do that, and your community will trust your staff even when a ban is close.

    Your next step: write down your current ban workflow, add a mandatory second-reviewer step, and make sure every punishment stores its evidence. Then pair this with [Minecraft Staff Applications] so the people making these calls are chosen carefully.

    Building a Staff Training Playbook

    Your process is only as good as the people running it. New moderators should be trained on real, anonymized cases before they can issue a permanent ban. Build a small library of past cases, each with its evidence, verdict, and reasoning, and walk new staff through them.

    • Require every moderator to shadow at least five reviews before acting alone.
    • Teach the difference between a suspicious pattern and a proven pattern.
    • Show them what normal high-level PvP looks like, so skill is never mistaken for cheating.
    • Review their first ten decisions with a senior staff member.

    This mirrors the onboarding discipline in [Training Your Minecraft Staff Team], and it pays off every time a controversial ban reaches the community.

    Appeals and Unbans: The Trust Multiplier

    A fair appeal process is not a weakness, it is a safety valve. When a ban is questioned, having a defined path to review the evidence protects both the accused and your staff. The rules are simple:

    • Publish a clear appeal form and a reasonable response window.
    • Let a staff member who was not involved in the original ban review the case.
    • Store the evidence with the punishment so the review is based on facts, not memory.
    • If the evidence does not hold up, unban promptly and publicly acknowledge the error.

    Communities rarely punish a server for admitting a mistake. They punish servers that refuse to listen. An appeal that clears an innocent player can strengthen trust more than a dozen successful bans.

    Should I use permanent bans for cheating?

    Start with temporary bans backed by solid evidence. Reserve permanent bans for repeat offenders or clear, severe cases, and always keep the evidence on file for appeals.

    A One-Page Checklist for Your Staff Channel

    Pin a short checklist so every moderator follows the same steps under pressure. Copy this into your staff Discord and update it as your tools change.

    1. Log the report and the exact time, world, and server.
    2. Capture replay footage of the reported moment and ten minutes around it.
    3. Pull reach, click timing, and velocity data for that same window.
    4. Check the player’s history for prior flags, alts, and appeals.
    5. Confirm whether a lag spike or restart coincides with the event.
    6. Get a second reviewer’s sign-off before issuing any ban.
    7. Store the evidence with the punishment and note the appeal deadline.

    Following the same sequence every time removes bias, speeds up decisions, and gives your community confidence that bans are earned, not guessed. That consistency is the difference between a trusted staff team and one that players resent.