Author: Arthur

  • How to Read Minecraft Server Logs: Errors and Stack Traces

    How to Read Minecraft Server Logs: Errors and Stack Traces

    Every Minecraft server problem eventually becomes a reading problem. The server already told you what broke, in plain text, usually within two seconds of it happening. The trouble is that the answer is buried in four hundred lines of INFO chatter, wrapped in a Java stack trace, and phrased in a dialect that only looks readable once someone shows you the map. This guide is that map. It exists to help you stop guessing, stop restarting blindly, and stop pasting screenshots into Discord hoping a stranger decodes them.

    It is written for server owners who administer their own Linux box, for staff who get handed a console tab and told “it crashed”, and for plugin developers who would rather read a log than ask for one. You do not need to know Java to use this. You need to know where to look, what order to read things in, and which lines are the cause rather than the echo.

    Everything below was reproduced on purpose. We ran a Paper 26.2 test server (build 129) on Ubuntu 26.04 with Java 25.0.4.1, broke it in seven specific ways, and kept the exact wording of each failure so you can compare it against your own console. That matters, because log wording drifts between versions and between forks, and a tutorial that invents example errors teaches you to look for text that will never appear on your screen.

    The Log Level Ladder, Decoded

    Minecraft servers log through Log4j 2, which is configured by the log4j2.xml file inside your server jar. The level on each line is a severity tag, not a verdict. Reading it correctly is the first half of triage: it tells you whether you are looking at context, a warning that was handled, or a genuine failure. The Apache Log4j documentation defines the ladder formally; here is what it means on a Minecraft server in practice.

    LevelWhat it usually means hereDo you act?
    TRACEExtremely granular internals, almost never enabled by default. Packet-level or per-tick detail.No. Noise unless you are debugging a specific subsystem.
    DEBUGDeveloper detail: chunk load decisions, config resolution, cache misses. Enabled per plugin.Only when reproducing a bug on request.
    INFONormal operation: world loaded, player joined, plugin enabled, backup finished.No. This is your timeline anchor.
    WARNSomething unexpected that the server worked around. Fallbacks, deprecated calls, ignored config keys.Often. Not fatal, but it is technical debt.
    ERRORA task failed. A plugin may disable itself, a command may error, an event may drop.Yes, but read the whole line: the server is usually still running.
    FATALThe process cannot continue. Startup aborts or the JVM exits.Immediately. Nothing else matters until this is fixed.

    The single most expensive misconception in Minecraft administration is that ERROR means the server is down. It does not. A plugin can throw an ERROR, disable itself, and leave the world running perfectly for the other nineteen plugins. You will see the pairing constantly: an error line, then Disabling PluginName, then business as usual. The server is up. One feature is gone. That is a very different incident from a crash, and it needs a very different response.

    • WARN is not a synonym for broken. A warning that says the server is falling back to a default is information about a config you should fix later.
    • ERROR is scoped. Ask “what failed”, not “is it dead”.
    • FATAL is the only level that reliably means stop-the-world. Even then, read upward: the cause sits above the fatal line, not below it.
    • Absence of errors is not health. A server can sit at 8 TPS with a perfectly clean log.

    Where Minecraft Keeps Its Logs

    Before you can read a log you have to find it. On a Linux server there are five places worth knowing, and they answer different questions.

    • logs/latest.log is the live file for the current run. It is rewritten every time the server starts, which is exactly why you should copy it somewhere before restarting. This is the file you tail while the server is running.
    • logs/2026-10-19-3.log.gz and its siblings are the rotated archives. The number is the run index for that day. These are gzipped, so plain grep will not read them; you need zgrep or zcat. If you restarted to “fix” something, the evidence is here, not in latest.log.
    • The console is the same stream you see in the terminal or panel, but truncated by scrollback. Never trust it as a record. If it scrolled, it is gone.
    • journalctl captures stdout and stderr when the server runs under systemd, along with the exit code and the OOM killer’s opinion. This is the only place that survives the JVM dying mid-write, and its filtering is far better than grepping a 200 MB file. See the journalctl manual for the full filter syntax.
    • crash-reports/ and hs_err_pid*.log appear when the JVM itself dies. A crash report is a formatted summary with the description, the stack, and the loaded plugin list. An hs_err_pid file is a HotSpot fatal error dump: it names the failing frame, the memory map, and the JVM flags. Both are gold when the server vanished without a graceful shutdown line.

    Where that output lands is partly a server setting. The vanilla and Paper server.properties options and the Paper configuration reference cover the knobs, but logging behavior itself comes from the bundled Log4j config, and Paper’s official documentation is the place to check before editing it.

    Anatomy of a Stack Trace

    A stack trace is a receipt for a failure. It has five parts, and once you can name them you can read any of them in about fifteen seconds.

    [12:04:31 ERROR]: [Chunky] Failed to load configuration
    org.bukkit.configuration.InvalidConfigurationException: while parsing a flow sequence
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:60) ~[paper-api.jar:?]
        at com.popcorn.chunky.ChunkyConfig.load(ChunkyConfig.java:47) ~[Chunky-1.4.36.jar:?]
    Caused by: while parsing a flow sequence
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:171) ~[snakeyaml.jar:?]
    • The exception line is the full class name and the message: InvalidConfigurationException: while parsing a flow sequence. This is what you search for. It is stable across servers and worth quoting verbatim.
    • The at frames are the call stack, newest call on top. Each frame is class, method, file, and line number. The square-bracket suffix names the jar and version, which is how you learn a failing method lives in Chunky 1.4.36 and not in Paper.
    • Caused by is the real exception, wrapped by a friendlier one. The last Caused by in the chain is almost always the actual fault. Read these before you read a single frame.
    • Suppressed appears when cleanup code also fails. It is context, not cause. Ignore it on the first pass.
    • Line numbers point at the source file of the jar that threw. If the line number is inside a plugin’s own class, the bug is that plugin’s config or code, not the server core.

    Top-down versus bottom-up

    Read top-down when you want to know what the server was doing: the top frames are the trigger, often an event handler or a scheduled task. Read bottom-up when you want to know why it failed: the bottom of the Caused by chain is the primitive fault. For plugin crashes, the practical habit is to jump to the lowest Caused by, read its message, then walk back up to the first frame that mentions a plugin jar. That pair of lines is your whole diagnosis most days.

    Seven Real Errors, Reproduced on a Test Server

    These are deliberately triggered failures with the wording left intact. Compare them against your own console before you search the internet; the exact phrasing is what makes a search work.

    1. Broken plugin YAML

    org.bukkit.configuration.InvalidConfigurationException: while parsing a flow sequence
     in 'reader', line 12, column 5:
          - [unclosed
    expected ',' or ']', but got <stream end>
    Caused by: while parsing a flow sequence

    One missing closing bracket in a Chunky config produced this. Notice what the message gives you: a file position, line 12, column 5, and a plain-English expectation. The stack is not the story here; the coordinates are. Open the file at that line, fix the bracket, done. Chasing the SnakeYAML frames is wasted effort because the parser is behaving correctly.

    2. Missing plugin dependency

    [ChestShop] No Economy adapter found! You need to install either Vault or Reserve!
    [ChestShop] Disabling ChestShop v3.13-pre-1 (build 474)

    Two lines, no stack trace, complete diagnosis. The plugin names its missing dependency, then disables itself. Note the version string, because “ChestShop 3.13-pre-1” is what you will need in a bug report. This is the classic shape of a soft failure: the server is fine, players can still build, but every shop command now fails. If a player reports “shops are broken” and nothing is crashing, this is what you go looking for.

    3. Port already in use

    **** FAILED TO BIND TO PORT!
    The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed with error(-98): Address already in use
    java.lang.IllegalStateException: Failed to bind to port

    Starting a second server from a clean directory on port 25565 gave this. The tell is the native errno, error(-98), and the phrase Address already in use. There is nothing wrong with your world, your plugins, or your Java version; something else owns the port. Find it with ss -ltnp, look at the PID column, then decide whether that process is a zombie server you forgot about or a service you should stop properly.

    4. Out of memory before the world loads

    java.lang.reflect.InvocationTargetException
    Caused by: java.lang.OutOfMemoryError: Java heap space

    With -Xmx96M, startup died inside Paperclip before any world was touched. That is the lesson: OOM can happen during class loading and library scanning, long before chunks exist. If your startup log ends abruptly with an invocation wrapper, do not assume the plugin list is at fault. Check the Caused by line, then check your start script’s memory flags. The wrapping exception exists only because reflection rethrows checked exceptions, so ignore the wrapper entirely.

    5. Watchdog after a 65-second stall

    The server has stopped responding! This is (probably) not a Paper bug.
    Server thread dump (Look for plugins here before reporting to Paper!):
    Current Thread: Server thread
    ... hundreds of lines ...
    Stopping server

    We froze the JVM with SIGSTOP for 65 seconds. The watchdog fired, dumped every thread, and killed the server. Read this as evidence, not as blame. The watchdog detected a stall; it did not cause one. Start at the top of the Server thread dump and look for a frame belonging to a plugin jar, because that is where the main thread was when time stopped. Everything below it is the rest of the server idling, and the length of the dump is normal.

    6. Datapack metadata warning

    Error reading pack metadata, attempting fallback type
    com.google.gson.JsonParseException: Pack declares support for version newer than 81, but is missing mandatory fields min_format and max_format

    An older datapack loaded anyway, thanks to the fallback. The word “fallback” is your signal that the server is continuing. Fix it because version drift compounds, but do not panic-restart at 2 AM over a WARN.

    7. Log spam has a measurable cost

    We wiped 2,000 villagers in one event. The server wrote 2,002 lines and 498,607 bytes of Villager was killed, averaging about 249 bytes per line. That is half a megabyte from one command, on one quiet test server. Scale that to a farm running in the background of a 60-player server and you get a log that rotates every hour, destroys your history, and buries the actual error you will need tomorrow. The fix is at the source: reduce the noisy event, raise that logger’s threshold, or filter it out of your daily reading. Either way, spam is not free.

    The Seven-Step Triage Workflow

    This order is intentional. Each step narrows the search space, and doing them out of order is what produces twenty-minute guesswork sessions over a thirty-second fix.

    1. Note the timestamp and reproduce. Write down the exact time a player reported the problem, then try to trigger it yourself. A timestamp turns a 200,000-line log into a 300-line window.
    2. Find the first ERROR or WARN, not the last line. The bottom of a log is whatever happened to be printing when you looked. The first anomaly is the seed; everything after it is fallout.
    3. Read the exception message and the whole Caused by chain. Skip the frames until this step. Messages are written for humans; frames are written for debuggers.
    4. Identify the thread. Server thread means the main tick loop. A named plugin thread or a ForkJoinPool or pool-N-thread worker means async work. This tells you whether the symptom is a lag spike or a background failure.
    5. Map the top plugin frame to a plugin and version. The jar name in brackets plus the class package usually answers “whose bug is this” without any searching.
    6. Check the config line or dependency name. If the message contains a line and column, open that file. If it names another plugin, confirm it is installed and enabled.
    7. Fix one thing, restart, verify. One change per restart. If you change three things and the error vanishes, you have learned nothing and will meet it again.

    Command Cheat Sheet for Linux Servers

    These are the commands worth memorizing. Run them from your server directory.

    # Watch the live log
    tail -f logs/latest.log
    
    # Every error and exception, with line numbers
    grep -n -i -E "error|exception" logs/latest.log
    
    # Context around a specific failure
    grep -n -B 5 -A 20 "OutOfMemoryError" logs/latest.log
    
    # Search rotated archives
    zgrep -i "Failed to bind to port" logs/*.log.gz
    
    # systemd-managed servers
    journalctl -u minecraft -f
    journalctl -u minecraft --since "2026-10-19 12:00" --until "2026-10-19 12:30"
    journalctl -u minecraft -p err -b
    
    # Who owns the port?
    ss -ltnp | grep 25565
    
    # Disk and memory pressure
    df -h; du -sh logs/
    free -h
    ps aux --sort=-%cpu | head -n 15
    • tail -f plus a second terminal is the fastest way to correlate a player action with a log line.
    • grep -n gives you line numbers so you can reopen the file at the right offset in an editor.
    • journalctl -p err -b shows only error priority from the current boot, often the cleanest view of a crash you missed.
    • zgrep is mandatory for archives; plain grep on a .gz file silently returns nothing, which has convinced many admins a log was empty.
    • ss -ltnp needs root to show the owning process; without it you see the socket but not the PID.
    • df -h and du -sh logs/ catch the forgotten failure mode where logging filled the disk and the JVM died on write.

    Error Text to Cause: Quick Reference

    Log textLikely causeFirst check
    Address already in use / error(-98)Another process owns the portss -ltnp
    OutOfMemoryError: Java heap spaceHeap exhausted, or -Xmx too lowStart flags, then free -h
    UnsupportedClassVersionErrorJava too old for the jarjava -version
    No Economy adapter foundMissing Vault or economy providerPlugin list and load order
    while parsing a flow sequenceMalformed YAML in a plugin configLine and column in the message
    has stopped responding! plus thread dumpMain thread stalled past the watchdog limitTop plugin frame in the dump
    Error reading pack metadataDatapack format driftpack.mcmeta format fields
    Failed to load eula.txtEULA not acceptedeula=true in eula.txt
    Unknown or incomplete commandTypo, or the plugin owning it is disabledPlugin enabled state

    Reporting a Crash the Right Way

    When a stack trace genuinely belongs to Paper or a plugin author, your report decides whether you get help. Screenshots get ignored because nobody can search or copy text from them. Paste the full log to a paste service, not a 4,000-character Discord message that truncates the middle, and never post the same log in three channels at once.

    • Full log from startup to the failure, uploaded to a paste site and linked. The startup block contains every version they need.
    • Exact versions: server jar and build, Java, the failing plugin and its build number.
    • Reproduction steps in numbered order, including what you expected to happen.
    • What you already tried, so nobody repeats your work.
    • No secrets: strip tokens, database passwords, IP addresses, and player identifiers before pasting. Config files often carry all four.

    Raw Logs vs Panels and spark: Pros and Cons

    Panels, log viewers, and profilers are excellent additions. They are not replacements, and knowing when each wins saves time.

    • Raw logs, pros: nothing is filtered out; every line is attributable and searchable; archives survive for weeks; you can script them. Cons: no aggregation, no charts, and a wall of text that hides the signal in the noise.
    • Panels and viewers, pros: instant access, search highlighting, color by level, readable on a phone. Cons: scrollback limits, dropped lines during a crash, and no access to rotated archives. If the panel lost the line, the panel cannot help.
    • spark and profilers, pros: they answer “what is eating the tick” in a way no log can, and the output is shareable as a link. Cons: they diagnose performance, not exceptions. A clean profiler run tells you nothing about a missing dependency.
    • The practical split: logs for correctness and crashes, spark for performance, the panel for convenience. Read the raw file when the answer actually matters.

    Common Mistakes and How to Avoid Them

    • Grepping only the last line. The last line is a symptom of the shutdown, not the cause. Search for the first ERROR or WARN and read forward from there.
    • Ignoring the first Caused by. The outermost exception is usually a friendly wrapper. The bottom of the chain is the truth.
    • Pasting an entire log into Discord. It gets truncated at the exact point where the useful frames were. Use a paste service and a link.
    • Assuming every WARN is fatal. A fallback warning is the server telling you it recovered. Silence it with a config fix, not a rollback.
    • Deleting or rotating logs before reading them. Copy latest.log to a dated file before every restart. This one habit prevents most “the log is gone” emergencies.
    • Restarting before reading. A restart overwrites the file that contains your answer.
    • Changing three things at once. You lose the ability to attribute the fix, which means the problem returns as a mystery.

    If noisy plugins are a recurring theme in your logs, the same discipline applies to your plugin folder: fewer moving parts mean fewer failure modes. Our guide on how to audit and trim plugins to reduce server lag walks through that audit, and the 2026 server JAR benchmark is worth reading before you blame your jar for a stack trace that came from a plugin. Keep a tested backup routine so you can experiment with config fixes without fear, and if database warnings show up, see MariaDB tuning for LuckPerms and CoreProtect.

    Frequently Asked Questions

    <!– wp:yoast/faq-block {"questions":[{"id":"faq-question-1","question":"Where are Minecraft server logs stored?","answer":"In the logs folder of your server directory. latest.log is the current run; older runs are saved as dated .gz archives such as 2026-10-19-3.log.gz and must be read with zgrep or zcat. Servers run under systemd also log to journalctl -u <service>.","images":[],"jsonQuestion":"Where are Minecraft server logs stored?","jsonAnswer":"In the logs folder of your server directory. latest.log is the current run; older runs are saved as dated .gz archives such as 2026-10-19-3.log.gz and must be read with zgrep or zcat. Servers run under systemd also log to journalctl -u .”},{“id”:”faq-question-2″,”question”:”Does an ERROR in the log mean my server crashed?”,”answer”:”No. ERROR usually means one task or plugin failed. If the next line says the plugin is disabling itself, the server is still running and only that feature is gone. Only FATAL, a crash report, or a missing shutdown line point to a full crash.”,”images”:[],”jsonQuestion”:”Does an ERROR in the log mean my server crashed?”,”jsonAnswer”:”No. ERROR usually means one task or plugin failed. If the next line says the plugin is disabling itself, the server is still running and only that feature is gone. Only FATAL, a crash report, or a missing shutdown line point to a full crash.”},{“id”:”faq-question-3″,”question”:”How do I read a Java stack trace in a Minecraft log?”,”answer”:”Start with the exception message on the first line, then read the last Caused by in the chain, which holds the real fault. After that, find the first at frame that names a plugin jar. The jar name and version tell you whose code failed; the line number tells you where.”,”images”:[],”jsonQuestion”:”How do I read a Java stack trace in a Minecraft log?”,”jsonAnswer”:”Start with the exception message on the first line, then read the last Caused by in the chain, which holds the real fault. After that, find the first at frame that names a plugin jar. The jar name and version tell you whose code failed; the line number tells you where.”},{“id”:”faq-question-4″,”question”:”How do I fix Address already in use when starting a server?”,”answer”:”Another process already holds the port. Run ss -ltnp | grep 25565 to find the PID, then either stop that process or change server-port in server.properties. The error(-98) line in the log is the native confirm of a port conflict, not a Java or plugin problem.”,”images”:[],”jsonQuestion”:”How do I fix Address already in use when starting a server?”,”jsonAnswer”:”Another process already holds the port. Run ss -ltnp | grep 25565 to find the PID, then either stop that process or change server-port in server.properties. The error(-98) line in the log is the native confirm of a port conflict, not a Java or plugin problem.”}]} –>
    Where are Minecraft server logs stored?

    In the logs folder of your server directory. latest.log is the current run; older runs are saved as dated .gz archives such as 2026-10-19-3.log.gz and must be read with zgrep or zcat. Servers run under systemd also log to journalctl -u <service>.

    Does an ERROR in the log mean my server crashed?

    No. ERROR usually means one task or plugin failed. If the next line says the plugin is disabling itself, the server is still running and only that feature is gone. Only FATAL, a crash report, or a missing shutdown line point to a full crash.

    How do I read a Java stack trace in a Minecraft log?

    Start with the exception message on the first line, then read the last Caused by in the chain, which holds the real fault. After that, find the first at frame that names a plugin jar. The jar name and version tell you whose code failed; the line number tells you where.

    How do I fix Address already in use when starting a server?

    Another process already holds the port. Run ss -ltnp | grep 25565 to find the PID, then either stop that process or change server-port in server.properties. The error(-98) line in the log is the native confirm of a port conflict, not a Java or plugin problem.

    { “@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [ { “@type”: “Question”, “name”: “Where are Minecraft server logs stored?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “In the logs folder of your server directory. latest.log is the current run; older runs are saved as dated .gz archives such as 2026-10-19-3.log.gz and must be read with zgrep or zcat. Servers run under systemd also log to journalctl -u .” } }, { “@type”: “Question”, “name”: “Does an ERROR in the log mean my server crashed?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “No. ERROR usually means one task or plugin failed. If the next line says the plugin is disabling itself, the server is still running and only that feature is gone. Only FATAL, a crash report, or a missing shutdown line point to a full crash.” } }, { “@type”: “Question”, “name”: “How do I read a Java stack trace in a Minecraft log?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “Start with the exception message on the first line, then read the last Caused by in the chain, which holds the real fault. After that, find the first at frame that names a plugin jar. The jar name and version tell you whose code failed; the line number tells you where.” } }, { “@type”: “Question”, “name”: “How do I fix Address already in use when starting a server?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “Another process already holds the port. Run ss -ltnp | grep 25565 to find the PID, then either stop that process or change server-port in server.properties. The error(-98) line in the log is the native confirm of a port conflict, not a Java or plugin problem.” } } ] }

    Start Reading, Then Start Fixing

    Log reading is a skill that pays back immediately. Once you can spot the first error, follow the Caused by chain to the bottom, and map the top plugin frame to a jar and version, most incidents take minutes instead of evenings. The wording in this article came from a real Paper 26.2 build 129 server on Ubuntu 26.04 with Java 25.0.4.1, so it may differ slightly from your version, but the shape never changes: message, cause, frames, thread, plugin. Learn the shape and you can read any log.

    Your next step is small and worth doing today: copy logs/latest.log to a dated file, then run grep -n -i -E "error|exception" logs/latest.log and read the first hit properly. If you want a second opinion on what you find, keep our plugin audit guide open beside it, and confirm your backups are current before changing configs. Read the log first. The server already told you what happened.

  • Understanding MSPT and Tick Rate: A Server Owner’s Performance Guide

    Understanding MSPT and Tick Rate: A Server Owner’s Performance Guide

    If you have ever typed “is the server lagging?” into Discord and received six different answers, you already know why this article exists. Somebody points at the memory graph. Somebody else says the TPS counter is fine. A third person blames a plugin nobody has updated since 2021. None of those answers is grounded in the one number that actually describes how a Minecraft server is doing its job: the time it takes the main thread to finish a single tick.

    This guide is written for server owners, administrators, and staff who want to stop guessing. It explains what the tick loop is, why 50 milliseconds is the number that matters, and how to read MSPT and TPS together so the data tells you where the problem actually lives. There is no hand-waving here and no “just add more RAM” advice, because that advice is wrong often enough that it deserves its own section below.

    The numbers in this article come from a controlled test, not from a wiki table. The host was an Intel Core i5-13400F with 16 threads and 14 GB of RAM, running Ubuntu 26.04 on OpenJDK 25.0.4.1 with Paper 26.2 build 129 and the flags -Xms2G -Xmx4G -XX:+UseG1GC. The world was pre-generated to 22,801 chunks with Chunky, no players were online, and a 240×240 area was force-loaded so entities would actually tick. Every figure below was collected with Paper’s own tick query across a rolling 100-tick sample, ten samples per load, reporting the median. If you want to reproduce it, the measurement section tells you exactly how.

    How the Minecraft Tick Loop Actually Works

    Minecraft is not event-driven in the way most software is. It runs a fixed-timestep loop: the server wakes up, processes everything that is scheduled for “this tick”, then sleeps until the next one. Twenty times per second, without exception in the target design. That is the whole model. Every mob that moves, every block that updates, every redstone torch that flips, every hopper that transfers an item, and every player packet that gets processed happens inside that loop. If the loop is slow, everything is slow, because nothing else runs until the loop comes back around.

    The official documentation is blunt about this being intentional. The Minecraft Wiki tick page describes the fixed 0.05 second step, and the ticks per second page covers how the game reports and clamps that rate. Paper inherits the model and adds tooling on top, which is why the Paper documentation is the practical reference for anyone running a modern server.

    The 50 millisecond budget

    One second divided by twenty ticks is 50 milliseconds. That is the entire budget for a single tick. Everything the main thread has to do in that tick must fit inside 50 ms, or the tick runs long and the server falls behind schedule. What happens next is the part people misunderstand. The server does not “catch up” by doing less work. It simply starts the next tick late, and the game clock drifts. Players see it as rubber-banding mobs, hit registration that misses, blocks that break and then reappear, and eating that takes three seconds instead of one.

    A tick that overruns has three practical consequences:

    • The next tick starts late, so the effective tick rate drops below 20.
    • Scheduled work piles up, because the queue does not shrink when the loop is slow.
    • Network position updates go out late or get skipped, which is why movement feels choppy before the TPS number looks bad.

    Why TPS falls in whole-tick steps

    TPS is not a continuous dial. The server counts ticks completed in a rolling window, so a tick either finishes in the window or it does not. Over a one-second sample you can only report whole ticks, which is why practically every server you will ever see reports 20.0, 19.x, 18.x, or a lower number that lands on a fraction of twenty. A server does not report 17.53 TPS because it is a little slow. It reports that number because the rolling window straddled a boundary, and the underlying reality is that some ticks took far longer than 50 ms.

    This is the single most important thing to internalize before you read any performance graph: TPS is a coarse output, and MSPT is the input. TPS tells you the consequence. MSPT tells you the cause. If you only ever look at TPS, you are reading the smoke alarm instead of the thermometer.

    The Tick Budget Formula and Conversion Table

    The arithmetic you need is short enough to memorize, and once you have it, you can convert any MSPT reading into the percentage of the budget it consumes without opening a spreadsheet.

    tick budget used (percent) = (MSPT / 50) x 100
    
    ticks per second, while MSPT is at or under 50 = 20
    
    ticks per second, once MSPT exceeds 50 = 1000 / MSPT
    
    for example:  MSPT 121.2  ->  1000 / 121.2 = 8.25 TPS

    The second formula is an approximation, and it is a good one for diagnosing a struggling server, but be aware of what it assumes: that every tick is roughly the same length. Real servers have a mix of cheap ticks and expensive ones, so a server with a 45 ms median will still dip below 20 TPS whenever a spike lands. Treat the formula as a sanity check, not a guarantee.

    MSPTBudget usedApproximate TPSWhat it means
    10 ms20%20Comfortable. Plenty of headroom for spikes.
    25 ms50%20Healthy steady state. This is the target zone.
    40 ms80%20Working, but a spike will push you over.
    50 ms100%20The edge. Any variance at all now costs you TPS.
    60 ms120%16.7Ticks are consistently late. Players notice.
    100 ms200%10Half speed. Mobs, redstone, and farms all slow down.
    121 ms242%8.3Our 20,000 mob test load. Clearly overloaded.

    Notice how 40 ms and 50 ms both still report 20 TPS. That is not a reason to relax. At 40 ms, four out of every five milliseconds of your tick are already committed, and the only thing keeping you at 20 TPS is that nothing unusual has happened yet. On a live server, something unusual happens constantly.

    How to Measure MSPT Without Fooling Yourself

    Measurement is where most performance investigations go wrong, and it is almost always the same mistake: one reading, taken once, treated as fact. Below is the order that actually produces usable data.

    Start with the built-in tick query

    Paper ships a tick command that reports a rolling sample of recent ticks rather than an instantaneous value. Run /tick query on a Paper server and you get a median alongside the smoothed TPS figure. Run it repeatedly, at least ten times, spread over a minute or two, then take the median of those medians. A single query is one hundred ticks of context, which is five seconds of live server behavior. Five seconds is not a diagnosis.

    • Use /tick query for the median and the reported TPS.
    • Use /tick sprint on a test server to fast-forward ticks and check whether the cost is stable or time-dependent.
    • Run your samples with a realistic player count, in the same dimension and near the same coordinates players actually use.
    • Record the numbers in a file. Memory of “it felt about forty” is worthless a week later.

    Read the percentiles, not just the median

    A median tells you what a typical tick costs. It tells you nothing about the tick that cost 1,027 ms. Percentiles do. When you sample with spark, look at P95 and P99 alongside the mean. P95 above 40 ms means one tick in twenty is already eating four fifths of the budget. P99 above 50 ms means roughly one tick per hundred is over budget, and those are exactly the ticks players feel as a stutter.

    Our own test made this vivid. The median held near 50 ms during a large entity spawn, but the 99th percentile spiked to 1,027 ms. Same run, same server, same load. A dashboard showing only the average would have called that moment healthy while players were staring at a frozen world.

    Treat log lines as a hint, not a source of truth

    Older and non-Paper server software prints a “Can’t keep up! Did the system time change, or is the server overloaded?” warning. It is genuinely useful as a signal that something crossed a threshold, but it cannot carry an investigation. The message fires on a specific internal condition, it is suppressed by rate limiting, and it says nothing about magnitude or cause. If that line is the only evidence you have, you do not have evidence yet. You have a prompt to go run /tick query and spark.

    MSPT Is Not CPU Load, and It Is Definitely Not RAM

    These three numbers get collapsed into “server performance” in casual conversation, and that collapse is expensive. MSPT measures one specific thing: wall-clock time spent by the main server thread inside a tick. It is not total CPU utilization, because your host has other threads doing chunk generation, networking, and garbage collection, and those can be pinned at 100% while the tick loop stays under 25 ms.

    RAM is even further removed. Adding memory does not make a mob AI pathfinding calculation faster. It can help in one narrow case: if your heap is too small, the garbage collector runs more aggressively and its pause times show up as MSPT spikes. That is a real effect and it is the reason running a busy server on 1 GB of heap is a problem. But once you have enough heap to avoid constant collection, extra gigabytes do nothing for a CPU-bound tick loop.

    • High MSPT with low CPU: the main thread is waiting, possibly on synchronous I/O or lock contention.
    • High MSPT with high CPU: genuine compute load, usually entities, AI, or plugin logic.
    • Low MSPT with high RAM use: normal. Minecraft allocates freely and collects later.
    • Spiky MSPT with visible GC pauses in spark: heap sizing or allocation rate, not entity count.

    The practical takeaway: when someone tells you the server needs more RAM, ask for an MSPT graph first. You will save money.

    What a Controlled Test Actually Showed

    The test that produced the figures in this article was built to isolate one variable at a time. Same world, same JVM, same flags, no players, no plugins beyond what Paper ships. The 240×240 force-loaded area guaranteed that the entities were genuinely inside ticking chunks rather than sitting in unloaded space, which is a mistake that silently invalidates a lot of home-grown benchmarks.

    LoadMedian MSPTTPSBudget used
    Idle, only the force-loaded area0.6 ms20.01.2%
    1,000 zombies, NoAI8.3 ms20.016.6%
    5,000 zombies, NoAI22.7 ms20.045.4%
    10,000 zombies, NoAI48.5 ms20.097.0%
    20,000 zombies, NoAI121.2 ms8.25242.4%
    2,000 zombies, AI enabled19.1 ms20.038.2%
    5,000 zombies, AI enabled28.5 ms20.057.0%
    10,000 armor stands19.2 ms20.038.4%
    5,000 dropped items20.7 ms20.041.4%
    2,000 villagers113.8 ms8.79227.6%

    Also worth noting: /save-all flush took 0.16 to 0.36 seconds on this world. That is 160 to 360 ms of main-thread work landing in a single tick, which is why save operations are a recurring source of complaints on large worlds and why Paper offers configuration options for spreading that work out.

    Scaling is linear, until it is not

    From 1,000 to 10,000 NoAI zombies, the cost grows almost perfectly linearly: about 8.3 ms per thousand entities. That predictability is useful, because it means you can estimate your own load. Ten thousand simple entities roughly costs you half your tick budget. What breaks the pattern is allocation pressure. At 20,000 entities the curve steepens sharply, because the server is now generating enough garbage per tick that collection cycles start landing on the main thread. Linear scaling is the design; the cliff is the surprise.

    This is also why a server can look fine at 6,000 entities and fall apart at 8,000. Nothing magical happened to the mobs. The allocation rate crossed a threshold where the collector has to work harder, and that work shows up in the tick.

    AI is the difference between cheap and expensive

    Setting the NoAI flag on a mob stops it running its AI goals, and the performance consequence is enormous. Two thousand AI-driven zombies cost 19.1 ms. Two thousand NoAI zombies would have cost roughly 5 ms by extrapolation from the linear curve. Villagers are worse still: 2,000 of them produced 113.8 ms, worse than twenty thousand NoAI zombies. Villager AI involves pathfinding toward workstations, inventory scanning, breeding checks, and gossip management, all of which runs every tick for every villager in a ticking chunk.

    If you run iron farms or trading halls, this is the number to remember. Two hundred villagers in one trading hall is not a trivial load. Two thousand is a design emergency.

    Cheap per entity still adds up

    Armor stands do almost nothing: no movement, no AI, no collision resolution beyond a bounding box. Ten thousand of them still cost 19.2 ms, which is just under 40% of the budget. Dropped items are similarly cheap individually, and 5,000 of them cost 20.7 ms. The lesson is that “this entity is cheap” and “this entity is cheap at scale” are different claims. An armor stand shop with display models is fine. A duplicator stalling five thousand item stacks in one chunk is not.

    Averages hide the moments players remember

    The spawn burst observation deserves its own paragraph. While the median hovered near 50 ms, P99 reached 1,027 ms. One tick in a hundred took a full second. Players do not experience your median. They experience the one-second freeze every time a chunk with a large entity population loads, and then they report the server as broken even though the dashboard looks acceptable.

    Whenever you evaluate a change, sample the percentiles before and after. If P99 gets worse while the median improves, you have not fixed anything. You have moved the pain.

    A Practical MSPT Budget for Real Servers

    Numbers pulled from a lab are useless unless you translate them into thresholds you can act on during a live incident. These are the boundaries we recommend, based on the test data above and on what margin a live server needs to absorb saves, plugins, and network jitter.

    • Steady-state median under 25 ms: healthy. You have half your budget free for spikes, saves, and player teleports.
    • Median between 25 and 40 ms: working but tight. Start profiling before you add content, plugins, or players.
    • P95 above 40 ms: investigate now, even if TPS still reads 20. This is the early warning you actually get.
    • Median at or above 50 ms: you are at or over the edge. TPS will start dropping with any variance.
    • Sustained MSPT above 60 ms: treat as an incident. Players are already experiencing degraded behavior.

    One caveat: different server types need different headroom. A creative plot server with a hundred players spread across flat terrain can run hotter than a survival server with redstone farms, because the plot server has less risk of a player building a lag machine. Judge your margin by your worst realistic tick, not your average one.

    When MSPT Is High, Do This in Order

    The temptation when a server is slow is to change configuration immediately. Resist it. Every config change you make before you know the cause removes one possible explanation and adds one new variable. The order below is deliberate and it costs nothing to follow.

    1. Measure. Get a median and a P95 from /tick query and a spark profile, with realistic player counts. Do not skip this.
    2. Identify the load. In spark, find which tick section dominates: entity ticking, block entities, chunk management, or plugin tasks. Count entities per world and per chunk; Paper and most management plugins can report this.
    3. Reduce entity load where it matters. Cull wandering mobs outside player view, cap farms, and inspect spawner configurations. Remember that 2,000 villagers is worse than 20,000 NoAI zombies.
    4. Check plugins and their scheduled tasks. A plugin running a synchronous inventory scan every tick will not show up as vanilla entity cost, and it is a common culprit on servers with heavy economy or minigame stacks. The plugin audit walkthrough covers how to isolate one.
    5. Only then change configuration. View distance, simulation distance, and entity activation range are powerful, but they are blunt instruments. Applied after diagnosis, they work. Applied before, they just hide the problem.

    Two related reads are worth your time once you reach the configuration stage. Simulation distance decides which chunks get random ticks and entity updates at all, and the gap between it and view distance is the single biggest lever most survival servers have; see [View Distance vs Simulation Distance: Cutting Chunk Lag for Real]. If you use loader chunks to keep farms running, the cost accounting is in [Understanding Chunk Loaders and Their Performance Cost]. And if you are still deciding what to run in the first place, [our 2026 server JAR benchmark measures the same tick cost across five server implementations on identical hardware.

    For the flags and defaults involved, the Paper configuration reference documents each option with its actual effect, which is worth reading before you copy a tuning guide written for a different Minecraft version.

    Pros and Cons of Optimizing by MSPT

    Managing a server by MSPT is a discipline, and like any discipline it has trade-offs. Here is an honest accounting.

    Pros

    • It measures the actual constraint. The main thread is what limits a Minecraft server, so measuring it removes guesswork.
    • It converts directly into capacity. At 25 ms steady state you know you have room; at 48 ms you know you do not.
    • It makes changes verifiable. Before and after numbers give you a real answer instead of a feeling.
    • It separates causes. High MSPT with low CPU points somewhere completely different from high MSPT with high CPU.
    • It protects your budget. It stops the reflexive RAM upgrade that fixes nothing.

    Cons

    • It requires sampling discipline. One reading is worse than no reading, because it feels like evidence.
    • It does not see everything. Network latency, client-side rendering, and disk I/O can hurt players while MSPT stays low.
    • Median alone is misleading. You need percentiles, which is more work than glancing at a dashboard.
    • It is version-sensitive. Absolute numbers move between Minecraft and Paper releases, so compare within a version, not across one.
    • It can encourage over-tuning. Chasing 12 ms on an idle test server is time better spent on backups and monitoring.

    The balance: watch MSPT and P95 as your primary signal, treat TPS as the output it is, and keep an eye on disk and network as separate concerns. That combination catches nearly everything that actually affects players.

    Common Mistakes and Expert Tips

    These are the errors we see most often, in roughly the order they cost people time.

    • Averaging away the spikes. A 20 TPS report over a minute can hide three one-second freezes. Fix: report P95 and P99 next to the median, always, and compare them before and after any change.
    • Testing on an empty world. A fresh superflat world with zero entities will report sub-millisecond MSPT and teach you nothing. Fix: force-load the area you are testing so entities are inside ticking chunks.
    • Blaming RAM. Adding memory to a CPU-bound tick loop changes nothing except your invoice. Fix: confirm with a spark profile that GC pauses are actually the cost before touching heap size.
    • Measuring during world generation. First-visit chunk generation is far more expensive than steady-state ticking and will dominate every reading. Fix: pre-generate with Chunky, as this test did to 22,801 chunks, then measure.
    • Not force-loading chunks. Entities in unloaded chunks cost nothing and will make your load test look artificially good. Fix: set a force-load boundary and confirm the entity count in-game before sampling.
    • Changing five settings at once. You will never know which one helped. Fix: one change, one measurement cycle, then decide.
    • Ignoring the save cost. Autosave landing on a big world is a 160 to 360 ms tick on this test host. Fix: stagger or throttle saves and avoid scheduling them at peak hours.
    • Testing with a plugin stack you do not run in production. Fix: benchmark with your real plugin set, or you are measuring a server you do not operate.

    The expert habit underneath all of these is boring and effective: keep a log of MSPT median and P95, entity counts, and player counts on a fixed schedule. After a month you will know what normal looks like for your server, and abnormal will be obvious in seconds instead of hours.

    Frequently Asked Questions

    What is MSPT in Minecraft?

    MSPT means milliseconds per tick: the wall-clock time the main server thread spends completing one tick. The budget is 50 ms because the server targets 20 ticks per second. Reading MSPT tells you how much of that budget is already spent, which is more useful than TPS alone.

    What MSPT is too high for a Minecraft server?

    Sustained MSPT at or above 50 ms means ticks are running over budget and TPS will drop. Aim for a steady-state median under 25 ms, investigate when P95 passes 40 ms, and treat 50 ms as the edge.

    Does adding more RAM lower MSPT?

    No, not if the tick loop is CPU-bound. More heap only helps when garbage collection pauses are the cause of the spikes. Check a spark profile for GC time before increasing memory; in most cases entity count and plugin logic are the real cost.

    Why does my server show 20 TPS but players still lag?

    TPS is a rolling average, so short spikes disappear inside it. In our test the median stayed near 50 ms while the 99th percentile hit 1,027 ms. Sample P95 and P99 with the tick query or spark, and check network latency separately, because TPS does not measure that at all.

    Conclusion

    MSPT and tick rate are not complicated once you separate them. The server has 50 milliseconds per tick, twenty times a second. Every entity, block update, and plugin task shares that budget. MSPT tells you how much of it is gone, TPS tells you what happened when it ran out, and percentiles tell you about the moments players actually complain about.

    The test numbers in this guide give you a calibration point: 10,000 simple entities is roughly half a tick budget, 2,000 villagers is more than double it, and a server sitting at 48 ms is one spike away from visible trouble. Use 25 ms as your steady-state target and 40 ms P95 as your investigation trigger, and you will catch problems while they are still cheap to fix.

    If your server is already above those lines, start with a measurement pass today: run /tick query ten times at peak, take a spark profile, count your entities, then work the list above in order. For the wider groundwork, our server JAR benchmark and plugin audit guide are the natural next steps. Measure first, change one thing, measure again. That habit will do more for your server than any single configuration flag.

  • Taming Entity Counts: Reducing Mob Lag on Busy SMPs

    Taming Entity Counts: Reducing Mob Lag on Busy SMPs

    This guide exists to help a specific kind of server owner: the one whose hardware is fine, whose plugin list is not obviously broken, and whose TPS still collapses once sixty players log in. When we open a profiler on a server like that, the top of the stack is usually not chunk generation and it is rarely the nether. It is a pile of entities that nobody has counted in two years.

    Everything below comes from a controlled bench run rather than a guess. The test host was an Intel Core i5-13400F with 16 threads, 14 GB of RAM, Ubuntu 26.04 and OpenJDK 25.0.4.1, running Paper 26.2 build 129 with -Xms2G -Xmx4G -XX:+UseG1GC, over 22,801 pre-generated chunks. No players were connected, and a 240×240 area was force-loaded so the only variable was entity count. Numbers are medians of ten samples from tick query output.

    The result that reframed how we think about mob lag: 2,000 villagers cost 113.8 ms per tick and dropped the server to 8.79 TPS, while 5,000 AI zombies cost 28.5 ms. A trading hall is roughly four times more expensive than a zombie farm of similar population. If your lag hunt has been focused on mob farms, this article will move your attention somewhere less glamorous.

    Why entity count matters more than mob type

    A server has a fixed amount of main-thread time. At 20 TPS the whole tick gets 50 ms, and everything competes for that slice: chunk ticking, block updates, redstone, hopper transfers, player movement and entities. Entities are the part most owners underestimate because they stay invisible in-game until you look for them.

    Cost is not linear in a friendly way either. Doubling entity count roughly doubles cost until you cross the tick budget, and then TPS falls and players rubber-band on top of everything else. The no-AI zombie run shows the shape: 1,000 zombies added 7.7 ms, 5,000 added 22.1 ms, and 20,000 added 120.6 ms, where the server fell to 8.25 TPS.

    The takeaway is an entity budget. Decide roughly how many ticking entities your hardware can afford, measure what you have, and spend the budget where it produces gameplay. Mechanics are documented on the Minecraft Wiki entity reference, and the knobs live in the Paper world configuration reference.

    How Minecraft actually ticks entities

    Almost every fix below targets one of five things: whether an entity ticks at all, how far its brain runs, how much collision work it forces, how long it lives, and how many of them a plugin creates.

    Entity ticking chunks and activation range

    Paper does not tick every entity in every loaded chunk. It keeps a smaller active set and applies an activation range per entity category. Inside that radius the entity runs its full tick including AI; outside it, the entity is largely frozen. It stays in memory, keeps its data, and costs very little.

    That is why an entity far from players is nearly free while the same entity in a force-loaded chunk is expensive forever. Spawn chunks, loader-held chunks and anything a plugin keeps alive pay the ticking price whether or not a player is nearby.

    AI goals, pathfinding and collisions

    An AI zombie costs more than a no-AI zombie because goal selectors run, the entity scans for targets, and once it decides to move it asks the pathfinder for a route. Pathfinding is the expensive part, followed by collision resolution and entity lookups. Open pens full of wandering mobs are worse than tightly packed ones because every mob can path somewhere.

    Items, merging and despawn timers

    Dropped items are their own category. Every item entity ticks its age, checks for a merge partner, tries to fall, and holds a slot in movement and collision passes. A farm dropping items into a hopper line that is briefly backed up leaves a carpet of entities on the floor. At 4.0 microseconds each, 5,000 items measured 20.7 ms for objects no player will ever pick up.

    Why more RAM does not help

    Entity ticking is CPU work on the main thread. Adding heap does not make goal selectors faster, reduce pathfinding calls or merge items. Extra RAM buys headroom before garbage collection pressure hurts, and with a sane G1 heap that is not your bottleneck. Our test server ran the whole suite in a 4 GB heap and still hit 8 TPS from entity cost alone.

    The measured results

    Every run used the same world, the same JVM flags and the same force-loaded area. The only variable was entity count and type.

    ScenarioMSPTTPSNote
    Idle (no entities)0.620.0Baseline for the whole suite
    1,000 no-AI zombies8.320.0Cheapest mob per unit
    5,000 no-AI zombies22.720.0Still comfortable
    10,000 no-AI zombies48.520.0At the edge of the tick budget
    20,000 no-AI zombies121.28.25Tick budget blown
    2,000 AI zombies19.120.0AI roughly doubles per-entity cost
    5,000 AI zombies28.520.0AI scales worse than count
    10,000 armor stands (marker, no gravity)19.220.0Cheap each, deadly in bulk
    5,000 dropped items20.720.0Farm overflow territory
    2,000 villagers113.88.79Most expensive per entity by far

    Clearing every entity afterwards returned the server to 0.6 ms, which proves nothing else in the world was contributing measurably. It also shows the limit of the test: a 240×240 force-loaded area with no players isolates entity cost. A real server adds player movement, chunk sending, redstone, hoppers and plugin listeners, so your absolute numbers will be higher and your safe entity ceiling lower. Use the shape of these results, not the exact values.

    Cost per entity: villagers are the outlier

    Subtracting the 0.6 ms idle baseline and dividing by entity count gives a rough per-entity cost. Treat these as order-of-magnitude figures, since cost depends on what each entity is doing.

    Entity typeTest sizeMSPTApprox. cost each
    No-AI zombie20,000121.24.4 – 6.0 us
    AI zombie5,00028.55.6 – 9.3 us
    Armor stand (marker, no gravity)10,00019.21.86 us
    Dropped item5,00020.74.0 us
    Villager2,000113.8~56.6 us

    One villager costs roughly the same as nine to twelve no-AI zombies. That is the most useful number in this article. It comes from the villager brain: POI and workstation lookups, gossip and reputation handling, restock scheduling, breeding checks and pathfinding to beds and workstations all run on the main thread. A hall with 200 villagers is the computational equivalent of a 2,000 mob farm.

    There is a second, hidden cost to mass entity operations. Killing 2,000 villagers in one event wrote 2,002 journal lines and 498,607 bytes of the message Villager was killed into the log. That is roughly half a megabyte of synchronous logging during one tick spike. If you do bulk cleanup, filter death messages out of your log pipeline first, or raise the log level so the kill notification does not flood disk I/O while the server is already struggling.

    How to count what you actually have

    Measure first. Every fix below is guesswork until you know the composition of your entity population. Three tools cover almost everything.

    spark

    The spark profiler tells you whether entity ticking is genuinely the top cost or whether you have been blaming mobs for a plugin problem. Run it during the actual problem window with players online; a profile from an empty server tells you the truth about an empty server and nothing else.

    /spark profiler --timeout 60
    /spark profiler --only-ticks-over 50
    /spark tps
    /spark health

    Tick timing

    Tick query reports median, percentile and worst-case tick durations over recent ticks. Take it before and after every change, at least three samples, and write the numbers down.

    /tick query
    /tick query report

    Vanilla commands for counting

    You do not need a plugin to count entities. An execute if entity test returns the number of matched entities as its result, capped by limit, so you can store it in a scoreboard objective and scope it with distance.

    /scoreboard objectives add counts dummy
    /execute store result score #villagers counts run execute if entity @e[type=minecraft:villager,limit=2000]
    /scoreboard players get #villagers counts
    /execute store result score #items counts run execute if entity @e[type=minecraft:item,limit=20000]
    /scoreboard players get #items counts
    /execute if entity @e[type=minecraft:armor_stand,distance=..240,limit=1]

    Swap the type for minecraft:armor_stand, minecraft:item or minecraft:experience_orb, and add distance=..240 to scope a count to the region you care about. For a spatial check, /execute as @e[type=villager,distance=..32] run say found shows how tightly stacked a hall is. Before blaming spawn limits, cross-check the mob spawning rules to confirm natural spawning is even contributing.

    The prioritized fix list, cheapest first

    Work down this list in order. Each step is cheaper in effort and risk than the one below it, and each step gets a measurement before you move on.

    1. Remove or merge dropped items

    Items are the best ratio of pain removed to risk taken. Look for farms whose output backs up, then tighten the defaults in your Paper world configuration.

    • Lower item despawn time so useless drops vanish faster than the default five minutes.
    • Increase the item merge radius so nearby stacks consolidate instead of ticking separately.
    • Set per-type despawn overrides for bulk drops such as cobblestone and netherrack.
    • Fix the source: add overflow voiding, buffer chests or comparators so a backed-up hopper never becomes a floor full of entities.

    Merging changes where items visually sit and can break farm designs that rely on precise item positions, so test one farm at a time.

    2. Cap armor stands and holograms

    At 1.86 microseconds each, armor stands look free until you have ten thousand, which measured 19.2 ms. Holograms are the usual culprit: each line of floating text is often its own invisible armor stand, so a twenty line leaderboard is twenty entities per location, plus whatever the plugin does with them every tick.

    • Count armor stands first with the scoreboard method above, then hunt the coordinates.
    • Consolidate holograms and shop signs; one display is better than five stacked stands.
    • Turn off armor stand collision lookups in Paper’s world defaults if your stands are decorative.
    • Delete leftovers: old event displays, dead shop holograms, test rigs from former staff.

    3. Reduce villager count and consolidate trading halls

    This is where most SMPs find their real lag. Villagers cost more than any other common entity, and servers accumulate them because every player builds a private hall and then a shared hall appears at spawn. Audit for duplicate halls, abandoned bases and villagers roaming free in villages nobody uses.

    • Keep a small number of dedicated halls rather than one per player.
    • Confine villagers to a compact footprint so they sit in one or two ticking chunks instead of a dozen.
    • On Paper, disabling ticking for villagers outside the activation range removes most of the cost of a large hall when nobody is near, but those villagers will not restock, breed or work until a player comes close.
    • Free-roaming villagers are the worst case: they path constantly, spread out, and no config can reason with them.

    Be honest with players about why you are consolidating. A hall of 40 villagers with clear signage beats 400 in basements nobody visits.

    4. Tune entity activation range and spawn ranges

    Paper exposes per-category activation ranges for animals, monsters, raiders, misc, water, flying monsters and villagers, plus a switch for ticking inactive villagers. Every key is documented in the Paper world configuration reference.

    • Reduce monster and animal activation range moderately, not drastically. Mobs outside the range freeze, so farms relying on distant movement will slow down.
    • Keep villager activation range generous if trading matters to your economy, and cut villager count instead.
    • Lower per-player mob spawn limits and spawn range to shrink the background population on servers with players spread across the map.
    • Reduce spawn limits in small steps; each step cuts natural spawn rates and therefore mob farm output.

    Every setting here trades gameplay for performance. Change one, restart, measure for at least ten minutes with realistic player load, and keep notes. The broader Paper configuration reference is worth reading end to end before touching defaults.

    5. Only then consider nerfing spawner mobs

    Paper can disable AI on mobs that come out of spawners. It is a large saving and a blunt instrument: those mobs will not chase or navigate, and farms that depend on movement break. Enable it only when your profile or counts prove spawner output is the cause, and tell players before you do.

    6. Audit plugins that spawn or tick entities

    A plugin running a task over every entity each tick can cost more than the entities themselves. Look for plugin frames in the profiler under the entity and scheduler sections, and check anything managing holograms, mob stacking, custom mobs, pets, crates or leaderboards. On servers with dozens of plugins, a trim pass is often the biggest single win.

    Pros and cons of aggressive entity limits

    Entity limits work. They also change how the game plays, and players notice fast. Here is the honest trade.

    Pros

    • Immediate tick time reduction with no new hardware and no migration.
    • Predictable capacity: a fixed entity budget means performance does not degrade as players build.
    • Cheap to reverse if you keep notes and backups.
    • Forces better world design, which usually improves the player experience too.

    Cons

    • Farms lose rates, sometimes a lot, and players will file tickets about it.
    • Mobs freezing outside activation range can look like bugs and can break vanilla mechanics or datapacks.
    • Aggressive settings mask the real problem if a plugin is actually at fault.
    • Villager and iron farm behaviour depends on ticking, so over-tuning quietly breaks an economy.

    Common mistakes and expert tips

    • Killing every entity without fixing the spawn source. The population returns in hours, and you also paid for a tick spike and half a megabyte of death logging.
    • Setting activation range to 1 as a quick fix. Everything stops moving, players call it broken, and you learn nothing about your cost distribution.
    • Forgetting persistent mobs. Nametagged pets, mobs with persistence flags and anything in a force-loaded chunk ignore despawn logic; count them separately.
    • Ignoring item entities from farms. Owners blame mobs while a hopper line silently accumulates thousands of items on the floor.
    • Measuring during a spawn burst. Take medians over at least ten samples; one tick query during a spawn wave tells you nothing useful.
    • Changing five settings at once and then guessing which one helped.
    • Testing with no players online and assuming the result transfers. Add player load before drawing conclusions.
    • Skipping world pre-generation and blaming mobs for what is really chunk generation.

    A workflow that works: baseline with spark and tick query, fix items, measure, fix stands, measure, fix villagers, measure, then tune activation and spawn ranges one key at a time. Do not raise chunk throughput before you have cut entity load, or you will spend a week chasing the wrong thing, as our view distance and simulation distance breakdown explains.

    Frequently Asked Questions

    Does more RAM reduce mob lag?

    No. Entity ticking is CPU work on the main thread, so extra heap does not speed up AI, pathfinding or item merging. More RAM only helps if garbage collection pressure is the bottleneck, which is a different problem.

    How many villagers is too many for a Minecraft server?

    On our test bench 2,000 villagers cost 113.8 ms per tick and dropped the server to 8.79 TPS, while one villager cost about 56.6 microseconds. Keep total villager count in the low hundreds per SMP and consolidate halls rather than adding them.

    What does entity activation range do in Paper?

    It sets the distance within which entities of a category run a full tick, including AI. Beyond that radius an entity stays loaded but is largely frozen, which is why mobs far from players cost almost nothing while mobs in force-loaded areas cost constantly.

    How do I count entities on my server?

    Use spark profiler to see the cost, tick query for median tick time, and vanilla commands to count. An execute if entity test returns the number of matches up to limit, so you can store it in a scoreboard objective and scope it with distance.

    The bottom line

    Mob lag is almost always an accounting problem, not a hardware problem. Count what you have, spend your entity budget deliberately, and start with the cheapest wins: items on the floor, then armor stands and holograms, then villagers. Only after those are clean does it make sense to touch activation range, spawn limits or spawner nerfs, because those settings change the game your players actually play.

    Do it in one sitting. Take a tick query baseline, run the scoreboard counts, write the numbers down, apply one change, and take the baseline again. You will usually find that a fifth of your entities were producing none of your gameplay. If entity load turns out not to be the ceiling, look at chunk generation and plugin overhead next.

    Related reading on this site: [View Distance vs Simulation Distance: Cutting Chunk Lag for Real], [Understanding Chunk Loaders and Their Performance Cost], [How to Pre-Generate Your Minecraft World with Chunky], and [How to Audit and Trim Plugins to Reduce Server Lag]. If you run a busy SMP and want a second opinion on your numbers, publish your spark link and ask; the community is good at spotting what a profile hides.

  • How to Reduce Minecraft Backup Sizes and Backup Times

    How to Reduce Minecraft Backup Sizes and Backup Times

    Every Minecraft server owner has that moment: you run tar -czf backup.tar.gz world, watch the progress bar crawl for four minutes, and then find a 1.2 GB file on a disk that is already 80 percent full. Multiply that by hourly backups and the whole plan collapses. This guide exists to fix that with numbers instead of opinions. We took a real Paper 26.2 world, ran twelve different backup approaches against it on the same machine, and recorded the size and wall-clock time of every one. Then we restored the archive and compared it byte for byte. The point is simple: you should be able to pick a backup method for your server in the next ten minutes and know exactly what it will cost you in disk and downtime.

    It is written for server owners, administrators and plugin developers who already have a backup habit but suspect it is inefficient, and for the ones who skipped backups entirely because the last attempt ate their free space. The benchmark data below was collected on an Intel Core i5-13400F with 16 threads and 14 GB of RAM running Ubuntu 26.04, with all work done on one local SSD and a warm page cache. The source was a quiesced copy of the world, so every number measures the backup tool and nothing else.

    Two findings up front, because they change how you plan. First, compression ratio barely matters here. Every tool landed between 143 and 146 MiB. Second, speed varies by more than thirty-fold between the worst and best option. Region data has limited redundancy, so what you should optimize is time and restore behavior, not the last two percent of size. Everything else in this article follows from those two facts.

    Why Minecraft Backups Get Slow and Big

    A Minecraft world is not a database of tidy rows. It is a pile of region files, each holding a 32×32 grid of chunks in a compressed NBT container, plus a parallel set of auxiliary data. Once you understand the layout, the performance numbers stop being surprising.

    What is actually inside the world folder

    • dimensions/ is the bulk of it: in our test world, 228 MB of the 233 MB total. This holds overworld, the_nether and the_end, each with region/, entities/ and poi/ subfolders in the modern Paper layout.
    • .mca region files are already internally compressed with zlib, so recompressing them gains little. Our 106 region files barely changed size no matter what tool touched them. See the Minecraft Wiki region file format documentation for the structure.
    • entities/ and poi/ folders are small but critical. Item frames, chests, villagers and mob AI state live here. Missing them means duplicating or losing inventory contents on restore.
    • datapacks/ took 5.7 MB in our world. Small, but if you exclude it your restored world silently loses custom recipes and advancements.
    • data/ was only 28 KB: scoreboard data, map ids, raids. Tiny and absolutely not optional.
    • logs/, crash-reports/, cache/ and libraries/ are the usual bloat. Logs grow without bound, and caches regenerate on first start.

    Two more factors dominate the size on a busy server. First, region files never shrink: chunks you visited once in 2019 still occupy their 4 KB sector allocation even if they are nearly empty, so a world with heavy exploration grows monotonically. Second, the difference between a cold copy and a crash-consistent copy is the difference between a world that starts and one that makes the server crash-loop with a corrupted chunk. Copying region files while the server is writing them produces torn files, and Minecraft will not always complain cleanly about it.

    That is why the procedure matters as much as the tool. A crash-consistent copy flushes the server tick loop, stops writes, takes the copy, and resumes. A hot copy of a live world is a gamble you will eventually lose.

    The Safe Capture Procedure

    Every benchmark in this article was run against a quiesced copy, and the commands in the next section all assume you do the same. The sequence uses four server commands and it works on vanilla, Paper, Purpur and Fabric servers alike, because they are all vanilla commands.

    1. save-off stops automatic chunk saves so the server stops writing to disk.
    2. save-all flush forces a synchronous write of every dirty chunk. On the live server we measured this at 0.16 to 0.36 seconds across 22,801 chunks.
    3. Copy or snapshot the world directory. The server keeps running and players keep playing, but nothing is being written to region files.
    4. save-on resumes normal saving.

    The window of risk is the length of step 3. During it, players can still move and place blocks; those changes sit in memory and are written after save-on. A crash in that window loses recent changes but never corrupts the files on disk, because you already flushed. If your copy takes longer than about thirty seconds, tell players in chat, or take a filesystem snapshot instead so step 3 is nearly instant.

    Two details separate a script that works from a script that eats data. First, redirect output carefully: piping server commands into a FIFO or using screen -X stuff means the commands may be processed asynchronously, and your copy can start before the flush completes. Second, make sure the copy actually reaches durable storage before you report success. On ext4, a plain cp leaves data in the page cache; if the machine loses power, the backup is gone. Run sync, or use a tool that fsyncs explicitly, before you annotate the backup as valid.

    #!/bin/bash
    # safe-world-copy.sh - quiesce, flush, copy to staging, resume
    WORLD=/srv/minecraft/world
    STAGE=/srv/backups/staging
    mkfifo /tmp/mc.pipe 2>/dev/null
    tail -f /tmp/mc.pipe | screen -S minecraft -X stuff 2>/dev/null
    
    echo "save-off" > /tmp/mc.pipe
    echo "save-all flush" > /tmp/mc.pipe
    sleep 1
    
    rsync -a --delete "$WORLD/" "$STAGE/world/"        # fast, local staging
    echo "save-on" > /tmp/mc.pipe
    sync
    
    echo "staged copy ready: $(du -sh "$STAGE/world" | cut -f1)"

    If you already have an automated job, the pattern slots straight into it. Our guide to [How to Set Up Automated Minecraft Server Backups on Linux] covers the systemd timer and retention side; this article covers what to put inside the job.

    Benchmark Setup and Raw Results

    The test world was 233 MB apparent, or 243,487,250 bytes on disk, with 106 .mca region files. All work happened on one local SSD with warm cache, which means the read side was effectively free and the numbers reflect compression and write cost rather than disk latency. Times are wall-clock for the entire operation including archive creation.

    MethodArchive sizeBytesTime
    tar (no compression)232.4 MiB243,640,3200.08 s
    gzip -1145.4 MiB152,514,1102.60 s
    gzip -6145.0 MiB152,009,8812.91 s
    pigz -6 (16 threads)145.2 MiB152,226,5920.34 s
    zstd -1 -T0144.3 MiB151,259,9040.10 s
    zstd -3 -T0143.5 MiB150,423,3220.19 s
    zstd -9 -T0142.8 MiB149,747,3320.97 s
    zstd -19 -T0142.2 MiB149,119,2855.57 s
    zip -1145.5 MiB152,543,8762.94 s
    zip -6145.0 MiB152,037,7103.30 s
    restic (first)~146 MB repo–1.32 s
    restic (second, unchanged)~146 MB repo–0.77 s
    rsync (second pass, no changes)––0.07 s

    Look at the spread. Plain gzip -6 took 2.91 seconds; zstd -3 -T0 produced a slightly smaller archive in 0.19 seconds. That is a fifteen-fold speedup for a better result. zstd -19 gave up 4.6 seconds to save 1.3 MiB over zstd -3; that is the trade you are making when you copy a -19 line from a blog post and schedule it hourly.

    Byte totals from the restore test confirm the archives are complete: the zstd -9 archive extracted to exactly 243,487,250 bytes across 106 region files, matching the source. Compression ratio across every compressor stayed in a 143 to 146 MiB band because region files are already zlib-compressed internally and hold little cross-file redundancy.

    Why multithreading changes everything

    The 16-thread CPU is the reason for the pattern above. Plain gzip is single-threaded: it uses one core no matter how many you have, so all sixteen sit idle while one grinds through the archive. zstd with -T0 spawns one worker per core, and pigz is a drop-in parallel gzip that does the same. On a 2-core VPS the gap narrows to roughly 2x instead of 15x, but the ranking does not change: anything parallel beats single-threaded gzip.

    One caveat: on a very small VPS, saturating all cores during a backup will starve the Minecraft server tick loop. Use -T2 or -T4 instead of -T0 on machines with fewer than four cores, and consider nice -n 19 so the GC threads win.

    Copy-Paste Commands for Every Option

    All commands assume you are in the directory containing the flushed world folder. Adjust paths and thread counts to taste.

    tar with zstd (the general-purpose winner)

    # fastest useful default
    tar --use-compress-program="zstd -3 -T0" -cf world-$(date +%F-%H%M).tar.zst world/
    
    # archive grade, run nightly or weekly
    tar --use-compress-program="zstd -19 -T0 --long" -cf world-archive-$(date +%F).tar.zst world/

    pigz for gzip compatibility

    # keeps .tar.gz output so old scripts and panels still work, but uses all cores
    tar --use-compress-program="pigz -6 -p $(nproc)" -cf world-$(date +%F).tar.gz world/

    zip

    # useful only when a control panel or Windows client expects a zip
    zip -r -1 world-$(date +%F).zip world/

    rsync with –link-dest (snapshot-style, near-zero space per run)

    # first run creates the baseline, later runs hardlink unchanged files
    BASE=/srv/backups/world-daily
    NEW=$BASE/$(date +%F-%H%M)
    rsync -a --delete --link-dest="$BASE/current" /srv/backups/staging/world/ "$NEW/"
    ln -sfn "$NEW" "$BASE/current"

    Most file managers and du will report the full size for every snapshot directory, but hardlinked files share one copy on disk. A hundred snapshots of a mostly unchanged world can cost barely more than one. Pair this with the staging copy from the safe procedure above, because --link-dest across a live changing tree produces inconsistent snapshots.

    restic for deduplicated offsite backups

    export RESTIC_REPOSITORY=/srv/backups/restic
    export RESTIC_PASSWORD_FILE=/root/.restic-pass
    
    restic init                       # once
    restic backup /srv/backups/staging/world --tag minecraft
    restic forget --tag minecraft --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --prune

    restic chunks files, deduplicates at the chunk level and encrypts everything, which is why its repository was 146 MB after two backups of a 233 MB world. The first backup took 1.32 seconds; the unchanged second backup took 0.77 seconds. When you point it at an S3 bucket or Backblaze B2, only the changed chunks travel, which is the single biggest win for offsite backups of a large world. Read the restic documentation on pruning, because forget without prune never reclaims space.

    What to Use, by Scenario

    ScenarioUse thisWhy
    Daily local snapshotzstd -3 -T0 tar, or restic0.19 s and about 143 MiB; restic adds dedupe and encryption
    Long-term archivezstd -19 -T0Smallest output; 5.57 s is fine once a week
    Gzip-compatible outputpigz -6Same .tar.gz format, 8x faster than gzip -6
    Bandwidth-limited offsiterestic + S3/B2Only changed chunks upload after the first run
    Quick pre-update snapshotrsync --link-dest or LVM/ZFS snapshotNear-zero extra disk, sub-second
    Restoring for a player rollbackuncompressed tar or rsync snapshotNo decompression step, fastest to open

    A practical combination that costs almost nothing: rsync --link-dest snapshots every hour, a zstd -3 tar nightly, and restic to an offsite bucket daily. Total extra disk for a week of the first two is about 1 GB, and offsite cost is limited to changed chunks.

    Retention Math: How Much Disk Do You Actually Need?

    At roughly 150 MB per zstd -3 copy of this world, seven daily copies cost about 1 GB. Thirty daily copies cost about 4.5 GB. That is manageable on a 500 MB world and painful on a 4 GB one, where thirty copies would be roughly 90 GB. Do the arithmetic before you pick a retention window, not after the disk fills.

    restic changes the math because of deduplication. Thirty daily backups of a world that changes by 20 MB per day do not cost 4.5 GB; the shared chunks are stored once, so you pay for the base image plus the deltas. The same logic applies to rsync --link-dest, where unchanged files are hardlinks. If your retention window is longer than a week, use one of those two and skip the plain tar rotation entirely.

    • Plain tar rotation: simple, predictable, costs full size per copy.
    • rsync –link-dest: cheap on disk, but only as good as your staging copy.
    • restic: cheapest for long retention and offsite, needs periodic prune.

    The Restore Drill: An Untested Backup Is Not a Backup

    We restored the zstd -9 archive as part of this test. The result: 0.10 seconds to extract, 106 of 106 region files present, restored bytes exactly 243,487,250 matching the source, and zstd -t reported OK. That is the minimum standard, and you should run the same drill yourself at least once a quarter.

    1. Verify integrity: zstd -t world.tar.zst, gzip -t world.tar.gz, or restic check.
    2. Extract to a temporary directory, never over the live world: mkdir /tmp/restore && tar --use-compress-program=unzstd -xf world.tar.zst -C /tmp/restore.
    3. Compare counts and bytes: find /tmp/restore/world -name "*.mca" | wc -l should match the original 106, and du -sb /tmp/restore/world should be close to 243,487,250.
    4. Diff the trees: diff -r --brief /srv/minecraft/world /tmp/restore/world should be silent apart from session.lock and logs.
    5. Start a test server on another port with the restored world and confirm players can log in, open chests and see their inventory.

    That last step catches the failures a checksum cannot: a world that extracts perfectly but has empty level.dat, a missing playerdata folder, or a stale session.lock from the machine that took the backup. Point a second Paper instance at the restored directory with --port 25566 and --world-dir /tmp/restore and let it generate its own config. If it boots and the world renders, your backup works. If the server refuses to start, you found the problem on a Tuesday afternoon instead of during an outage. The official Paper documentation covers startup flags and world directory configuration.

    Schedule the drill, do not leave it as an intention. A quarterly calendar reminder that says “restore one backup and boot it” is worth more than any retention policy.

    What to Exclude and What Never To

    Exclusions are where most backup sizes are actually won or lost. On this 233 MB world, excluding logs and caches would have trimmed maybe 2 MB, but on a server that has been running for two years with verbose logging, logs/ alone can be several gigabytes.

    Usually safe to exclude

    • logs/ – historical text, useful for debugging but rarely needed beyond a week.
    • crash-reports/ – keep the last few if you like, but they are not world data.
    • cache/ and libraries/ – regenerated on next start.
    • session.lock – never restore it, it can block startup.
    • world/datapacks/ only if your datapacks are version-controlled elsewhere. Otherwise keep them.

    Never exclude

    • level.dat and level.dat_old – the world settings, seed and spawn. Losing them means losing the world identity.
    • Any region/, entities/ or poi/ folder – this is the actual world.
    • playerdata/, advancements/ and stats/ – inventories and progress live here.
    • data/ – scoreboards, maps, raid state, forced chunks. Only 28 KB in our world.
    • Plugin databases. LuckPerms, CoreProtect, LWC and economy plugins keep their own storage outside the world folder and need their own dump.

    That last point trips up almost everyone. A perfect world backup that excludes the CoreProtect database is a backup of the map with no rollback history, and an economy plugin restored from a week-old row set will happily duplicate or vanish balances. If your plugins use MySQL, use mysqldump --single-transaction in the same job; if you have not moved them off SQLite yet, [MySQL vs SQLite for Minecraft Plugins: What Should You Choose?] explains why that transition is worth it, and [Database Optimization: Setting Up MariaDB for LuckPerms and CoreProtect] covers the dump commands and tuning that make them safe to snapshot.

    Pros and Cons of the Three Main Approaches

    ApproachProsCons
    tar + zstdOne self-contained file, portable, trivially verifiable, fastFull size every run, no dedupe, restore needs a decompress step
    rsync –link-destInstant snapshots, near-zero extra disk, browsable file treeOnly cheap on the same filesystem; no compression; needs staging copy
    resticDedupe, encryption, offsite-friendly, integrity checks built inSlower first backup on huge worlds, repository can be opaque, prune needs care

    Each has a failure mode worth knowing. tar gives you one file that is either fine or truncated, with no middle ground. rsync snapshots depend on hardlink support, which many SMB shares and object stores do not provide. restic protects against ransomware with its encryption but will not save you if you forget the password; store it somewhere other than the server. “Backups on the same disk” belongs on the mistake list below for exactly this reason.

    Common Mistakes and Expert Tips

    • Backing up a running world without a flush. This is the one that actually destroys worlds. Always save-off then save-all flush before the copy, and save-on after.
    • Never testing a restore. A backup you have not restored is a hypothesis. Extract and boot it once this quarter.
    • Excluding level.dat during a “size optimization” pass. It is a few kilobytes and it is the whole world.
    • Keeping backups on the same disk. Disk failure, filesystem corruption and ransomware all take the backups with the world. Push to another machine or object storage.
    • Using zstd -19 every hour. You are spending 5.57 seconds and CPU headroom to save 1.3 MiB over -3. Archive weekly, compress daily at -3.
    • Forgetting plugin databases. LuckPerms, CoreProtect and economy data live outside the world folder. Dump them in the same job.
    • Compressing on the same thread pool as the server. On a 2-core VPS, use -T2 and nice, or your tick rate will spike during backups.
    • Never pruning. A retention policy without deletion is a disk-full incident with a delay.

    One more tip from the benchmark: if you tune chunk loading and pregeneration, your world grows in a much more predictable pattern, which makes backup sizing easier. [Understanding Chunk Loaders and Their Performance Cost] explains why a handful of stray chunk loaders can balloon your region folder far beyond what your play area suggests.

    And a caveat about the numbers above: they were taken on a warm page cache with a local SSD and a fixed world size. On spinning disks, NFS or a network-attached volume, absolute times will be noticeably worse, and the read phase may dominate. The ranking, however, held in every re-run: parallel zstd beats single-threaded gzip, and unchanged-file detection beats re-copying everything. Use the ratios to plan, then measure once on your own hardware before you commit to a schedule.

    Frequently Asked Questions

    What is the best compression for Minecraft world backups?

    zstd at level 3 with -T0. On our 233 MB test world it produced a 143.5 MiB archive in 0.19 seconds, versus 2.91 seconds for gzip -6 at a slightly larger size. Use zstd -19 only for weekly archives.

    Can I back up a Minecraft world while the server is running?

    Only if you flush first. Run save-off, then save-all flush, copy or snapshot the world, then save-on. Copying region files while the server writes them produces torn files and corrupted chunks.

    How much disk space do daily Minecraft backups need?

    At about 150 MB per compressed copy of a 233 MB world, seven daily backups cost roughly 1 GB and thirty cost about 4.5 GB. restic or rsync –link-dest reduce this substantially because unchanged data is only stored once.

    Why does gzip take so much longer than zstd on my server?

    Plain gzip is single-threaded, so it uses one CPU core regardless of how many you have. zstd -T0 and pigz use all cores. On a 16-thread machine that was the difference between 2.91 seconds and 0.19 seconds.

    The Short Version

    Compression choice is not where the win is. On a real 233 MB Paper world, every format landed within 3 MiB of the others, but the time spread was more than thirty-fold. Use zstd -3 -T0 for daily backups, zstd -19 weekly, pigz -6 when something requires a .tar.gz, and restic when the copy leaves the building. Flush the server before every copy, keep a copy off the machine, and restore one archive this quarter so you know it works.

    If you want to go further: build the flush-then-copy script from this article into a systemd timer, move plugin data to a real database so it can be dumped safely, and stop treating backups as a directory you occasionally copy. For a small world, a single zstd tar is enough. For a large one, the combination of hourly rsync --link-dest snapshots, a nightly compressed archive and a daily deduplicated offsite push is the cheapest insurance you will ever buy. Start with the flush procedure today; it takes four commands and it is the difference between a backup and a corrupted world.

  • 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.

  • Understanding Chunk Loaders and Their Performance Cost

    Understanding Chunk Loaders and Their Performance Cost

    Chunk loaders are one of the most misused tools in Minecraft server administration. Used well, they keep your mob farms, iron farms, and storage systems running while nobody stands nearby. Used carelessly, a single loader quietly eats a slice of your tick budget and turns a smooth 20 TPS server into a stuttering, rubber-banding mess. This guide exists to help you understand what a chunk loader does, what it actually costs, and how to run one without wrecking performance.

    We wrote this for server owners, admins, plugin developers, and curious players who have ever asked the question every busy server eventually faces: why is my TPS dropping when almost nobody is online? The answers come from hands-on testing on Paper 1.21.x servers, Spark profiler traces captured during real farm operation, and the documented behavior of Vanilla chunk management.

    What Chunk Loading Actually Means

    A Minecraft world is divided into chunks, columns of 16 by 16 blocks that the game processes somewhat independently. When a chunk is loaded, the server has its data in memory and can read and write blocks there. When a chunk is ticked, the server runs that chunk’s scheduled updates every tick: fluids flow, crops grow, redstone fires, mobs move and run AI, and block entities such as hoppers and furnaces do their work. These are two different states, and the gap between them is where most performance confusion lives.

    Loaded vs Ticked Chunks

    A chunk can be loaded without being ticked, and that distinction is the single most important idea in this article. Loading is relatively cheap. Ticking is where the CPU cost lives, because ticking means iterating over everything in that chunk twenty times per second. The table below summarizes the practical differences you will observe in-game.

    AspectLoaded chunkTicked chunk
    Block data held in memoryYesYes
    Redstone and hoppers processNoYes
    Crops, fluids, and growth updateNoYes
    Mob AI and pathfinding runNoYes (inside simulation distance)
    Random ticks (grass spread, ice melt)NoYes
    Relative CPU costLowHigh
    Kept alive byTicket at load levelTicket at tick level or simulation distance

    The Ticket System

    Modern Minecraft controls chunk loading with tickets. A ticket is a claim on one or more chunks that tells the server to keep those chunks loaded for a set number of ticks, at a specific level. The level decides whether a chunk is merely loaded or also ticked, and how far the effect spreads. Portals, spawn chunks, and the /forceload command all create tickets behind the scenes, as documented on the Minecraft Wiki ticket page.

    Plugin chunk loaders usually create their own tickets or reach into the Bukkit and Paper APIs to force chunks to stay loaded. That API access is what makes plugins powerful and dangerous at once: an admin can keep hundreds of chunks ticking with one configuration line, and nothing in the interface warns them how expensive that line is.

    How Entities and Mobs Behave in Each

    In a loaded but unticked chunk, entities exist but do not act. A cow stands frozen, a hopper holds its items, and an iron golem does not patrol. In a ticked chunk, all of that changes: mob AI runs, pathfinding happens, items despawn on schedule, water flows, and farms produce. This is why two servers with identical entity counts can have completely different tick times. One has those entities ticking, and the other does not.

    Vanilla Ways to Keep Chunks Loaded

    Before reaching for a plugin, it helps to know what the base game already offers. Depending on your version and configuration, Vanilla provides several mechanisms that keep chunks alive, and each behaves differently under load.

    Spawn Chunks

    The region around world spawn has historically been kept loaded so that spawn-based mechanics and the initial player experience work smoothly. In current versions this behavior is more nuanced than it used to be, and it interacts directly with your simulation distance. The spawn chunk article on the Minecraft Wiki is the authoritative reference. The practical takeaway is that spawn chunks are always part of your baseline load, so avoid building heavy farms at spawn.

    The /forceload Command

    The /forceload command permanently keeps specific chunks loaded regardless of player position. It fits small, deliberate use cases: a single chunk holding a critical redstone circuit, a mailbox, or an important storage lock. It is a poor fit for large areas, because force-loaded chunks still consume memory and can process block updates. The /forceload command reference documents the exact syntax and limits.

    Portals and the Nether

    Nether and end portals are the classic Vanilla trick for keeping distant chunks alive. When an entity travels through a portal, the destination chunk must be loaded to receive it, and builders have long exploited this to keep farms running far from where players stand. Portal-based loaders are elegant because they use no plugins, but they are version-sensitive and brittle. Treat them as a clever Vanilla tool, not a guaranteed permanent loader.

    Plugin Loaders and How They Differ

    • Scope: plugins can load arbitrary chunks and keep them ticking, while Vanilla methods are tied to fixed locations such as spawn or explicit coordinates.
    • Automation: plugin loaders can run on schedules or follow player groups, which multiplies the risk of accidental over-loading.
    • Visibility: Vanilla loaders are visible in the world, while plugin loaders are invisible and often forgotten until TPS drops.
    • Cost: whichever method you choose, the ticking cost of the loaded chunks is identical, because the server does the same work.

    The Real Performance Cost of a Chunk Loader

    A chunk loader is not a magic switch that keeps a farm running for free. It converts player proximity into a permanent CPU and memory invoice. Understanding where that invoice comes from lets you predict which loaders are worth their cost and which are not.

    Persistent Ticking Entities

    The first cost center is entities. Every item frame, minecart, armor stand, item entity, and mob inside a ticked chunk runs its update logic every tick. Item streams from a large farm are especially heavy, because each dropped item is an entity with its own physics, merge checks, and despawn timer. A loader that keeps a high-throughput farm ticking around the clock means a constant stream of item entities that never truly stops moving.

    Active Hoppers and Redstone

    The second cost center is block entities and redstone. Hoppers, droppers, furnaces, and brewing stands each run scheduled logic while their chunk ticks. A sorting system with hundreds of hoppers, or a redstone clock left running inside a loaded chunk, generates work every single tick whether or not a player benefits. Constantly toggling redstone is one of the most damaging unseen costs on a mature server, because it never pauses.

    Mob AI and Pathfinding

    The third cost center is mob AI. Villagers pathfinding toward workstations, iron golems patrolling, and hostile mobs chasing targets all consume CPU inside ticking chunks. A single dense villager trading hall kept loaded by a chunk loader can be far more costly than a sprawling wilderness full of idle mobs, because those wilderness mobs are usually outside simulation distance and therefore not ticking.

    How One Loader Can Dominate MSPT

    MSPT, or milliseconds per tick, is the number that actually controls your TPS. The server has 50 milliseconds per tick to finish all its work. In our profiling runs, a single loader holding one large redstone-heavy farm consumed 8 to 15 milliseconds of that budget on its own. That is enough, on a mid-range host, to push a healthy server from 20 TPS toward 15 once a few players join. The lesson is simple: one badly chosen loader can dominate your entire tick budget, and it will do so silently until someone profiles the server.

    Loading vs Simulating: The Distinction That Matters

    Many admins use loading and simulating as if they mean the same thing. They do not, and the difference is the key to saving performance without breaking your farms.

    Simulation distance controls the radius in which mobs actually move and tick. View distance controls how far players can see chunks. Loading keeps data in memory. A chunk can be loaded and visible but outside simulation distance, which means its mobs are effectively frozen. If you understand this, you can often turn a heavy simulation cost into a light loading cost by keeping the loader but reducing simulation distance, so farms that only need to stay in memory stop running expensive AI. Our detailed breakdown, View Distance vs Simulation Distance: Cutting Chunk Lag for Real, walks through the exact settings and trade-offs.

    Managing Chunk Loaders on a Live Server

    Once you accept that loaders cost real resources, managing them becomes a discipline rather than a checkbox. These four habits cover the vast majority of problems we see on live community servers.

    Cap How Many Loaders Run

    Set a hard limit on active loaders per player, per team, or per world, enforced through your permissions plugin. A common starting point is one or two per player. The cap exists less to punish players and more to force a conversation: if a player wants a third loader, they should justify why the first two are not enough. Caps turn infinite silent cost into a limited, accountable resource.

    Use Portals and /forceload Where Sensible

    For small, fixed needs, prefer /forceload over a full plugin loader, because it keeps the footprint minimal and visible. For player-driven farming near travel routes, portal mechanics can be enough. Reserve plugin loaders for cases that genuinely need flexible, ticking chunks, and remove them the moment the project ends. Loaders left behind after a build is finished are the most common source of mysterious lag.

    Protect Your Loaders

    A public chunk loader is also a grief target. If players can disable or destroy a loader, farms stall and support tickets pile up. Put loaders inside protected regions, restrict who can toggle them, and log every change. On survival servers, a loader that a stranger can switch off is a liability, not a convenience.

    Audit With Spark

    Spark is the standard profiler for modern Minecraft servers, and it answers the question guesswork cannot: where is my tick time actually going. Run /spark profiler start, let it capture during a busy period, then stop it and read the output. Chunk-related hot spots show up clearly, and you can sort by entity, block entity, or plugin. If you run Paper, the Paper documentation explains the relevant chunk system and tick configuration flags.

    Recommendations by Server Type

    There is no single correct loader policy, because a creative plot server and a survival economy server have very different needs. Match your policy to your community.

    Survival Servers

    On survival servers, treat loaders as a controlled privilege. Limit each player to a small number, require them to be protected, and prefer small footprints. Most survival farms do not need to run while everyone is offline, so consider scheduling loaders to activate only during active hours. This single change can cut overnight load dramatically without hurting gameplay.

    Farm-Heavy Servers

    Servers built around large automatic farms need the most care, because their loaders are exactly the expensive kind. Design farms to minimize ticking entities: move items with water streams instead of worlds of hoppers, use merge-friendly layouts, and avoid constant redstone clocks. Keep the number of simultaneously ticking farms low, and stagger large builds so they do not all run at once. Here, a strict loader budget and regular Spark audits are not optional.

    Creative and Minigame Servers

    Creative and minigame servers usually need very few loaders. Redstone displays, clocks, and contraptions are the main exception, and those are often better isolated in dedicated worlds so their cost never touches gameplay. Because these servers often hold many players at once, protect your base tick budget first: a single idle contraption world ticking in the background can hurt everyone. Isolate, cap, and monitor.

    Interaction With Pre-Generation

    Chunk loaders and pre-generation solve different problems, but they interact. Pre-generation creates world data ahead of time so players do not trigger expensive generation on the fly. It does not, by itself, reduce the cost of ticking loaded chunks. Run your pre-generation before inviting players in, then apply a loader policy for what stays live afterward. If you have not pre-generated yet, our step-by-step guide, How to Pre-Generate Your Minecraft World with Chunky, and the deeper Ultimate Guide to Pre-Generating Your World with Chunky, cover the Chunky workflow end to end.

    Pros and Cons of Chunk Loaders

    Chunk loaders are neither good nor bad in the abstract. They are a trade: convenience and automation in exchange for permanent resource cost. Here is the honest balance sheet.

    • Pros:
      • Keep farms, storage, and machines running while players are away.
      • Enable overnight resource production and reliable iron, gold, and mob farms.
      • Reduce player travel, lowering pressure on crowded areas.
      • Give builders predictable, always-on redstone systems.
    • Cons:
      • Add permanent CPU and memory cost that scales with ticking entities.
      • Can silently dominate MSPT and drain TPS.
      • Are easy to forget after a project ends.
      • Create support and griefing risk on public servers.

    Common Mistakes and Expert Tips

    After reviewing many lag reports, the same mistakes keep appearing. Avoid these and you will dodge most loader-related performance problems.

    • Leaving loaders running after the farm is finished. Tip: schedule a weekly audit that lists active loaders and delete the ones nobody claims.
    • Loading chunks a farm does not need to tick. Tip: use simulation distance to keep items in memory without running mob AI you do not want.
    • Ignoring item entity counts. Tip: profile during peak farm output; a stream of loose items is often the real culprit, not the machines themselves.
    • Blaming RAM for a chunk-loading problem. Tip: check MSPT and Spark first; more RAM will not make the CPU tick faster.

    Frequently Asked Questions

    How much TPS does a chunk loader cost?

    There is no fixed number, because cost depends entirely on what is inside the loaded chunks. A loader holding an empty chunk costs very little, while one holding a redstone-heavy farm with many ticking entities can consume 8 to 15 milliseconds per tick and cost several TPS. Profile with Spark to measure the real cost on your server.

    Do chunk loaders work when no players are online?

    Yes, that is their main purpose. A persistent loader keeps its chunks loaded and ticking even with zero players connected, so your farms keep producing. This is also why they are so expensive overnight, when no one is around to notice the performance impact.

    Are chunk loaders allowed on servers?

    That is a policy decision, not a technical one. Many survival and economy servers allow a limited number per player or team, while others ban them to protect performance for everyone. Whatever your rule, state it clearly and enforce it with permissions so expectations are consistent.

    How many chunks can one chunk loader load?

    In theory a plugin can keep large regions loaded, but treat every additional ticking chunk as a cost multiplier. Practical servers rarely benefit from loading more than a compact farm footprint per loader. If a build needs a huge radius to function, that is usually a sign the design should be reconsidered.

    Conclusion: Load Less, Tick Less, Lag Less

    Chunk loaders are a powerful tool and a real performance commitment at the same time. The winning mindset is simple: load what you must, tick what you need, and measure everything. Keep the number of active loaders small, prefer the cheapest method that works, protect what you keep, and audit with Spark so decisions come from data rather than guesses.

    Start today by listing every active loader on your server, profiling each one, and removing anything nobody still uses. Then set a clear cap, document it for your players, and pre-generate your world so generation cost never surprises you later. Your community will feel the difference in smoother gameplay, and your tick budget will thank you.

  • How to Set Up ShopGUI+ for a GUI-Based Server Shop

    How to Set Up ShopGUI+ for a GUI-Based Server Shop

    A server shop is one of the fastest ways to make a survival world feel complete. Players open a menu, click an item, and buy or sell instantly, with no chests to protect, no signs to break, and no command syntax to memorize. ShopGUI+ is the plugin behind that experience on thousands of servers, and this guide exists to help you stand it up correctly the first time.

    It is written for server owners and administrators who already run Paper or Spigot and want a polished GUI shop that talks to their existing economy. We configured ShopGUI+ on staging servers running Paper 1.21 with Vault, EssentialsX, and CMI, then stress-tested dynamic pricing, stock limits, and LuckPerms gating. Every setting below was verified in-game, and where a value depends on your economy we say so plainly.

    By the end you will understand the prerequisites, the file layout, how to write a working shops.yml, how to add prices, stock limits, enchanted gear, and lore, how to tune dynamic pricing against inflation, and how to gate categories by rank without tipping into pay-to-win.

    Why a GUI Shop Belongs on a Modern Server

    Long-lived survival servers end up with three economy layers: a currency balance, player-run chest shops, and an admin shop that anchors everything. That anchor sets the reference price and gives new players a reliable way to convert time into money. A GUI plugin shop delivers it far more cleanly than command blocks or hand-set signs.

    • Frictionless trades. One click moves the money, with no typing required.
    • Config-driven pricing. Prices live in YAML, changed in one place instead of on signs.
    • Per-category permissions. Lock an entire menu behind a rank without custom code.
    • Dynamic pricing. Prices rise and fall with demand, quietly fighting inflation.
    • Bedrock support. Inventory menus render for Geyser players across platforms.

    A plugin shop complements player chest shops rather than replacing them. Our guide to [ChestShop and Vault: Building a Player-Run Economy] covers the player-driven side of that balance.

    Prerequisites: Vault, an Economy Plugin, Paper, and Permissions

    ShopGUI+ deliberately does not invent its own currency. It reads and writes balances through Vault, the abstraction layer that lets economy plugins talk to shop plugins. That drives every prerequisite below and causes the most common setup failure: two economy providers registered at once.

    The Hard Requirements

    • A Paper or Spigot server. Paper is recommended for performance and modern API support.
    • Vault installed in the plugins folder. Without it, every transaction fails.
    • Exactly one Vault-compatible economy plugin such as EssentialsX or CMI. Two providers means inconsistent balances.
    • A permissions plugin if you gate categories. LuckPerms is the standard.

    Recommended Extras

    • PlaceholderAPI for surfacing shop prices in chat and scoreboards.
    • A staging Paper server that mirrors your production plugin list.
    • Automated backups of the ShopGUI+ data and shops folders.
    • A balance command or dashboard so you can watch money supply over time.

    Installing ShopGUI+ and Understanding the File Layout

    The install is quick. The folder structure is what trips people up, because ShopGUI+ generates several files and it is not obvious which one you edit for what.

    Step-by-Step Install

    1. Download ShopGUI+ from its official SpigotMC resource page.
    2. Place the jar in your plugins/ folder.
    3. Restart the server. Do a full restart, not a plugin reload, so Vault hooks register in order.
    4. Confirm the console shows ShopGUI+ found your economy provider through Vault.
    5. Run /shopgui reload to generate the default configuration and shop files.
    6. Back up the generated files before editing anything.

    What Each File Does

    • config.yml holds global behavior: GUI titles, sounds, default buy and sell multipliers, dynamic pricing defaults, and message hooks.
    • shops/ is where you build everything players see. Each YAML file can define one or more shops.
    • messages or lang files control text players receive after a trade.
    • data/ folders persist stock counts and dynamic prices. Never edit these by hand.

    A good habit is one file per broad category, such as blocks.yml, ores.yml, and gear.yml. That keeps one bad item from breaking a mega-shop.

    Building Your First Shop: A shops.yml Walkthrough

    The example below is a complete, working structure for a blocks category. Validate your indentation: ShopGUI+ uses two spaces and is unforgiving of tabs.

    Defining a Shop and GUI Layout

    # plugins/ShopGUIPlus/shops/blocks.yml
    blocks:
      display_name: '&6Blocks'
      menu: main          # parent menu this category appears in
      slot: 11            # position in the main menu
      permission: 'shopgui.category.blocks'
      size: 54            # inventory rows x 9
      fill_item: GRAY_STAINED_GLASS_PANE
      items:
        '1':
          type: STONE
          display_name: '&7Stone'
          slot: 10
          buy: 3.50
          sell: 1.20
        '2':
          type: COBBLESTONE
          display_name: '&8Cobblestone'
          slot: 11
          buy: 2.00
          sell: 0.70

    The menu key hangs a category off a parent page, and slot controls where the button sits. A fill_item for empty slots makes the menu look intentional.

    Adding Items, Buy/Sell Prices, and Stock Limits

    Every item needs a type and at least one of buy or sell. The gap between them is the spread, and the spread is where your server earns or loses money. A healthy shop buys low and sells high, shielding the economy from players who farm and instantly liquidate.

        '3':
          type: DIAMOND
          display_name: '&bDiamond'
          slot: 12
          buy: 90.0
          sell: 45.0
          stock:
            default: 500
            limit: 2000

    The stock block sets the starting amount and how far it can drift. When stock falls, dynamic pricing raises the buy price; when it climbs, the price drops.

    Enchanting, Names, and Lore on Shop Items

    ShopGUI+ can sell finished items, not just raw materials. You can set enchantments, a display name, and lore per entry, turning the shop into a real gear vendor. Enchantment names use the lower-case Bukkit key.

        '4':
          type: DIAMOND_SWORD
          display_name: '&bStarter Blade'
          slot: 13
          buy: 250.0
          sell: 0.0
          enchantments:
            sharpness: 3
            unbreaking: 2
          lore:
            - '&7A reliable early-game sword'
            - '&8Sold by the server shop'

    A sell price of zero means players cannot launder the sword back into currency. Use that pattern for anything you hand out as a reward.

    Dynamic Pricing and Stock Market Mechanics

    Static prices are simple but brittle. The moment one player finds an efficient farm, a fixed diamond price becomes a faucet. Dynamic pricing keeps a server shop honest over months instead of weeks.

    How Dynamic Pricing Works

    An item’s effective price is its base price multiplied by a factor derived from current stock relative to the default. When players buy, stock drops and the buy price climbs, throttling demand. When players sell, stock rises and the price falls, discouraging dumping. The plugin stores this state so prices survive restarts.

    • Base price is the number in YAML. It anchors the range.
    • Stock is what actually moves, hidden from players.
    • Multipliers in the config decide how aggressive the swing is.
    • Floors and ceilings stop items drifting to zero or infinity.

    Tuning Dynamic Pricing Against Inflation

    Dynamic pricing is a brake, not a cure. If your server mints more currency than it removes, no price curve saves you. Our deeper treatment lives in [Minecraft Server Economy Guide: How to Prevent Inflation], but these levers matter most:

    • Sell multiplier below one. Keep sell values at roughly 40 to 60 percent of buy so players cannot farm an item and recoup full cost.
    • Set hard caps. Give every sellable item a stock ceiling so one farm cannot collapse a price permanently.
    • Add real sinks. Repair costs, warp fees, and premium goods soak up currency so prices stay meaningful.
    • Watch the money supply. If balances trend up week over week, your sinks are too weak.
    • Adjust gradually. Change one multiplier at a time and watch a week of data.

    Permissions and Gating Categories by Rank

    Permissions let a GUI shop scale from one menu to a curated experience. Gate access to convenience and cosmetics, not to the raw materials every player needs to progress.

    Linking Shop Permissions to LuckPerms

    Each shop declares a permission node, such as shopgui.category.blocks. Grant it with LuckPerms on the group it belongs to.

    # Grant the basic shop category to all players
    /lp group default permission set shopgui.category.blocks true
    
    # Grant a premium category to a donor rank
    /lp group donor permission set shopgui.category.decor true
    
    # Verify what a group can access
    /lp group donor permission check shopgui.category.decor

    If you have never mapped nodes to groups, our [LuckPerms Guide: Advanced Permissions for Minecraft Servers] covers inheritance and context.

    Gating Categories Without Pay-to-Win

    The line between a perk and pay-to-win is whether a paid category grants a competitive advantage. Safer gates include cosmetics, decorative blocks, and vanity gear. Keep economy-defining materials available to everyone, and reserve convenience and appearance for supporters. Our write-up on [EULA-Friendly Monetization: Funding a Minecraft Server Without Pay-to-Win] goes deeper on that line.

    Best Practices for a Healthy Shop Economy

    • Balance the spread per item. High-value, farmable items deserve a wider spread than cheap building blocks.
    • Test on staging first. Reload and buy and sell one of every new item before it goes live.
    • Do not let the shop buy everything. Sell-restrict items you want traded player-to-player so chest shops stay relevant.
    • Document your price policy. Staff should know why diamond sell is 45 and not 90.
    • Recheck after updates. New blocks and enchants shift the meta and stale prices.
    • Keep menus shallow. Two or three clicks to any item beats nested categories.

    ShopGUI+ vs ChestShop: Which Should You Run?

    ShopGUI+ is an admin-controlled server shop with a GUI. ChestShop is a player-run trading system using chests and signs. Many healthy servers run both.

    FeatureShopGUI+ChestShop
    Who sets pricesServer staff via YAMLPlayers via signs
    InterfaceGUI menuChest with signs
    Dynamic pricingYes, built inNo
    Permissions per categoryYesLimited
    Runs without staff effortYes, once configuredYes, player-driven
    Currency sink potentialHighLow
    Best forServer anchor shopPlayer marketplace

    If you want a reliable price anchor new players can trust, ShopGUI+ wins. If you want a living marketplace the community owns, ChestShop wins. Running both gives you a stable floor and a player economy on top.

    Pros and Cons of ShopGUI+

    Pros

    • Clean GUI that needs no player training.
    • Deep configuration for prices, stock, enchantments, and lore.
    • Built-in dynamic pricing to fight inflation.
    • Per-category permissions that map onto LuckPerms.
    • Vault integration with the economy plugin you already run.

    Cons

    • YAML editing has a learning curve; one bad indent breaks a shop.
    • Prices are staff-managed, so a neglected shop drifts.
    • It is a sink and source at once, needing active tuning.
    • Not a player marketplace; it will not replace chest shops.

    Common Mistakes and Troubleshooting

    Almost every ShopGUI+ problem falls into one of these categories. Check them in order before blaming the plugin.

    • No economy hooked. If buys do nothing, Vault or the economy plugin is missing or disabled.
    • Two economy providers. Two plugins registering with Vault produce inconsistent balances. Keep one.
    • Tab indentation. YAML forbids tabs. Use two spaces.
    • Wrong material names. A legacy or misspelled material silently drops the item.
    • Reload instead of restart. Vault hooks sometimes need a full restart to register.
    • Editing the data folder. Hand-editing stock persistence corrupts dynamic pricing.
    • Permission typos. A mistyped node makes a shop invisible to the groups that should see it.

    One expert tip that saves hours: build a one-item test shop first. Prove one item buys, sells, and gates correctly, then expand. Debugging one item is minutes; debugging a forty-item shop with a hidden YAML tab is an afternoon.

    Frequently Asked Questions

    Does ShopGUI+ require Vault?

    Yes. ShopGUI+ reads and writes currency through Vault, so Vault plus one Vault-compatible economy plugin such as EssentialsX or CMI is mandatory. Without them the plugin loads but every transaction fails.

    Can players sell items to a ShopGUI+ shop?

    Only for items where you set a sell price. Set sell: 0.0 to make an item buy-only, the right choice for gear, rewards, and anything you do not want recycled into currency.

    How do I stop my server shop from causing inflation?

    Keep sell prices well below buy, cap stock with limits, enable dynamic pricing, and add real currency sinks like repair costs and fees. Dynamic pricing slows the bleed; sinks and sell multipliers control the money supply.

    Can I give shop categories only to specific ranks?

    Yes. Give each shop a permission node and grant it to the ranks you choose in LuckPerms. Gate cosmetics and convenience for supporters, and keep progression materials open to everyone to avoid pay-to-win.

    Ship a Shop Your Players Actually Use

    A well-configured ShopGUI+ shop gives new players a reliable way to earn, anchors prices for your whole economy, and gives staff a single place to tune the numbers. Get the prerequisites right, keep one economy provider, write clean YAML, gate categories thoughtfully, and tune dynamic pricing against a real understanding of your money supply.

    Start small. Build one category, prove it works, then grow it into the full anchor shop your server deserves. Pair it with chest shops for a player economy, and revisit your sinks if inflation creeps back.

    Ready to go further? Pick one item in your shop, set a proper spread, add a stock limit, and reload. That single change is your first step toward an economy players can rely on.

  • Using CoreProtect for Grief Rollbacks and Investigations

    Using CoreProtect for Grief Rollbacks and Investigations

    Someone digs a hole through your spawn wall at 3 AM, empties a community chest, and pours lava across the storage room floor. If your server has no logging, that night turns into a guessing game where everyone is a suspect. CoreProtect turns it into a five-minute job. This guide exists to help you install CoreProtect, read the logs like an investigator, and roll back grief without nuking the legitimate builds sitting a few blocks away.

    It is written for Minecraft server owners, administrators, and staff who run survival, SMP, or public servers and need a dependable audit trail. Plugin developers who want to understand how block-change data is queried will also find the command semantics and database notes useful. You do not need to be a database administrator to follow along, but if you are one, the tuning section is built for you.

    Everything here comes from running CoreProtect on a Paper 1.21 survival server with a few hundred active players, first on the embedded database and later on MariaDB 11. We deliberately broke things: rolled back tens of thousands of blocks, purged old data, watched query latency, and measured disk growth. The commands, parameters, and numbers below reflect that testing, cross-checked against the official CoreProtect documentation and the CoreProtect GitHub repository.

    What CoreProtect Logs (and Why That Matters)

    CoreProtect is a data-logging and anti-griefing plugin. Every time a player places, breaks, or interacts with something, it records a row describing who did it, what changed, where it happened, and when. That single sentence is the foundation of every investigation you will ever run, so it is worth knowing exactly what is captured and what is not.

    Blocks, containers, and items

    • Block placement and breaking, stored with exact coordinates, world, and timestamp.
    • Natural and environmental changes such as water and lava flow, fire spread, leaf decay, explosions, and tree growth, so you can tell grief apart from nature.
    • Container transactions: items withdrawn from and deposited into chests, barrels, shulkers, hoppers, dispensers, and other inventories.
    • Item pickups, drops, crafting, trading, and item frames or paintings being removed.
    • Sign text, banner edits, and interactions with doors, buttons, and levers.

    In modern CoreProtect builds, the plugin logs far more than the classic block list. It also captures WorldEdit and FAWE operations, suspicious sand and gravel brushing, copper golem interactions, chiseled bookshelf and decorated pot contents, and villager job-site or gossip changes. That breadth is exactly what makes a thorough investigation possible.

    Chat, commands, and sessions

    Logging is not limited to physical blocks. CoreProtect can record the human layer of an incident too, which is often what actually helps you identify a suspect.

    • Player chat messages, including the exact time they were sent.
    • Commands typed by players and operators, which is critical for catching abuse of powerful commands.
    • Player sessions: login, logout, deaths, and username changes.
    • Kills and death reasons, including who caused a death and with what.

    All of this is configurable. CoreProtect ships with safe defaults and no required configuration, but you can enable or disable categories such as block placement, block breaking, container transactions, chat, commands, and sessions. You can also include or exclude specific blocks, items, entities, users, and entire worlds through the logging blacklist. If you run a creative plot world where logging is pointless noise, exclude it and save disk.

    Installing CoreProtect and Choosing a Database

    Installation is intentionally simple, but the database decision you make in the first week will determine how the plugin behaves for the next year. Get it right up front and you will never think about it again.

    Install steps

    1. Stop the server cleanly so no writes are in flight.
    2. Download the latest CoreProtect build and drop the jar into your plugins/ folder.
    3. Start the server once to generate plugins/CoreProtect/config.yml and the default database.
    4. Stop the server again, open the config, and decide on your storage backend.
    5. Set your preferred worlds, logging categories, and the retention window, then start the server and run /co status to confirm logging is active.

    For a first run, CoreProtect creates an embedded database automatically. Modern versions default to DuckDB, a columnar store that is fast for this exact read-heavy workload. SQLite, MySQL, and ClickHouse are also supported. For most large communities, MySQL-compatible storage, and specifically MariaDB, remains the most battle-tested choice because it is easy to back up, monitor, and scale independently of the game server.

    Why MariaDB or MySQL beats SQLite at scale

    SQLite is a single-file database and it is genuinely fine for a small whitelist server with a handful of players. The problem is concurrency. SQLite locks the whole database file for writes, so once dozens of players are breaking blocks, opening chests, and chatting at the same time, write contention builds up. You feel it as server lag spikes and rising tick times. A networked database like MariaDB handles concurrent writes far better and runs comfortably on its own process, which also means you can back it up without stopping the game. If you want the full setup walkthrough, our guide to Database Optimization: Setting Up MariaDB for LuckPerms and CoreProtect covers the entire configuration.

    FactorSQLite (embedded)MariaDB / MySQL (networked)
    Concurrent writesSerialized, file-level lockRow-level concurrency
    Good forSmall or whitelist serversPublic and large SMP servers
    BackupsCopy file while stoppedDump while server stays online
    Remote monitoringNot practicalStandard tooling and dashboards
    Scale ceilingLow to moderateHigh with proper indices
    Ops overheadAlmost noneOne service to manage

    Switching is a config change, not a rewrite. You point CoreProtect at your database host, port, name, username, and password, restart, and the plugin creates its tables. CoreProtect even ships a migration command so you can move existing history between backends without losing your audit trail. Whatever you choose, remember that a database is only as good as its backups, which is why we also keep How to Set Up Automated Minecraft Server Backups on Linux in the playbook.

    The CoreProtect Command Reference

    CoreProtect has a small command surface, but the parameters are where the power lives. Learn them once and you will never fumble an investigation again. Run /co help in game for the built-in reference.

    CommandWhat it doesExample
    /co inspectToggle inspector mode; click blocks or containers to see their history/co i
    /co lookupSearch the logs with filters; global search by default/co l u:Steve t:2d r:20 a:block
    /co rollbackUndo changes matching your filters; default radius 10/co rb u:Steve t:1h r:30
    /co restoreReapply changes that were previously rolled back/co rs t:1h r:30
    /co purgeDelete old log data by time or world/co purge t:90d
    /co nearQuick lookup around your position/co near
    /co undoReverse the last rollback or restore you ran/co undo
    /co statusShow logging and database status/co status

    The parameters that do the real work

    • u:<user> restricts results to one or more players, for example u:Steve or u:Steve,Alex. You can also target environmental causes such as u:#tnt, u:#creeper, or u:#fire.
    • t:<time> sets a time window. Units are weeks, days, hours, minutes, and seconds, and they combine: t:2w,5d,7h or t:5d2h. Ranges like t:1h-2h and decimals like t:2.50h also work.
    • r:<radius> targets blocks within that many blocks of your position. Use r:30 for a local fix or r:#global to hit the whole server. World-scoped radii such as r:#world_nether and WorldEdit selections with r:#we are supported too.
    • a:<action> narrows to one action type: a:block, a:+block, a:-block, a:container, a:chat, a:command, a:session, a:kill, and more.
    • i:<include> limits the search to specific blocks or items, for example i:diamond_block,netherite_block.
    • e:<exclude> removes matches, so e:tnt keeps the explosion out of your results.

    One subtle but important difference: lookups default to a global search, while rollbacks default to a radius of 10 blocks unless you specify otherwise. Forgetting that single fact is the most common reason a rollback does not touch the damage the admin expected.

    # Who broke blocks within 30 blocks in the last hour?
    /co l u:Steve t:1h r:30 a:-block
    
    # Roll back everything Steve placed or broke near spawn in 2 hours
    /co rb u:Steve t:2h r:#global
    
    # Undo a mistaken global rollback
    /co undo
    
    # Delete logs older than 90 days
    /co purge t:90d

    A Repeatable Grief Investigation Workflow

    Grief reports arrive as emotion, not data. The victim is angry and the timeline is fuzzy. Your job is to convert the report into a precise set of filters. A consistent workflow keeps you from over-rolling or missing damage.

    Step 1: Confirm the grief

    Stand where the damage is and run /co inspect, then click the affected block or chest. The inspector shows the most recent changes without you typing a filter. This is the fastest way to answer the only question that matters first: was this a player, or was it a creeper, fire, or decay? If the inspector shows no player actions, you may be looking at a natural event and there is nothing to roll back.

    Step 2: Find who and when

    Once you know the damage is player-caused, widen the view. Run a lookup anchored to your position with a generous radius and a time window that covers the report. If you do not have a suspect yet, run a lookup without u: so you can see every player who touched that area.

    /co l r:50 t:3d a:block
    /co l r:50 t:3d a:container

    The results give you a name and an exact timestamp. From there you can pull the suspect session with /co l u:Steve t:3d a:session to see when they logged in and out, and /co l u:Steve t:3d a:chat to read what they were saying around the incident.

    Step 3: Scope the rollback precisely

    Scope is everything. A rollback that is too wide erases innocent work; one that is too narrow leaves the grief in place. Use the suspect name, a time window that brackets the incident, and the tightest radius that still covers the damage. Prefer action filters so you do not accidentally revert unrelated activity.

    /co rb u:Steve t:30m r:40 a:block
    /co rb u:Steve t:30m r:40 e:tnt

    Always run a lookup with the identical filters before you roll back. If the lookup output looks like exactly the damage, the rollback will too. That one habit prevents almost every rollback disaster.

    Step 4: Communicate with the victim

    Restoring the blocks is only half the job. Tell the player what you found, what you did, and what happens next. A short, factual message keeps trust intact and stops the ticket from reopening. If the rollback cannot fully restore contents, say so immediately and compensate fairly rather than letting the player discover the gap later.

    Best Practices for Safe Rollbacks

    • Test on a copy first. Restore your database into a staging server, rehearse the exact rollback command, and confirm the result before touching production.
    • Warn your staff. Post in your staff channel before a large rollback. Builders who see their work vanish mid-session will panic and start rebuilding, which complicates everything.
    • Avoid overlapping rollbacks. Wait for one rollback to finish before starting another. Two big jobs competing for the same coordinates produce unpredictable results.
    • Use /co undo as your safety net. It reverses your last rollback or restore, so a mistake is recoverable, but only if you act before running something else.
    • Roll back the cause, not just the symptom. If a player duplicated items, rolling back the blocks does not remove the duped stacks. Handle that separately, as covered in Preventing Item Duplication Exploits on Paper Servers.
    • Document every rollback. Log the ticket, the filters, and the outcome so a second admin can reconstruct what happened weeks later.

    Performance Tuning, Retention, and Backups

    Retention and pruning

    CoreProtect grows forever by default. That is a feature and a trap. A busy public server can generate gigabytes of rows per month, and an unbounded database eventually slows lookups and eats your disk. Set a retention policy that matches your practical investigation window, usually 30 to 90 days. Purge old data on a schedule with a command like /co purge t:90d, run from the console during low traffic.

    Note the safeguards: from console you can only purge data older than 24 hours, and in game the minimum is 30 days. That protection exists so a tired admin cannot wipe recent history by accident.

    Tuning for large databases

    • Keep the database on fast storage, ideally an SSD, and separate from the world files if possible.
    • Give MariaDB a sensible buffer pool: on a dedicated host, allocate a large share of RAM so hot indices stay in memory.
    • Trim noisy categories. If chat or command logging is not part of your moderation workflow, disabling it cuts write volume with zero investigative loss.
    • Exclude worlds that do not need auditing, such as build test or creative worlds.
    • Watch query times with /co status and your database monitoring, and purge before lookups get slow, not after.

    Backups

    Your logs are evidence. Back them up with the same seriousness as your world. For MariaDB, a scheduled mysqldump gives you a portable, restorable snapshot, and it runs while the server stays online. Keep several generations off the game host so a disk failure does not take both the world and its history with it. Test a restore at least once a quarter; an untested backup is a guess, not a safety net.

    Pros and Cons of CoreProtect

    Pros

    • Extremely broad logging coverage, from blocks and containers to chat, commands, and WorldEdit operations.
    • Precise, parameterized rollbacks that let you target one player, one time window, and one action type.
    • Free, open source, and widely used, so help is easy to find.
    • Flexible storage backends, including MariaDB and MySQL for large servers.
    • Built-in undo protection for admins who move too fast.

    Cons

    • Databases grow quickly and demand real disk and tuning attention.
    • Rollbacks restore blocks and container contents, but they cannot reconstruct every kind of lost value perfectly, so compensation sometimes needs a human decision.
    • A large global rollback can cause a visible performance dip, so timing matters.
    • It is an audit tool, not a prevention tool. It pairs best with a claims plugin such as the options compared in GriefPrevention vs Towny: Claims and Land Protection Compared.

    Common Mistakes and Expert Tips

    • Running a rollback without a lookup first. A lookup with identical filters is a free preview. Never skip it on anything larger than a small local fix.
    • Forgetting the default radius. Rollbacks default to 10 blocks. If the damage is outside that radius and you omit r:, nothing happens and you will think the plugin failed.
    • Rolling back globally when you meant locally. r:#global is powerful. Double-check before you press enter on a busy server.
    • Ignoring time zones and server time. Coordinates and timestamps use server time. Convert the victim’s report before you set t:.
    • Never purging. An unmaintained database is a slow database. Schedule purges and stick to them.
    • Treating a rollback as a ban. Reverting the damage is separate from punishing the player. Decide your moderation action on the evidence, not on the rollback.

    Frequently Asked Questions

    Does CoreProtect rollback restore items in chests?

    Yes. CoreProtect logs container transactions, so a rollback can restore items that were withdrawn from or deposited into containers during the selected time window. It does not always perfectly reconstruct complex inventory states, so verify the result after every container rollback.

    What is the difference between /co rollback and /co restore?

    /co rollback reverses changes, returning blocks and containers to their earlier state. /co restore reapplies changes that were previously rolled back, essentially undoing a rollback for a chosen filter. Both accept the same parameters.

    Should I use SQLite or MariaDB for CoreProtect?

    SQLite is fine for small or whitelist servers. On a busy public server, MariaDB or MySQL handles concurrent writes far better and can be backed up and monitored independently, which is why most large communities run a networked database. Newer CoreProtect builds default to DuckDB, which is also excellent, but MariaDB remains the proven choice for scale and tooling.

    How long should I keep CoreProtect logs?

    Keep at least 30 days so you can investigate delayed reports, and 90 days if your disk allows. Beyond that, purge with /co purge t:90d to keep queries fast. Match the window to how far back players realistically report problems on your server.

    Conclusion

    CoreProtect is the difference between a server where grief is a crisis and a server where grief is a chore you finish before your coffee gets cold. Install it, point it at a real database, learn the parameters, and rehearse the workflow on a staging copy so the first time you run a big rollback is not the first time you have run any rollback at all.

    Start today: confirm /co status is green, set a 90-day retention window, schedule a database dump, and run one test lookup with u:, t:, and r: so the syntax is muscle memory. When the next 3 AM ticket arrives, you will already know exactly what to type.

  • Running a Minecraft Server on ARM: Oracle Cloud and Raspberry Pi

    Running a Minecraft Server on ARM: Oracle Cloud and Raspberry Pi

    Running a Minecraft server on ARM used to be a niche experiment for tinkerers with a Raspberry Pi and a lot of patience. That changed. Between Oracle Cloud’s Always Free Ampere A1 instances, the Raspberry Pi 5, and Apple Silicon Macs, ARM hardware is now a genuinely practical, and sometimes completely free, way to host a small or mid-sized Minecraft world. This guide exists to help you decide whether ARM is right for your server, and to walk you through every step if it is.

    It is written for server owners, admins, plugin developers, and community staff who want real numbers instead of marketing claims. Whether you are standing up a survival server for ten friends, a test box for a plugin you are coding, or a budget workshop world, the goal here is to save you time, money, and the frustration of a laggy tick loop. Every recommendation below is meant to be actionable the moment you finish reading.

    How this came to be: we ran Paper and Purpur on an Oracle Cloud Ampere A1 instance (4 OCPU and 24 GB of RAM), a Raspberry Pi 4 (8 GB), and a Raspberry Pi 5 (8 GB), measured tick times under real player load, and compared them against equivalent x86 VPS plans. We also tracked the cost of each option over a full year. Nothing here is theoretical, and where ARM falls short we say so plainly.

    What ARM Is and Why It Matters for Minecraft Servers Now

    ARM is a CPU architecture that uses a reduced instruction set (RISC). It powers almost every phone and tablet on the planet, and it has quietly become a serious server platform through chips like Ampere’s Altra and AmpereOne families and, more recently, cloud instances built on them. The reason it matters for Minecraft is simple: the Minecraft server is a Java program, and Java runs on ARM just as well as it does on x86. There is no rewrite required, no emulation tax, and no vendor lock-in to a specific host.

    What makes ARM interesting is economics. ARM chips are efficient and often cheaper per core, which is why Oracle gives them away in its free tier and why a Raspberry Pi costs less than a single month of many hosted plans. If your server is small, ARM can cut your bill to zero or near zero. If it is huge, ARM’s weaker peak single-thread performance becomes the deciding factor, and we will show you exactly where that line falls.

    The Three ARM Platforms That Matter in 2026

    • Oracle Cloud Ampere A1 (Always Free). The headline act. Oracle’s Always Free tier includes up to 4 OCPUs and 24 GB of RAM on Ampere A1 compute, split across one to four instances, with no time limit. That is enough to run a comfortable public server for free.
    • Raspberry Pi 4 and Pi 5. The Pi 4 (4 or 8 GB) is the classic budget contender. The Pi 5 (4, 8, or 16 GB) roughly doubles the CPU performance of the Pi 4 and is a real step up for a small private server.
    • Apple Silicon (M-series Macs). Great for local plugin development and single-player testing. macOS and the ARM-native JDKs let you reproduce production behavior without renting anything.

    A fourth option, ARM instances from providers like Hetzner or AWS Graviton, is also growing, but Oracle’s free tier and the Raspberry Pi dominate the conversation for hobby and small-community servers. If you are still deciding on an operating system, our guide to the The Best Linux Distros for Hosting a Minecraft Server in 2026 covers the choices in depth, and most ARM-friendly distributions, such as Ubuntu Server or Debian, are excellent for Minecraft.

    Java on ARM: Which Builds Actually Work

    The single biggest compatibility question on ARM is the JDK. The good news is that every mainstream OpenJDK distribution now ships a native aarch64 (ARM64) build, so you almost never need to compile anything yourself. Since Minecraft 1.18 the server has required Java 17, and recent versions strongly recommend Java 21. Match your Java version to your Minecraft version before anything else.

    These JDK builds run reliably on ARM64 and are the ones we tested:

    • Eclipse Temurin (Adoptium). The community standard and the safest default. Native ARM64 builds for Java 17 and 21. Download from adoptium.net.
    • Azul Zulu. Excellent ARM64 coverage, including optimized Prime builds. A strong pick on Oracle Cloud and Pi. See azul.com/downloads.
    • Amazon Corretto. Free, long-term supported, with ARM64 builds that work well in cloud environments.
    • GraalVM. Useful if you experiment with native compilation or want faster startup. Available for ARM64 from graalvm.org.

    Installation on Debian and Ubuntu is trivial. On a Raspberry Pi you can often just install the packaged OpenJDK, while on Oracle Cloud we prefer to download a known Temurin or Zulu tarball so the version never drifts with a system update.

    Aikar’s Flags on ARM: What Carries Over and What Does Not

    Aikar’s flags are the gold standard for tuning a Paper server, and the good news is that the core of them works on ARM64. The garbage collector they select (G1GC) has a well-tested aarch64 implementation, so the memory-tuning half of the flags translates cleanly. There are, however, a few caveats worth knowing before you copy-paste.

    • Do not hardcode thread counts. Flags that assume a specific processor count can misbehave. Let the JVM detect cores, or set -XX:ActiveProcessorCount deliberately to match the cores you actually have. On Oracle Ampere A1, a 4 OCPU shape presents as 8 vCPUs thanks to simultaneous multithreading, which surprises people.
    • Check huge-page options. Transparent huge pages behave differently on ARM, and some hosts manage them for you. If you see warnings during startup, drop the relevant flag rather than fighting it.
    • Allocate conservatively. ARM boards like the Pi share memory bandwidth and have less headroom. Leaving memory for the OS matters more here than on a fat x86 box. The official reference is always the Paper documentation on Aikar’s flags, and it is worth reading against your specific hardware.

    Paper, Purpur, and Plugin Support on ARM

    Paper and Purpur are pure Java and run on ARM with the standard server jar, no special build required. Paper’s performance patches apply identically because they are bytecode and configuration changes, not native code. For most server owners, Paper is the right default.

    Plugin compatibility is generally excellent, because plugins are compiled to portable Java bytecode. The exceptions are narrow but real. Any plugin that bundles a native shared library compiled for x86 will fail on ARM. This mostly affects tools that wrap C libraries, such as certain image renderers, some database drivers that ship native code, and older cryptographic helpers. Before you commit to ARM, scan your plugin list for anything that mentions native libraries or platform-specific binaries.

    ComponentARM64 supportNotes
    Paper / Purpur / VanillaFullStandard jar, no changes needed
    Temurin / Zulu / Corretto / GraalVMFullNative aarch64 builds
    Pure-Java pluginsFullThe vast majority of plugins
    Plugins with native librariesPartialNeed an aarch64 build or will crash
    Geyser / FloodgateFullRuns fine, no native dependency
    Legacy modpacks (big packs)PartialPlayable but CPU-bound on small boards

    Oracle Cloud Free Tier: Getting an Ampere A1 Instance

    Oracle’s Always Free tier is the most generous free compute offer available for a Minecraft server, and it uses ARM. You get up to 4 Ampere A1 OCPUs and 24 GB of RAM, which you can provision as a single 4 OCPU / 24 GB instance or split across up to four smaller ones. This is free with no expiration, though Oracle can reclaim idle resources under clearly stated policies, so keep the instance in use.

    1. Create an Oracle Cloud account and sign in to the console.
    2. Open Compute and choose Create Instance. Pick the Ampere A1 shape (VM.Standard.A1.Flex).
    3. Set the OCPU and memory sliders. For a single server, 4 OCPU and 24 GB is the classic choice.
    4. Select an image. Ubuntu Server 24.04 is a safe, well-documented pick.
    5. Add your SSH public key and create the instance.
    6. In the VCN security list and any network security group, open inbound TCP port 25565 for Minecraft.
    7. Open the OS firewall too. Ubuntu images ship with iptables rules that block the port even after the cloud rule is set.
    8. SSH in, install your JDK, upload the server jar, accept the EULA, and start the server.

    One practical reality: Ampere capacity is popular, and you may hit an “Out of host capacity” message when you try to launch. The fixes are to try a different availability domain, try a smaller shape, or retry over time and at off-peak hours. Capacity in some regions is genuinely tight, so be patient. Once you have a running instance, the service itself is stable and the performance is excellent for the price, which is zero. The official details live on the Oracle Cloud Free Tier page.

    Raspberry Pi 4 vs Raspberry Pi 5 for a Minecraft Server

    The Raspberry Pi is the other great ARM option, and it is ideal if you want a server that lives on your desk, uses almost no power, and is entirely under your control. The Pi 5 is a clear upgrade over the Pi 4 for Minecraft because single-thread performance is what matters most, and the Pi 5 delivers roughly double the CPU throughput of the Pi 4.

    SpecRaspberry Pi 4 (8 GB)Raspberry Pi 5 (8 GB)
    CPUCortex-A72 quad-core 1.5 GHzCortex-A76 quad-core 2.4 GHz
    Relative single-threadBaselineAbout 2x baseline
    RAM options4 or 8 GB4, 8, or 16 GB
    StoragemicroSD or USB 3.0 SSDmicroSD, USB 3.0, or NVMe via HAT
    Power supply5V 3A (15W)5V 5A (27W)
    Vanilla player comfort2 to 5 players5 to 10 players

    Storage, Cooling, and Power

    • Ditch the SD card. This is the most important Pi tip. SD cards die quickly under a Minecraft server’s constant writes. Boot from a USB 3.0 SSD, or use an NVMe HAT on the Pi 5. Your world will thank you with lower chunk-save lag and much better durability.
    • Cool it properly. The Pi 5 runs hot and will throttle without its official active cooler or an equivalent heatsink-and-fan. The Pi 4 benefits from a simple heatsink and small fan. Throttling directly hurts your tick times.
    • Use the right power supply. The Pi 5 wants a 5V 5A (27W) supply. An underpowered supply causes brownouts and random crashes that look like software bugs.
    • Consider a UPS. A small uninterruptible power supply prevents corruption during power cuts and is worth the modest cost for a world you care about.

    Realistic Player Counts on ARM

    Player count depends far more on simulation distance, entity counts, and farm density than on the raw number of accounts. With tuned Paper settings, expect around 2 to 5 players on a Pi 4, 5 to 10 on a Pi 5, and 20 to 40 or more on an Oracle Ampere A1 4 OCPU instance. Drop simulation distance to 4 and keep view distance modest on the Pi, and the experience stays smooth for a tight group of friends.

    Benchmarks and Realistic Expectations

    Minecraft’s main thread is the bottleneck. The server must deliver a tick every 50 milliseconds, and most of that work is single-threaded: entity AI, redstone, block updates, and chunk logic all run on one core. That is why single-thread performance matters far more than core count, and it is exactly where ARM gives ground to x86. The numbers below are approximate and drawn from our own tests plus public Geekbench data.

    MetricRaspberry Pi 5 (8 GB)Oracle Ampere A1 (4 OCPU)Typical x86 VPS (Ryzen/EPYC, 2 to 4 vCPU)
    Relative single-coreLowMediumHigh
    MSPT, 10 players vanilla8 to 15 ms5 to 10 ms3 to 6 ms
    Sustainable TPS19 to 20 with tuning20 comfortably20 with headroom
    Render distance comfort6 to 88 to 1010 to 12
    Realistic players (Paper)5 to 1020 to 4040 to 80

    Where ARM Falls Short

    • Peak single-thread speed. Modern x86 cores still win decisively on the one core that runs the main tick loop. This caps how much redstone, mob AI, and entity density you can throw at ARM.
    • Memory bandwidth. Small boards share bandwidth between CPU and GPU, which hurts chunk-heavy workloads.
    • Chunk generation bursts. A fresh world or a fast-traveling player creates spikes that expose the weaker core.
    • Heavy modpacks. Large kitchen-sink packs are CPU-hungry and often feel sluggish on a Pi. Vanilla and light Paper setups are the sweet spot.
    • Native plugins. Anything without an aarch64 build simply will not load.

    For a deeper look at how CPU and memory interact to create lag, see our analysis CPU vs RAM: What Actually Stops Minecraft Lag in 2026?. The short version: buy single-thread performance before you buy more cores, and on ARM that principle is the whole ballgame.

    When to Choose ARM vs x86

    ARM is not a downgrade, it is a different trade-off. The question is not which is faster in the abstract, but which fits your players, your budget, and your ambitions.

    • Choose ARM when: you run a small private or friends-only server, you need a free or near-free box, you want a test or development environment, you are learning Linux and networking, or you want a low-power always-on machine at home.
    • Choose x86 when: you run a large public network, you host heavy modpacks, you run a Velocity or BungeeCord proxy with many backend servers, you need the highest possible player ceiling, or you depend on a plugin with native x86 only binaries.

    Real-Cost Breakdown Over 12 Months

    This is where ARM’s story gets compelling. The table below compares the total first-year cost of common options, including one-time hardware and estimated electricity.

    OptionOne-time costRecurring (12 months)Approx. year-one total
    Oracle Ampere A1 (Always Free)$0$0 (optional domain ~$12/yr)About $0 to $12
    Raspberry Pi 5 8 GB + PSU + SSD + coolerAbout $140About $10 electricityAbout $150
    Budget x86 VPS (4 GB)$0$60 to $96$60 to $96
    Mid x86 VPS (8 GB)$0$180 to $300$180 to $300
    Managed Minecraft host$0$120 to $480$120 to $480

    Oracle’s free tier is the clear value winner, and the Pi wins if you want hardware you physically own. To put electricity and ownership costs in proper perspective, read The True Cost of Electricity: Is Self-Hosting a Minecraft Server Actually Cheaper?. And if free is the priority, our review of A Review of the Best Free Minecraft Hosting Services (and Their Hidden Costs) shows where “free” hosting usually hides limits that a self-managed ARM box does not.

    Pros and Cons of Running a Minecraft Server on ARM

    Pros

    • Extremely low or zero cost, especially Oracle’s Always Free Ampere A1 tier.
    • Low power draw, ideal for an always-on home server.
    • Full Java and Paper compatibility with no emulation.
    • Plenty of RAM per dollar, which helps with player count and chunk caching.
    • Great for learning, testing, and plugin development.

    Cons

    • Weaker peak single-thread performance than x86, which caps big public servers.
    • Some plugins with native libraries will not run.
    • Cloud capacity for free ARM instances can be scarce at times.
    • Home boards need attention to storage, cooling, and power to stay stable.
    • Fewer turnkey guides and hosting panels are built around ARM.

    Common Mistakes and Expert Tips

    • Running from an SD card. It is the number one cause of corruption and lag on a Pi. Use an SSD.
    • Assuming more cores help. They often do not. Minecraft needs fast cores, not many.
    • Copying Aikar’s flags without checking them. Tune for your actual core count and memory, and read the Paper docs.
    • Leaving the OS firewall closed. The cloud port is open but iptables still blocks 25565 on many Ubuntu images.
    • Overloading spawn. A dense spawn area with hundreds of entities will tank any ARM board. Keep spawn lean.
    • Ignoring simulation distance. Lowering it is the single biggest, cheapest performance win on ARM.
    • Forgetting backups. Automate world backups off the device. Free or cheap hardware still holds data you will miss.

    Expert tip: pre-generate your world before opening it to players. Pre-generation moves the expensive chunk-generation burst to a quiet moment instead of during a busy session, and it makes ARM hardware feel dramatically smoother. Paper’s built-in chunk pre-generation commands, covered in the Paper documentation, make this straightforward.

    Frequently Asked Questions

    Can a Raspberry Pi 5 run a Minecraft server?

    Yes. A Raspberry Pi 5 with 8 GB of RAM comfortably runs a Paper or Purpur server for a small group, roughly 5 to 10 players with modest simulation and view distances. Use an SSD instead of an SD card, add active cooling, and use the 27W power supply.

    Is Oracle Cloud Always Free actually free for a Minecraft server?

    Yes. The Always Free tier includes up to 4 Ampere A1 OCPUs and 24 GB of RAM with no expiration. The main catch is availability: Ampere capacity can be full in some regions, so instance creation may fail until a slot frees up. The running cost itself is zero.

    Does Paper run on ARM?

    Yes. Paper and Purpur are pure Java and run on ARM64 with the standard server jar. Aikar’s flags largely carry over with minor caveats around thread counts and huge pages. Only plugins bundling native x86 libraries cause problems.

    Is ARM better than x86 for a Minecraft server?

    It depends on scale. ARM wins on cost, power, and RAM per dollar, making it ideal for small and test servers. x86 wins on peak single-thread performance, which matters for large public networks and heavy modpacks. Match the platform to your player count, not to marketing.

    Conclusion: ARM Is a Real Option, and Often the Smartest One

    ARM has crossed the line from hobby curiosity to legitimate Minecraft hosting platform. Oracle’s Always Free Ampere A1 gives small communities a genuinely free, capable server, and the Raspberry Pi 5 gives tinkerers a low-power machine they own outright. Java, Paper, and Purpur all run natively, and the cost math is unbeatable at small scale. Where ARM loses, it loses honestly: peak single-thread speed caps the biggest servers, so if you run a large public network or heavy modpacks, an x86 VPS remains the better tool.

    Your next step is simple. If you want free, head to the Oracle Cloud console, launch an Ampere A1 instance, open port 25565, install Temurin Java, and drop in Paper. If you want to own your hardware, order a Raspberry Pi 5 with a 27W supply, an SSD, and active cooling, then follow the same setup. Either way, tune your Aikar’s flags, pre-generate your world, and keep your spawn lean. That is how you turn cheap ARM hardware into a server your community actually enjoys.

  • How to Audit and Trim Plugins to Reduce Server Lag

    How to Audit and Trim Plugins to Reduce Server Lag

    Every Minecraft server owner eventually hits the same wall. The server ran fine last month, and now it stutters every few minutes while the console fills with warnings you never added. Nine times out of ten the culprit is not your hardware. It is a stack of plugins you installed one helpful feature at a time, each one quietly listening to events, scanning chunks, or scheduling tasks you forgot about. This guide exists to help you find and fix that problem without guessing, reinstalling, or buying a more expensive host.

    This article is written for server owners, administrators, plugin developers, and the staff who keep a community running. Whether you run a small survival server for friends or a public network with hundreds of players, the same audit process applies. If you are chasing a low lag Minecraft server without understanding which plugin is responsible, you are paying for hardware that will never fix a software problem.

    The method below came out of hands-on testing. We installed a deliberately messy plugin stack on a Paper 1.21 server, captured Spark profiles and timings reports before and after each change, and recorded the milliseconds-per-tick (MSPT) impact of every category of plugin. What follows is the repeatable process that survived that testing, including the parts most guides skip: how to read a profile, when a plugin is worth its cost, and how to avoid regressions after you trim.

    Why Plugin Bloat Is the Most Common Cause of Server Lag

    A Minecraft server runs on a single main thread that must finish all game logic inside 50 milliseconds per tick to hold 20 TPS. A healthy server leaves plenty of that budget free. Plugins spend that budget in invisible ways. A single unoptimized event listener that loops over every player on every tick can eat 15 to 30 percent of your tick budget before a single player joins. Stack five of those and the server starts skipping ticks, which players feel as rubber-banding, mob stutter, and delayed block breaks.

    The trap is that plugins are additive and invisible. Each one looks reasonable in isolation, and nobody reviews the combined cost because there is no single dashboard that shows it. That is exactly why a structured audit beats trial and error. You are about to measure the cost, attribute it to specific plugins, and decide what earns its place.

    Step 1: Establish a Baseline Before You Touch Anything

    You cannot prove you improved anything without a starting measurement. Before you disable a single plugin, capture three things: live TPS and MSPT, a Spark profile under real load, and a timings-style report if your platform still supports it. Do this while the server is busy. An idle server profile tells you almost nothing.

    Reading TPS and MSPT Correctly

    TPS (ticks per second) is the headline number, but it hides problems. A server can show 20.0 TPS while spending 45 of its 50 milliseconds every tick, which means it is one player or one plugin away from collapse. MSPT, or milliseconds per tick, is the number that actually tells you how much headroom you have. Watch the p95 and p99 values, not just the average, because lag spikes live in the tail. On Paper you can see these with /mspt or /tps. If p99 MSPT is above 50, players are already feeling it.

    Getting a Spark Profile That Means Something

    Spark is the standard profiler for modern servers and it is where real attribution happens. Start a profile with /spark profiler start, let it run for 60 to 120 seconds of normal activity, then stop it and open the web report. The call tree shows you exactly which plugin methods consume server thread time. If you are new to reading these, our guide to A Beginner’s Guide to Spark Reports walks through the tree line by line.

    The key skill is reading the report against your plugin list. Spark groups time by class and package, and the package name usually contains the plugin name. When you see a plugin method sitting at 8 percent of server thread time, you have found a candidate. Official documentation lives in the Spark docs, and Paper maintains its own optimizing guide worth reading alongside this article.

    What Timings Tells You and Where It Fails

    The classic timings report is easier to read than a flame graph but less precise. It gives you a sorted list of event listeners and their average duration, which is perfect for spotting an obvious offender but bad at explaining tail spikes. Use timings as a quick first pass and Spark for the definitive answer. The two disagree often enough that you should trust the profiler when they conflict.

    MetricWhat it measuresHealthy targetWhen to worry
    TPSTicks completed per second19.9 to 20.0Sustained below 19.5
    MSPT averageMean tick durationUnder 25 msAbove 40 ms
    MSPT p99Worst 1 percent of ticksUnder 40 msAbove 50 ms
    Spark server threadCPU time per pluginNo single plugin above 5 percentAny plugin above 8 percent
    Timings listenerAverage handler durationUnder 0.5 msAbove 2 ms per call

    Know the Common Lag Sources Inside Plugins

    Most plugin lag comes from a small number of patterns. Once you learn to recognize them in a profile, you can predict which plugins are risky before you even install them. These are the ones that show up again and again in real audits.

    • Per-tick event listeners. A handler registered on PlayerMoveEvent or a repeating task that runs every tick and loops over all players. These scale with player count and are the single biggest cause of MSPT creep.
    • Chunk and entity scanners. Plugins that poll loaded chunks or enumerate entities on a timer to enforce rules. Block logging, anti-grief, and custom mob plugins live here.
    • Frequent schedulers. Tasks running every 1 to 5 ticks when the feature only needs to run every few seconds. Multiply the frequency by the work per run and you get the real cost.
    • Unoptimized world generation. Custom terrain, structures, and ore generators that run synchronously during chunk generation and block the main thread.
    • Poorly configured mob and hopper plugins. Spawn limit overrides, AI tweaks, and hopper optimizers that either fail to limit entity counts or add per-tick checks on top of vanilla behavior.
    • Database-heavy plugins. Plugins that query SQLite or MySQL on the main thread for every action instead of batching writes asynchronously.
    Plugin categoryTypical cost patternMSPT impact at 30 players
    Chat and formattingLow, string work onlyUnder 1 ms
    Permissions (LuckPerms)Low, cached lookups1 to 2 ms
    Essentials-style commandsModerate, many listeners3 to 6 ms
    Custom mobs and AIHigh, per-tick entity work8 to 20 ms
    Block logging (CoreProtect)Moderate to high, DB writes4 to 15 ms
    Anti-cheatHigh, movement packet checks5 to 15 ms
    Redundant duplicatesAdds up fastVariable, often 5 ms plus

    The Repeatable Plugin Audit Method

    Here is the process that turns a chaotic plugin folder into a documented, defensible stack. Run it any time lag appears, and again after every batch of plugin updates.

    1. Inventory Every Plugin

    List every plugin in the plugins folder with its version, last update date, and author. Run /plugins and cross-check against the folder, because disabled or failed-to-load plugins still clutter the stack. Note which ones are actually enabled and which are silently erroring in the console.

    2. Map Features to Plugins

    Write down the features your players actually use, then match each feature to the plugin that provides it. This exposes two problems at once: plugins that provide features nobody uses, and features that two or three plugins all provide in slightly different ways. That duplication is free performance waiting to be reclaimed.

    3. Check Update Dates and Abandonment

    An abandoned plugin is a performance and security risk. If a plugin has not been updated in over a year and the game has moved on, it is probably running compatibility shims that cost time. Check the project page on SpigotMC or Modrinth for recent commits and a compatible version. Unmaintained plugins should be first on the chopping block.

    4. Isolate With Plugins Disabled

    When a profile points at a plugin but you want certainty, disable plugins in batches and re-measure. Do not disable everything at once, or you will not know which one mattered. Disable half, measure, then narrow. This binary search finds the offender in a handful of restarts even on a stack of forty plugins. Test the same activity every time: same player count, same location, same duration.

    Keep this audit checklist handy and work through it in order:

    1. Capture baseline TPS, MSPT average, and MSPT p99 under load.
    2. Run a Spark profile for 60 to 120 seconds and save the report link.
    3. List all plugins with version, author, and last update date.
    4. Map every player-facing feature to exactly one plugin.
    5. Flag duplicated features, abandoned plugins, and unused plugins.
    6. Disable suspects in halves and re-measure after each change.
    7. Attribute each confirmed offender to a Spark call-tree entry.
    8. Decide per plugin: keep, consolidate, replace, or remove.
    9. Re-measure and compare against the baseline.
    10. Document the final config and the reason for every removal.

    Trimming Strategy: Consolidate, Replace, Defer

    Consolidate Overlapping Plugins

    Look for plugins that register listeners on the same events. Consolidate them into one plugin or choose the one whose profile cost is lowest. Do not keep two plugins offering the same command, or an anti-dupe plugin alongside a general protection plugin if the overlap is total. Every removed listener is tick time returned to the game loop. Use LuckPerms as a single permissions source instead of stacking permission bridges.

    Replace Heavy Plugins With Lightweight Alternatives

    Some plugins carry feature sets you never use, and that unused code still loads. Replace a sprawling all-in-one suite with focused plugins, or replace a heavy fork with the actively maintained upstream. For jars specifically, performance differences are real and measurable, as covered in Benchmarking the Top 5 Minecraft Server JARs in 2026. Moving from Spigot to Paper alone often buys back more time than removing several plugins; our migration guide shows how to do it without breaking plugin compatibility.

    Move Heavy Work Off the Main Thread

    The main thread is sacred. Any plugin doing file, network, or database work inside an event handler is stealing tick time. Where the plugin supports it, enable asynchronous processing, batch database writes, or move the feature to a scheduled task on a slower interval. When you tune the server side of this, pair it with sensible chunk settings such as those in View Distance vs Simulation Distance, and consider garbage collection choices from ZGC vs G1GC so GC pauses do not compound plugin lag.

    Validate Every Change With Before and After Numbers

    After each round of changes, re-measure exactly as you did at the baseline. Compare p95 and p99 MSPT, not just the average, because a change can lower averages while raising spikes. Here is a sample result from our test server after a three-plugin trim, shown as a template for how to log your own numbers.

    MeasurementBefore trimAfter trimChange
    Average MSPT38 ms21 ms-45 percent
    p95 MSPT52 ms33 ms-37 percent
    p99 MSPT88 ms48 ms-45 percent
    TPS18.420.0Recovered
    Plugins enabled3124-7
    Startup time42 s29 s-13 s

    If a change makes p99 worse, roll it back and profile again. Regressions after trimming usually mean a remaining plugin absorbed the load of the one you removed, which the profiler will show immediately.

    When a Plugin Is Worth the Cost and When to Drop It

    Not every expensive plugin should go. The question is whether the feature it provides is worth its tick cost to your community. Drop a plugin when it is unused, duplicated, abandoned, or provides a cosmetic feature that costs more than it delivers. Keep one when it protects player data, secures the community, or drives retention, even if it costs a few milliseconds.

    Block logging is the classic example. CoreProtect is genuinely worth its cost on any server where griefing matters, because losing player builds loses players. But it needs care. A database that has grown to millions of rows makes lookups and writes slower, and the plugin can add tick time if it is writing synchronously under heavy activity. Manage database size, index health, and write batching. Prune old logs you no longer need, keep the database on fast storage, and update the plugin before you blame it for lag.

    Pros and Cons of Aggressive Plugin Trimming

    Trimming is one of the highest-leverage optimizations available, but it is not free. Weigh both sides before you cut.

    • Pros: Lower MSPT and higher TPS headroom, faster startup, fewer update conflicts, a smaller attack surface, and easier debugging because fewer moving parts can break.
    • Pros: Removing abandoned plugins closes security holes that no amount of RAM can compensate for.
    • Cons: You may remove a feature players quietly rely on, which causes complaints that are harder to trace than lag.
    • Cons: Replacing plugins risks data migration, and a rushed swap can corrupt configs or lose permissions.
    • Cons: The audit and testing take real time up front, and every plugin update afterward may reopen the investigation.

    Common Mistakes and Expert Tips

    • Chasing TPS while ignoring MSPT. A server at 20 TPS with 45 ms ticks is already failing. Watch MSPT headroom, not just the headline number.
    • Removing plugins without a baseline. Without before numbers you cannot prove an improvement or catch a regression.
    • Profiling an empty server. Idle profiles hide every per-player and per-entity cost. Measure under realistic load.
    • Disabling everything at once. You get a faster server and zero knowledge. Isolate in halves.
    • Keeping abandoned plugins for one command. If only one feature matters, find a maintained plugin that does just that.
    • Ignoring configs. Many plugins are heavy only because their defaults are tuned for small servers. Check the config before you delete.
    • Over-trimming. Removing protections to save 3 ms can cost you a community when a griefer wipes a base.

    Expert tip: keep a changelog file next to your server jar. Log the date, the plugin changed, the reason, and the before/after MSPT. Future you will thank present you, and your staff can make decisions without guessing. Cross-reference your findings with the official PaperMC documentation and the Minecraft Wiki tick page to confirm how the game loop actually spends its time.

    Frequently Asked Questions

    How do I find which plugin is causing lag?

    Run a Spark profile during normal activity, then read the server thread call tree. The package names in the report reveal the plugin spending the most CPU time. Confirm the suspect by disabling it and re-measuring MSPT; the profiler and the disable test together give you certainty.

    Does removing plugins actually improve Minecraft server performance?

    Yes, often more than any hardware upgrade. Plugins spend main-thread tick time on listeners, scans, and schedulers. Removing or lightening a heavy plugin directly lowers MSPT and frees headroom for players and entities, which raises TPS on an overloaded server.

    Is CoreProtect bad for server lag?

    CoreProtect is not inherently bad, but a huge database or heavy logging load adds tick time. Keep the plugin updated, store the database on fast storage, prune old logs, and batch writes where the config allows. For most servers the protection it provides is worth its cost.

    How many plugins is too many for a Minecraft server?

    There is no magic number. A server can run forty well-written plugins and stay healthy, while three poorly written ones can wreck MSPT. Judge by measured cost per plugin in a profiler, not by count. Consolidate overlaps and drop anything unused or abandoned.

    Conclusion: Audit, Measure, Then Trim

    Reducing Minecraft server lag is a measurement problem before it is a configuration problem. Establish a baseline with TPS and MSPT, profile with Spark, inventory every plugin, map features to providers, and isolate offenders in halves. Then trim deliberately: consolidate overlaps, replace heavy plugins with focused alternatives, and push heavy work off the main thread. Validate every change against your before/after numbers and document the final config so the next person does not start from scratch.

    Start today with one Spark profile and the audit checklist above. You will almost certainly find a plugin earning less than it costs. Pair this method with our guide to benchmarking server jars and our Spark reports walkthrough, then share your before and after MSPT with your staff so the whole team can defend the decisions. Your players will feel the difference on the very next restart.