Author: Arthur

  • ItemsAdder Guide: Custom Models and Items for Your Minecraft Server

    ItemsAdder Guide: Custom Models and Items for Your Minecraft Server

    Custom items are one of the fastest ways to make a server feel like its own game. A player who joins and finds a rune-etched blade, a lantern that actually lights a room, and a menu no vanilla client has seen understands instantly that this world was built on purpose. ItemsAdder is the most common route to that result, and the plugin most likely to leave an owner staring at missing textures at midnight.

    This guide is a build-along. It goes from a fresh install on Paper to a working custom sword and a placeable lamp, and it treats the resource pack as the hard part instead of an afterthought. Everything below was checked against the current official ItemsAdder wiki for the 4.x layout, because the 3.x tutorials still floating around describe a folder structure that no longer exists. Work through it in order and you skip most of the failures new owners hit.

    What ItemsAdder Adds to a Server

    ItemsAdder is a content framework with two halves that must stay in sync. The server half is YAML: files under the plugin’s contents folder register new items, blocks, furniture, recipes, and GUI elements. The client half is a generated resource pack supplying the models, textures, and fonts those definitions point at.

    That split explains most confusing bugs. A custom sword exists on the server the moment its YAML loads: /iaget hands it out and recipes work. Whether it looks like a sword depends on whether the client has the pack. The server never streams a model; it names a model ID, and the pack decides what that ID looks like.

    With a working pack, clients can see:

    • Fully 3D item models in hand, in the inventory, and on the ground
    • Custom block and furniture models placed in the world
    • GUI overlays, HUDs, and font glyphs for menus and chat

    This is the same mechanic that makes hand-built packs work, so the concepts carry over to our guide on resource pack basics and distribution. ItemsAdder just automates the packing, hashing, and delivery.

    Install and the Resource-Pack Pipeline

    Version pairing is the first trap. ItemsAdder 4 targets 1.20.6 and newer; 3.x is for 1.20.4 and older. Run a current Paper build, drop ProtocolLib and ItemsAdder into plugins, start once, and let the first boot write its folders. On 4.0.9 and later you no longer need LoneLibs.

    Next, pick hosting before you build anything. Since 4.0.17 the simplest option serves the zip from the game port with no extra forwarding:

    hosting:
      simple_self_host:
        enabled: true
        server_address: auto

    On panel hosts with extra ports, the classic self-host block still works by pointing server-ip at your address and pack-port at that port. Networks applying one pack from a lobby should use no-host. Serve the file over HTTPS either way: a plain HTTP pack link is the most common cause of “download failed” join errors.

    Run /iazip after any texture, model, or config change; it reloads configs and rebuilds the zip. /iasha1 prints the pack hash if you serve it yourself or set resource-pack-sha1 in server.properties. Retest with a client that has never joined, and delete the cached copy in server-resource-packs first.

    FeatureWhere it livesCommon failure
    Item definitioncontents/<namespace>/configs/*.ymlinfo.namespace typo, so the pack never sees the item
    Texturecontents/<namespace>/textures/item/*.pngUppercase letters or spaces in the filename
    Modelcontents/<namespace>/models/...Texture path inside the JSON missing the namespace prefix
    Block behaviourbehaviours.block.placed_modelMissing block behaviour, so the item places as plain paper
    Pack deliveryconfig.yml hosting sectionSelf-host enabled but the pack port is closed

    Build Your First Custom Item

    Stay organized from the first file. Older ItemsAdder 3 builds used data/items_packs; current 4.x uses plugins/ItemsAdder/contents, and each subfolder there is a namespace. The easiest structure lets the plugin infer the namespace, so you only need three folders:

    contents/my_items/
      configs/swords.yml
      models/item/ruby_blade.json
      textures/item/ruby_blade.png

    One or two namespaces is the right number for a normal server. Ten is how packs become unmaintainable, because every item ID, texture path, and permission carries the prefix. Keep every name lowercase with underscores.

    Here is a complete item, minus the recipe and attribute keys, which live in the same entry:

    info:
      namespace: my_items
    items:
      ruby_blade:
        display_name: "&cRuby Blade"
        permission: my_items.ruby_blade
        lore:
        - "&7Forged in the deep caverns"
        resource:
          material: DIAMOND_SWORD
          generate: false
          model_path: item/ruby_blade

    The model_path is the part people get wrong. It resolves relative to the namespace’s models folder, so item/ruby_blade means contents/my_items/models/item/ruby_blade.json. The texture path inside that JSON resolves against the pack root, so it must be written my_items:item/ruby_blade, not item/ruby_blade. Drop the namespace and the model renders as a missing texture even though the file is right there.

    Set generate: true and list textures instead if you want a flat item with no Blockbench work. Use /iareload while iterating on YAML, and a full /iazip whenever a model or texture changed.

    Custom Blocks, Furniture, and Models

    Blocks reuse the item format plus a behaviour. Current 4.x uses a graphics block with a texture path; 4.0.17 and older use resource with generate. The behaviour is what makes an item placeable:

      red_block:
        name: Red Block
        graphics:
          texture: block/red_block.png
        behaviours:
          block:
            drop_when_mined: false
            placed_model:
              type: REAL_NOTE

    drop_when_mined: false matters. Leave it on and players farm two blocks from one placement, the classic duplication report on support forums. Define the real drop in loots with a chance and amount range.

    Furniture is a sibling behaviour and covers most decorative content. Verified keys are light_level, solid, placeable_on with floor, ceiling, and walls, plus hitbox with height, length, and width. The default hitbox is 1x1x1, so set it only when your model is bigger. Add opposite_direction: true if the model faces the wrong way.

    The Blockbench pipeline is short but unforgiving. Create a Java Block/Item model, keep textures on a 16×16 or 32×32 grid, and paint UVs into a single atlas. Set display transforms for third person, first person, GUI, and ground before exporting, because a model that looks perfect in Blockbench often clips through the hand without them. Furniture should sit with its base at Y=0. Export as a block/item model straight into your namespace’s models folder.

    Performance, Geyser, and Rollout

    Pack size decides whether new players stay. Every model is JSON the client parses, every texture is memory and VRAM, and a first join is a download with a progress bar. Rules that hold up on populated servers:

    • Keep textures at 16×16 unless the model genuinely needs more; a 64×64 texture for a pebble is wasted bandwidth.
    • Reuse a shared atlas across items in a set instead of one texture per variant.
    • Audit the pack monthly and delete unused models; dead content still ships to every player.

    Bedrock is the other hard limit. Geyser translates Java items and inventories, but a Java custom model does not appear on Bedrock unless you map it to a Bedrock item with a Bedrock-side pack. Keep gameplay-critical items readable through names and lore, or budget a second pack. Geyser’s custom items docs cover mappings; our resource pack optimization guide covers size.

    Rollout should be boring. Test on staging with a clean client, version the zip, bump a visible pack version so caches invalidate, and keep the previous zip on disk so a bad batch reverts in one command. Watch join errors for a day after each update and ask two players on weak connections about download time before you announce anything.

    Pros and Cons

    • Pros: one config format for items, blocks, furniture, GUIs, and emotes; automatic zip generation and hashing; self-host delivery with no extra services; recipes, loot, and permissions integrated; a large addon ecosystem.
    • Cons: the pack is a hard dependency, so a failed download breaks every custom visual; version drift between 3.x and 4.x makes old tutorials useless; the free and paid tiers differ, so check licensing at your scale; Bedrock needs separate work.

    A hand-built pack gives full control and zero plugin overhead, but you own packing, hashing, hosting, and every model path. Other model plugins are lighter but usually stop at items. ItemsAdder wins when you want blocks, furniture, and UI in one system; a hand-built pack wins for a handful of static textures.

    Common Mistakes

    • Editing textures and running only /iareload. Config reloads do not rebuild the zip. Anything visual needs /iazip, and players need a fresh client cache.
    • Uppercase or spaced filenames. Docs are explicit about lowercase, and one capital letter produces an invisible item rather than an error.
    • Forgetting the namespace prefix inside model JSON. The model loads, the texture does not, and the item shows as a black-and-purple cube.
    • Testing only on your own client. Your cache has the old pack. Use a clean profile, or you will ship a broken update and blame the plugin.

    If you are modelling wearable or held props, the display transform mistakes are the same ones covered in our Blockbench hat workflow. And if your custom gear feeds a progression system, wire it up the way we describe in custom enchantments and progression rather than inventing a second economy.

    Frequently Asked Questions

    Do players need to install anything to see ItemsAdder items?

    No manual install, but they must accept the server resource pack. ItemsAdder sends the pack URL on join, and the client downloads it automatically. If the download fails or the player declines, custom models fall back to their base vanilla material.

    Why do my custom items show as purple and black blocks?

    That is a missing texture. Usually the path inside the model JSON is missing its namespace prefix, the PNG filename has an uppercase letter, or you ran /iareload instead of /iazip after editing a texture. Check the model path, then rebuild the pack and retest on a clean client.

    Do custom ItemsAdder models work for Bedrock players through Geyser?

    Not automatically. Geyser translates the items and their behavior, but Java model geometry is not converted to Bedrock. Bedrock players see the base item unless you supply a Bedrock resource pack and custom mappings for those items.

    Is self-hosting the resource pack better than Dropbox or Google Drive?

    For most servers, yes. The official docs recommend simple_self_host on ItemsAdder 4.0.17 and newer because it needs no extra service, updates instantly after /iazip, and avoids the rate limits and redirect issues that shared drive links run into.

    Wrapping Up

    ItemsAdder is not hard because the YAML is complicated. It is hard because two halves have to agree: the definition the server reads and the pack the client downloads. Get hosting right first, keep one namespace, respect the model path rules, and rebuild the zip whenever a pixel changes. Then custom content becomes a routine part of your update process instead of a weekend debugging session.

    Start with one sword and one lamp on a staging server this week. Once both render on a clean client, the whole pipeline works and every item after that is just more artwork. Keep the ItemsAdder wiki, the Blockbench docs, and Paper’s server.properties reference open while you build.

  • How to Write Patch Notes Players Actually Read

    How to Write Patch Notes Players Actually Read

    Patch notes are the cheapest retention tool a Minecraft server has, and most servers waste them. You already write down what changed. The failure is packaging. A commit log pasted into a Discord channel reaches the handful of players who were online anyway, and it tells them nothing about whether their farms, shops, or builds are affected. This guide exists to help owners, community managers, and plugin developers turn that raw list into a short document players open on purpose.

    The format below comes from comparing weekly notes across survival, factions, and minigame servers, then matching each style against support ticket volume in the three days after a release. Servers that led with player impact saw fewer repeat questions and steadier population on patch days. Servers that posted version-less walls of text saw the opposite, plus a spike in “did you nerf my farm” threads that staff answered one player at a time.

    Patch Notes Are Retention Work

    Players rarely quit because a spawn rate changed. They quit because the change arrived without warning and nobody explained it. Surprise reads as disrespect, and disrespect is what turns a weekly player into a lapsed one. The note is where you convert a technical event into a fair one.

    It is also a trust ledger. Every release where the note matched reality buys credit for the release where something broke at 2 a.m. and half the map lost power. That credit is the difference between a community that waits for the fix and one that starts shopping for another server.

    A note written for players signals four things at once:

    • Competence. You know what actually shipped, not what you hoped shipped.
    • Honesty. The ugly lines are included, including the rollback.
    • Momentum. There is a next thing, and it is dated.
    • Respect. You wrote for the reader instead of the compiler.

    The operational payoff is measurable. One clear paragraph about an economy change removes thirty identical support tickets, because the answer is already public and linkable. If your growth is stalling, patch notes are often the cheapest lever left, alongside the deeper retention work in [Double Your Player Retention].

    The Format That Gets Read

    Structure is what makes a note scannable in fifteen seconds on a phone. Use the same skeleton every release so regulars learn where to look, and keep the order fixed even when the release is thin.

    • Headline: version and date, for example “Update 1.8.2, October 22”.
    • TL;DR: one paragraph, three sentences maximum, saying what changes for the average player.
    • Sections: New, Changed, Fixed, Balance, Known Issues, Coming Next.
    • Evidence: a screenshot or a six-second clip where the change is visual.
    • Details: links to the full changelog or wiki page for anyone who wants numbers.

    Category names carry meaning, and version numbers carry more. The table below is the version staff actually use, borrowed from the discipline of Keep a Changelog and adapted to game servers, with version strings that follow Semantic Versioning closely enough that 1.8.2 means a patch and 2.0 means a season.

    CategoryWhat belongs thereExample line
    NewContent or features players can touch todayWinter Market hub opens at spawn, six player stalls
    ChangedRules, commands, prices, and interface shifts/home cooldown is now 60 seconds, up from 30
    FixedBugs that are actually goneShulker boxes no longer duplicate on region reload
    BalanceNumbers tuned, with the reason attachedDiamond sell price cut from 10 to 7 coins to slow inflation
    Known IssuesConfirmed problems with no fix yetMap blanks near the world border, patch expected Friday
    Coming NextWork in progress, no promises on datesAuction house rewrite is in testing
    Update [VERSION] - [DATE]
    TL;DR: [one sentence on what changes for players]
    
    NEW: [content players can use today]
    CHANGED: [rules, prices, commands, with before and after]
    FIXED: [bug, who was affected, what to do now]
    BALANCE: [number change, reason, expected effect]
    KNOWN ISSUES: [issue, workaround, next check-in]
    COMING NEXT: [what is in progress]
    Full details: [link]

    Write Player Impact, Not Commit Logs

    The single biggest upgrade you can make is translation. “Refactored the economy provider” means nothing to a player. “Shop purchases now save instantly, even if the server restarts” means everything. Same change, opposite value.

    Three habits do most of the work. Quantify every number, because “reduced” invites a complaint while “cut from 10 to 7 coins” invites a calculation. Explain the why behind a nerf, because players accept a decision they understand far more often than one that looks arbitrary. And separate bug fixes from design changes, since a broken farm is an apology and a rebalanced farm is a decision.

    Internal wordingPlayer-facing rewrite
    Refactored economy provider, moved to async cacheShop purchases now save instantly, even if the server restarts mid-click
    Adjusted nether mob spawn ratesFewer hostile mobs in the nether: spawn rate cut 40 percent to fix tick lag
    Fixed NPE in claim listenerClaims no longer vanish when a chunk unloads. Missing claims restored on request

    Timing and Channels

    One post is not a release. Treat distribution as two beats: a countdown before the restart, then a verified post after you have walked the map and confirmed the build. The first beat prevents surprise, the second prevents rumor. Pin the second one.

    ChannelWhenPurpose
    Discord announcements30 minutes before, again after checksReal-time notice, then the pinned record
    Website changelogAt release, permanentPermalinks, search traffic, archive
    Launcher or MOTDRelease dayReaches players who never open Discord
    Email digestWeekly roundupReaches lapsed players, as covered in [email marketing for Minecraft servers]

    Role pings are a limited resource. Ping everyone for a wipe, a rollback, or a new season, and almost never for a bug fix. A server that pings weekly trains its members to mute announcements, which is the exact opposite of the goal. Formatting helps too: Discord’s markdown reference covers headers, bold, and subtext that make a long note skimmable on mobile.

    Keep an archive page with one URL per version. It costs an hour to set up and pays for years, because “what changed in 1.8” becomes a link instead of an argument. Write in plain language, break walls of text every three or four lines, and add alt text to every screenshot so screen-reader users and search engines both get the context. If your community is international, keep sentences short and avoid idioms, then let volunteer translators handle a short summary rather than the full changelog.

    Handle Bad News and Measure Results

    When something breaks, speed beats polish. Post within the hour even if the note is four lines: what broke, who is affected, what you are doing, when you will update again. Then actually update at that time, even if the update is “still working, new ETA 40 minutes”.

    If you roll back, say so in the first sentence. State what was lost, what was restored from backup, and what compensation exists, whether that is a refund of shop currency, a re-granted rank, or a free crate. A rollback note that admits the gap gets quoted approvingly for months. One that buries it in “maintenance” gets screenshotted.

    Measurement is where most teams stop. Track five signals for each release: reactions and replies on the announcement, support tickets in the following 72 hours, adoption of the headline feature, drop-off in login counts on patch day, and whether the same question appears twice. Then ask three questions in a pinned poll: was this note clear, did it tell you what you needed, what should we explain better next time. Teams that already ship through GitHub Releases can draft the internal changelog there and rewrite the player version from it.

    Iterate one thing per month. If replies show confusion about balance changes, add a “why” line to every number. If tickets cluster around one feature, that feature needs its own short explainer linked from the note. This is the same discipline you apply to [launch week planning], applied to the other fifty weeks of the year.

    Pros and Cons: Teaser or Full Changelog

    • Short teaser, pros: high read rate, easy to skim, works for Discord and MOTD.
    • Short teaser, cons: hides detail from the players who plan around numbers, so the archive page has to carry the depth.
    • Full changelog, pros: complete record, fewer repeat questions, strong for search and for staff onboarding.
    • Full changelog, cons: long notes get skipped, and internal jargon creeps in when nobody edits.

    The reliable compromise is a short teaser at the top and the full list underneath, split by category headings so readers can stop where they like.

    Common Mistakes and Expert Tips

    • No version or date. Players cannot tell whether they are reading today’s note or last season’s. Put both in the headline.
    • Burying the nerf. The change that hurts belongs first, with the reason. Everything else can wait.
    • Commit-log voice. Class names, ticket numbers, and merge requests are for staff. Translate before posting.
    • One channel only. A note that lives only in Discord is invisible to the launcher crowd and to search.
    • Announcing before verifying. Post after you have confirmed the build, or you will publish a correction within the hour.

    Expert tip: write the note before you deploy, not after. Knowing you must explain a change in plain language is the fastest way to catch a design decision that will annoy people.

    Frequently Asked Questions

    How long should Minecraft server patch notes be?

    Aim for one screen on mobile: a headline, a three-sentence summary, then short bullets by category. Link to a full changelog for the numbers. Ten tight lines get read; two thousand words get scrolled past.

    Where should I post patch notes for a Minecraft server?

    Post in Discord announcements first, then on a permanent changelog page, then in the launcher or MOTD. Discord is where the conversation happens; the website is where the record lives and where new players find you.

    Should I use version numbers in patch notes?

    Yes. A simple major.minor.patch scheme such as 1.8.2, following the idea behind semantic versioning, tells players how big a change is and makes every note linkable and searchable.

    How do I announce a nerf without losing players?

    Lead with the change, give the before and after numbers, and explain the problem it solves, such as lag or inflation. Players accept decisions they understand. Silent nerfs are what drive people away.

    Start With Your Next Release

    You do not need a new tool or a bigger staff team to fix this. Take the note you posted last week, add a version and a date, move the player-facing change to the top, and rewrite every internal line as an outcome. Then pin it, cross-post it, and watch the questions in the following three days. For the growth side of the same coin, read [writing a high-converting server description] and treat your changelog as the proof that the description is true.

  • Why Your Redstone Farm Works on Java but Fails on Bedrock

    Why Your Redstone Farm Works on Java but Fails on Bedrock

    Nothing is more discouraging than moving a farm you built on Java into a Bedrock world and watching it sit there. No pistons fire, the clock stutters, and the hoppers stay empty. The usual conclusion is that the farm is broken or the server is bugged. It is neither. Java and Bedrock implement redstone as two separate languages that happen to share the same textures.

    This guide is written for server owners running crossplay, admins migrating worlds, and builders who want one design that works everywhere. It comes from rebuilding the same farms on both editions, timing them with a stopwatch, and comparing notes with the Minecraft Wiki redstone documentation and Mojang’s Bedrock bug tracker. The goal is simple: help you diagnose a failing farm in minutes and port it without guessing.

    Two Editions, Two Redstone Languages

    Both editions run redstone on a 0.1-second tick, and both use the same components. Beyond that, the rules diverge in ways that decide whether your build lives or dies.

    • Quasi-connectivity: Java pistons, dispensers, and droppers can be powered through the block above them. Bedrock has no such rule.
    • Update order: Java processes block updates in a consistent, depth-based order. Bedrock’s order is different, so the same circuit can resolve in a different sequence.
    • Observers and pistons: pulse length, push order, and how adjacent blocks are moved differ between editions.
    • Redstone torches: burn-out thresholds and relight behavior are not identical.
    • Random ticks and spawning: crop growth and mob spawn caps follow different numbers and different rules.
    • Chunk loading: Java ticket-based loading and Bedrock’s simulation distance behave differently at the edges of a farm.

    That last point surprises most admins. Java’s simulation-distance defaults to 10 chunks, while Bedrock simulates roughly 4 chunks around each player. A farm designed to run at the far edge of a Java view distance may simply be asleep on Bedrock, and no amount of redstone work will fix that.

    Quasi-Connectivity and Update Order

    Quasi-connectivity, usually shortened to QC, is the single biggest source of failed ports. On Java, a piston checks not only the block behind it but also the space one block above that position. Power a block above a piston, and the piston extends. Remove that power, and it retracts.

    Most Java farm doors, flush piston floors, and item elevators quietly depend on this. A piston is triggered by a torch or repeater that was never wired to the piston itself, and it works for years. Port the same build to Bedrock and the piston never moves, because Bedrock only powers a piston from the block directly behind it.

    Replacing a QC trigger

    • Run a direct redstone line into the block the piston faces away from, or into the piston itself.
    • Replace the QC torch with a repeater feeding the piston’s base block.
    • Use an observer watching the block that used to power the piston through QC.
    • Move the trigger one block down and re-test, since the up-one rule is what differs.

    Update order is the second trap. A clock built from two observers and a repeater is “tick-perfect”: it depends on components updating in an exact sequence inside a single tick. Those designs are the most fragile things you can move between editions. On Bedrock the same clock can stall, double-fire, or lock a repeater that was never meant to be locked. If a farm’s timing matters more than its layout, plan to rebuild the clock rather than port it.

    The Farms That Break Most Often

    Some farms survive a port untouched. Others fail almost every time. Here is the pattern we see most often, with the mechanic behind each failure.

    Farm typeJava behaviorBedrock behaviorWhat breaks
    Iron farmVillage gossip plus POI rules; golems spawn near the village centerDifferent villager and bed thresholds; separate spawn platform rulesGolems spawn outside the kill chamber or not at all
    Hostile mob farmPer-player mob cap; despawn beyond 128 blocksGlobal cap; despawn around 44 blocksRates collapse or the farm stops when one player leaves
    Crop farmThree random ticks per chunk section per tick by defaultDifferent random tick defaults and growth modelGrowth is slower or bonemeal behaves differently
    Tree farmSapling and block-update rules allow automated plantingStricter checks on player-placed saplings and updatesTrees fail to grow or the detector misses the log
    Raid farmBad omen and raid waves tied to village mechanicsDifferent raid triggering and wave behaviorWaves stop early or spawn in the wrong place
    Portal farmPortal block spawning and entity transfer rulesSeparate portal and entity handlingNothing spawns, or entities arrive at the wrong portal

    Two adjustments fix most mob farms before you touch a single piston: raise the build so it sits inside Bedrock’s simulation distance from where players actually stand, and re-measure the cap. A farm rated at 1,200 items per hour on Java often lands far lower on Bedrock even after it starts working, because the spawn budget is shared across the whole world rather than granted per player.

    A Porting Checklist That Works

    Do not port into your live world. Copy the region files into a creative test world on the target edition, then work through this list in order. Expect two or three iterations before rates match.

    1. Test in creative on the target edition. Same coordinates, same orientation, no plugins.
    2. Find every QC-dependent block. Look for pistons powered by a block above them, then trace and replace each trigger with a direct line.
    3. Re-time every clock. Swap observer chains for repeater pairs, then confirm the period with a hopper timer.
    4. Check spawn caps and simulation distance. Stand where a player would stand and confirm the farm is inside the simulated area.
    5. Measure for ten minutes. Count collected items, not theoretical rates. Ignore the first minute while the system fills.
    6. Verify chunk loading. Walk away, return, and confirm the farm recovers without manual intervention.
    7. Document the working version. Screenshot the wiring, note the coordinates and edition version, and keep it with the schematic.

    That documentation step is the one admins skip and later regret. When the next update lands, the difference between a five-minute fix and a rebuild is a note saying which clock you replaced.

    Crossplay Does Not Merge Mechanics

    This is where most “it works for Bedrock players” claims fall apart. Geyser translates the network protocol. It does not translate redstone, mob AI, spawn caps, or growth rules. A Bedrock client connected to a Paper server is playing Java mechanics with a Bedrock skin on top.

    So when a Bedrock player joins your Java server and a farm misbehaves, the cause is almost never the client. It is either a plugin intervening or a design that already failed on Java. Conversely, if you run a Bedrock server with Geyser in the other direction, Java players get Bedrock mechanics and every Java tutorial they follow will mislead them.

    Say this plainly in your server documentation. Players search for tutorials by title and assume the edition is irrelevant, then spend hours rebuilding a farm that could never have worked on your world. If you run crossplay, read [A Guide to GeyserMC: Bridging the Gap Between Java and Bedrock] and [Geyser and Floodgate One-IP Setup] before you promise players a shared experience. Background on the wider split is in [Java vs. Bedrock Servers: Key Differences Explained].

    Rebuild, Port, or Run Two Servers

    Once you know a farm needs real work, you have three options. Each has a cost that shows up later, not on day one.

    • Pros of porting the Java design: you keep a layout you already understand, and the schematic stays useful for both editions once fixed.
    • Cons of porting: QC and timing fixes can take several iterations, and some builds never reach Java rates.
    • Pros of a Bedrock-native design: rates and reliability are proven on the platform you actually run, and future updates break less.
    • Cons of Bedrock-native: you abandon your library and must learn a second set of tutorials.
    • Pros of two servers: each community gets correct mechanics and correct tutorials.
    • Cons of two servers: double the cost, double the moderation, and no shared world.

    For most communities the answer is Bedrock-native for the big farms and ported designs for small utility circuits. Reserve two servers for networks that already have the staff to run them.

    Common Mistakes That Cost Hours

    These are the errors we see repeatedly in support threads, and each one is avoidable.

    • Testing in the live world. A half-ported farm floods a base or kills villagers. Always copy to a test world first.
    • Blaming the server. Check the edition’s mechanics before you open a ticket or roll back a plugin.
    • Copying a tutorial without checking its edition tag. Most farm videos assume Java unless stated otherwise.
    • Ignoring simulation distance. A perfect circuit outside the simulated area does nothing at all.
    • Measuring for sixty seconds. Short samples include startup lag and produce numbers you cannot trust.
    • Fixing one piston at a time. Map every QC dependency first, or you will chase failures in a circle.

    Expert tip: keep a “known good” schematic folder per edition. When a design fails after an update, you can restore the last working copy and compare wiring side by side instead of rebuilding from memory.

    Frequently Asked Questions

    Does quasi-connectivity exist on Bedrock?

    No. Quasi-connectivity is a Java-only behavior that lets pistons, dispensers, and droppers be powered through the block above them. On Bedrock you must power the component directly or use an observer.

    Can I import a Java redstone build into Bedrock?

    Yes, with edits. Structures and schematics transfer, but any circuit that relies on quasi-connectivity, exact update order, or tick-perfect clocks needs to be rebuilt. Plan on two or three test iterations.

    Does Geyser make Java redstone work for Bedrock players?

    No. Geyser translates the network protocol, not game mechanics. A Bedrock client on a Java server plays Java redstone, spawning, and growth rules, so the farm behaves like the server edition.

    Why is my mob farm slower on Bedrock?

    Bedrock uses a world-wide mob cap instead of a per-player cap, despawns mobs closer to players, and simulates fewer chunks by default. Move the farm inside the simulated area and re-measure rates before changing the design.

    Port With a Checklist, Not With Hope

    Java and Bedrock are not two versions of the same redstone system, and treating them that way wastes hours. Learn the three rules that matter, quasi-connectivity, update order, and per-edition spawning, and most failures become obvious in a minute. Test in creative, replace every QC trigger, re-time every clock, and measure before you publish rates.

    If you are running crossplay, tell players which edition’s mechanics your world uses, and point them at guides that match. Start with our [Java Plugins That Work on Bedrock Through GeyserMC], then check the wiki’s tick reference whenever a new update lands.

  • Minecraft Tick Sync and Redstone Performance: What Actually Costs MSPT

    Minecraft Tick Sync and Redstone Performance: What Actually Costs MSPT

    Redstone gets blamed for lag more often than any other mechanic in Minecraft, and the blame usually lands in the wrong place. This guide exists to help server owners and technical players stop guessing. It comes from a set of controlled experiments we ran on Paper 26.2 with an empty sky deck, no plugins, no players, and every source of random work switched off, so redstone was the only variable left.

    The short version: the cost is not the number of redstone components you place. It is the number of block state changes and scheduled ticks that land on the main thread inside the same 50 millisecond window. We measured 5,000 observer clocks adding 5.3 ms per tick and 5,000 chained repeaters adding essentially nothing, and that gap explains most redstone lag arguments you see on forums.

    The Tick Budget in Plain English

    Minecraft runs at 20 ticks per second, which gives every tick a 50 ms budget of wall clock time. If the server finishes its work in 4.3 ms, it idles for the rest. If it needs 9.6 ms, it still hits 20 TPS because there is headroom. Once the average crosses 50 ms, ticks start being skipped and TPS falls below 20. MSPT (milliseconds per tick) is the number to watch, because TPS hides problems until they are severe. Our MSPT and tick rate performance guide covers the arithmetic in detail.

    What “tick sync” actually means

    Tick sync is shorthand for a simple fact: everything that mutates world state runs in a fixed order on one thread. Scheduled block ticks, neighbor updates, entity ticks, block entity ticks, and chunk ticking are all serialized on the main server thread, once per tick. Async chunk generation on Paper, Netty handling packets, and plugin async tasks move work off that thread, but none of them move redstone work off it. A circuit that fires every tick has to finish inside the tick.

    That is why adding cores rarely helps a redstone-heavy base. The Paper configuration reference has dozens of knobs, and not one of them parallelizes block updates.

    How Redstone Becomes MSPT

    Two things cost time, and they are not the same thing. Scheduled ticks are queued with a delay: a repeater or observer that fires waits a set number of ticks before its next action, and the queue is drained every tick. Neighbor updates happen immediately, in the same tick, when a block changes state. Every update makes the game check surrounding blocks, and those checks can schedule more ticks and emit more updates. Breadth matters more than the size of the build.

    Why the same circuit behaves differently in two places

    Update order is the reason. The engine walks block positions in a fixed sequence, and circuits that depend on which neighbor updates first will behave one way at spawn and another 30,000 blocks out. Chunk boundaries, the direction a wire runs, and even the order two pistons are placed can flip a race. That is not a bug to report; it is a property of the redstone update mechanics you are building against. Design circuits that tolerate reordering instead of ones that need a specific order.

    Cost per component is not equal either. Observers and redstone dust are update generators: dust recomputes power and notifies neighbors, observers schedule a pulse and emit updates. Repeaters are cheap when idle because their scheduled tick is far in the future. Pistons are the most expensive single block, since a push changes many block states and can spawn moving-block entities.

    The Test That Surprised Us

    We built a flat deck in the sky with nothing on it, disabled mob spawning, random ticks, and the daylight cycle, then recorded MSPT until the numbers stopped drifting. Then we added one circuit type, warmed up again, and sampled for two minutes. Every run used identical gamerules and a fresh world so chunk state could not leak between tests.

    /gamerule randomTickSpeed 0
    /gamerule doMobSpawning false
    /gamerule doDaylightCycle false
    /difficulty peaceful
    
    # baseline sanity check
    /tick query
    
    # collect a real sample, not a single reading
    /spark profiler start --timeout 120
    /spark profiler stop
    
    # repeat with the circuit placed, then subtract the baseline
    1. Run the empty deck for 5 minutes so JIT and chunk loading settle.
    2. Sample 120 seconds twice and keep the median and the P99, not the average alone.
    3. Place exactly one circuit type and warm up again.
    4. Sample the same way, then subtract the empty-deck median.
    5. Change one variable per run, or the number means nothing.

    For reading the output, our beginner’s guide to spark reports walks through the flame graph, and the spark documentation covers sampling flags.

    What 5,000 Observers Actually Cost

    Hardware was a 16 vCPU host with -Xms2G -Xmx4G and G1GC. Observer pairs were self-clocking, each with a 2-tick feedback loop, so every pair changed state constantly. The repeater test was a delay line: 5,000 repeaters in rows of 250, delay 1, fed by a redstone block toggled every 20 ticks.

    ScenarioMedian MSPTDeltaWhat it means
    Empty deck4.3 msbaselineServer had lots of headroom
    1,000 observer pairs5.4 ms+1.1 msLinear so far; still comfortable
    5,000 observer pairs9.6 ms+5.3 msP99 hit 20.6 ms; TPS stayed 20
    5,000 chained repeaters4.2-4.5 ms~0 msOnly the wavefront changed state

    The repeater result is the most useful lesson in the whole experiment, not a failed test. Five thousand blocks were capable of ticking, but roughly 20 of them changed state on any given tick, because the pulse was still traveling down the line. A delay line is mostly idle. Independent clocks are not. Redstone cost tracks simultaneous state changes and scheduled updates per tick, and only loosely tracks how many components exist.

    Rules for Farms That Do Not Melt the Server

    You do not need to remove every circuit. You need to know which ones run when nobody is watching. Our measured costs suggest a few rules that hold up in practice:

    • Count simultaneous state changes per tick, not blocks placed.
    • Replace thousands of small clocks with one central clock and a distribution bus.
    • Slow a clock from 1 tick to 4 ticks where the farm still keeps up; the savings are large.
    • Avoid 0-tick and 1-tick novelty circuits on a production server. They are pure overhead.
    • Gate 24/7 builds behind a player-presence or chunk-loaded check so they sleep when idle.
    • Profile before deleting anything, and test at realistic chunk and entity load.

    Paper settings matter at the edges, not the core. Lower simulation distance trims entity and block ticking work, and entity activation ranges reduce idle mob costs, as covered in view distance vs simulation distance. None of those flags removes redstone work from a loaded chunk. Chunk loaders deserve separate scrutiny because they keep circuits awake, which is why chunk loader cost is worth reading before you place one.

    Quick checklist. Is the build running when nobody is nearby? Is the chunk force-loaded? How many state changes per tick does it produce? Does it need to run 24/7, or only while someone is using it? Can it be batched into one clock, or gated behind a switch?

    Pros and Cons: Tune the Build or Throw Hardware at It

    Both approaches are valid, and the right answer depends on whether your bottleneck is redstone or everything else.

    • Optimizing the farm: free, permanent, and survives a host migration. Downsides: it takes time, needs measurement, and players may resist changes to their builds.
    • Buying hardware: fast and zero player friction. Downsides: it masks the cause, recurring cost, and a single-thread bound workload gains little from more cores.
    • Best mix: fix the handful of circuits that burn 5 ms per tick, then buy headroom for world size and player count.

    Common Mistakes to Avoid

    • Counting blocks instead of updates. Our repeater line is the proof: 5,000 components, near-zero cost.
    • Benchmarking with players online. Player movement, inventory, and chunk loading swamp the signal.
    • Trusting one 5-second sample. Garbage collection and chunk loading produce spikes that vanish in a longer median.
    • Ignoring P99. Our 5,000-observer run averaged 9.6 ms but spiked to 20.6 ms, and that tail is what players feel.
    • Benchmarking an idle server. A build that costs 1 ms on an empty deck may cost 4 ms inside a busy base.
    • Copying a farm without measuring it. Someone else’s schematic on someone else’s hardware tells you nothing about your tick.

    Frequently Asked Questions

    What does tick sync mean in Minecraft?

    It means all world logic runs in order on the main server thread, once per tick. Scheduled block ticks, neighbor updates, entity ticks and chunk ticking are serialized, so a circuit that fires every tick must finish inside the 50 ms tick budget.

    Do observers cause more lag than repeaters?

    Usually yes. Observers emit block updates and schedule pulses constantly, while a repeater’s scheduled tick sits far in the future until the signal arrives. In our test, 5,000 chained repeaters added near-zero MSPT while 5,000 observer clocks added 5.3 ms.

    How many MSPT does redstone add to a server?

    It depends on state changes per tick, not build size. On Paper 26.2 we measured a 4.3 ms empty-deck baseline, 5.4 ms with 1,000 observer clocks, and 9.6 ms with 5,000. Your numbers will differ with chunk and entity load.

    Can Paper settings fix redstone lag?

    No. Simulation distance, entity activation range and similar options reduce entity and chunk work, but block updates and scheduled ticks still run on the main thread. Config changes buy room; the circuit itself has to be redesigned or gated.

    Measure One Circuit This Week

    Tick sync is not a bug you can patch around. It is the shape of the workload, and once you measure the shape you can design around it: fewer simultaneous state changes, one clock instead of thousands, and builds that sleep when nobody is nearby. Start with the noisiest farm on your server, copy it to a test deck, and get a baseline before you touch anything.

    If you want a second pair of eyes on the numbers, bring your spark profile and the tick loop reference to the table and compare what the graph says against what the build actually does.

  • Pterodactyl Hardening: A Security Checklist for Your Minecraft Panel

    Pterodactyl Hardening: A Security Checklist for Your Minecraft Panel

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

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

    The Panel Is the Front Door

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

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

    Priority table: what to fix first

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

    Authentication and Access Control

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

    Work through this list in the panel:

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

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

    Network and Host Hardening

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

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

    Verify it, do not assume it

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

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

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

    Docker, Wings, and Node Isolation

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

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

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

    Backups, Updates, and Incident Response

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

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

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

    If you think you are compromised

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

    Pros and Cons: Self-Hosted Panel vs Managed Panel

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

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

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

    Common Mistakes and Expert Tips

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

    Frequently Asked Questions

    Is Pterodactyl secure by default?

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

    Should the Pterodactyl panel be public?

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

    Does Docker socket access really equal root?

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

    How often should I update Pterodactyl and Wings?

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

    Start With the Front Door Tonight

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

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

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

    How to Build a Player Reporting and Appeal System That Works

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

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

    Why Report Systems Fail

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

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

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

    Intake and Evidence: One Door, Fixed Fields

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

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

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

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

    What Counts as Evidence

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

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

    Triage Without Favouritism

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

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

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

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

    The Investigation Loop

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

    Appeals, Transparency, and Outcome Stats

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

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

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

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

    Measure, Audit, Improve

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

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

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

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

    Pros and Cons of Public Versus Private Reporting

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

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

    Common Mistakes and How to Avoid Them

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

    Frequently Asked Questions

    How many moderators does a report system need?

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

    Should players be able to see who reported them?

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

    What is a good appeal overturn rate?

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

    How long should server staff keep report evidence?

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

    Build the Process Once, Then Defend It

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

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

  • Memory Leaks in Minecraft Plugins: Find Them Before They Crash You

    Memory Leaks in Minecraft Plugins: Find Them Before They Crash You

    A plugin memory leak does not announce itself. The server runs fine for a week, then restarts start taking longer, tick times creep upward, and one morning the console is full of java.lang.OutOfMemoryError: Java heap space. This guide exists to break that cycle: it shows how to prove a leak is real, capture evidence while the server is still sick, and name the object that is holding memory it should have released.

    It is written for server owners, administrators, and plugin developers who can read a log and run a command but have never opened a heap dump. The measurements come from our own lab: Paper 26.2 on OpenJDK 25.0.4.1, 16 vCPU, a 1 GB heap with -Xms1G -Xmx1G -XX:+UseG1GC, an empty world, and one purpose-built plugin that kept a 1 MiB byte[] in a static list every tick. That deliberately crude leak filled the heap and threw an OutOfMemoryError about 35 seconds after launch, which makes it a useful teaching case, not a realistic one.

    Is It a Leak or Just a Small Heap?

    Those two problems look identical from the console and have opposite fixes, so settle the question before you touch a flag. A leak means live objects survive garbage collection because something still references them. An undersized heap means the objects are genuinely needed and there is simply not enough room. The distinguishing signal is what the heap looks like after a full collection.

    Watch for this cluster of symptoms over days, not minutes:

    • Post-GC heap climbing. Record used memory right after a full GC at hour 1 and again at hour 6. A healthy server returns to roughly the same floor. A leaking one returns higher every time.
    • MSPT spikes that grow in length. Long pauses show up as tick time outliers before they show up as player complaints. Our MSPT and tick rate guide explains how to read those numbers.
    • OutOfMemoryError: Java heap space in logs/latest.log, often preceded by a burst of java.lang.OutOfMemoryError variants from unrelated threads.
    • Time to OOM shrinking after each restart. Eight days, then three, then six hours. This is the strongest leak signal there is, because it means the baseline itself is growing.

    Capture the Evidence Before You Restart

    # find the server PID (Linux)
    jps -l | grep -i paper
    
    # 1. current heap occupancy and collector state
    jcmd 12345 GC.heap_info
    
    # 2. class histogram, biggest consumers first
    jcmd 12345 GC.class_histogram | head -30
    
    # 3. full heap dump for offline analysis
    jcmd 12345 GC.heap_dump /srv/dumps/leak-$(date +%H%M).hprof

    Run GC.heap_info three times, ten minutes apart, and write down used and committed. Run GC.class_histogram at the same moments. The histogram is a snapshot of live objects by class, and a class whose byte total grows while everything else is flat is your prime suspect. On a live production server you can also take the dump through spark with /spark heap --live, which forces a collection first so the file contains only reachable objects and is much smaller.

    A dump taken after the OutOfMemoryError is usually worthless. By then the JVM has thrashed, half the threads have died inside exception handlers, and the heap you capture is a wreck rather than the state that caused the failure. Our lab server did exactly this: it never exited cleanly on its own and had to be killed after the OOM. Dump at 70 to 85 percent heap usage, while the server is still answering, and keep the file. Oracle’s JDK troubleshooting guide documents these diagnostics and the flags that make them automatic.

    Read the Heap Like an Engineer

    Open the .hprof in Eclipse Memory Analyzer, not in a text editor and not in a spreadsheet. MAT is free, handles multi-gigabyte dumps, and answers the one question that matters: which object is keeping all this memory alive? Let it build its index, then work in this order.

    • Leak suspects report. MAT’s heuristic groups the largest retained sets. It is right often enough to be the first click and wrong often enough that you should verify by hand.
    • Dominator tree. Sorted by retained size, this shows the objects whose removal would free the most memory. A single HashMap at the top with a huge retained size is the classic signature.
    • Path to GC Roots. Right-click the suspect, exclude weak and soft references, and read the chain back to a static field. This is what turns “something is big” into “this plugin’s static cache is big”.

    Keep shallow size and retained size separate in your head. Shallow size is the object itself, a few dozen bytes for a map entry. Retained size is everything that dies with it, which is where the gigabytes live. A 300 MB dominator with a 48-byte shallow size is not a contradiction; it is a container.

    The Leak Patterns That Cause Most OutOfMemoryErrors

    Plugin leaks are rarely exotic. They come from the same small set of lifecycles being handled incorrectly, and each pattern leaves a recognizable fingerprint in a dump.

    PatternWhat you see in the dumpFix
    Static Map or List used as a cacheOne HashMap or ArrayList dominating retained size, reachable from a static fieldBound it, add expiry, or use Caffeine
    Listener or task not unregistered in onDisablePlugin classloader alive after reload, listener list holding your instanceCancel tasks and unregister handlers on disable
    Per-player data never removed on quitPlayerData objects growing with unique player countRemove entries in PlayerQuitEvent
    Unbounded cache of chunks, blocks, or NMS handlesCraftWorld, LevelChunk, or BlockPos arrays retainedCap entries and drop references on world unload
    Repeating task capturing a player or plugin instanceRunnable holding a Player reference long after logoutUse UUIDs, or cancel the task on quit

    Two patterns deserve extra suspicion because they survive reloads. A plugin that forgets to cancel its repeating tasks in onDisable keeps its own classloader reachable, so /reload confirm leaks an entire copy of the plugin each time. The Paper plugin lifecycle docs and the Bukkit scheduler reference both spell out that registration and cancellation are paired obligations. If your reload workflow is part of the problem, auditing and trimming plugins is the cheaper first step.

    Fix, Verify, and Prevent Regressions

    Once MAT names the retainer, the fix is usually a few lines. Make the container bounded, remove entries on the lifecycle event that ends their usefulness, and close anything that holds a native resource.

    • Bound every cache. A Map keyed by player UUID with no eviction is a leak with a delay. Caffeine gives you maximumSize and expireAfterAccess in one line.
    • Remove on quit. Handle PlayerQuitEvent for every per-player structure you own, not just the obvious profile map.
    • Cancel in onDisable. Store task IDs from runTaskTimer and cancel them, then unregister listeners.
    • Prefer weak references for observer-style registrations where the holder should not keep the target alive.
    • Update the plugin. Many leaks ship fixed in later builds; check the issue tracker before writing a patch.

    Then prove it. Restart, run a soak test for 24 to 48 hours with realistic player churn, and capture GC.class_histogram at hour 1 and hour 24. The fixed server should return to the same post-GC floor at both points; the leaking one will not. Our lab run gave the reference shape: 419,206,328 bytes of byte[] at 24.8 seconds on a 1,048,576K heap, against 749,765K used after a collection moments earlier. A flat line where that staircase used to be is your proof.

    Pros and Cons: Restart-First vs Diagnose-First

    Both approaches have a place, and the right answer depends on whether players are online right now.

    • Restart-first, pro: it restores service in under a minute and keeps your community happy during a peak-hour failure.
    • Restart-first, con: it destroys the evidence, resets your baseline, and guarantees the same failure returns. Repeated restarts train players to expect instability.
    • Diagnose-first, pro: a dump plus two histograms usually names the culprit in under an hour, and the fix is permanent.
    • Diagnose-first, con: a dump pauses the server, dumps can reach several gigabytes, and reading MAT takes practice.

    A workable compromise: capture GC.heap_info, a histogram, and a dump in that order, then restart. You get the evidence and the uptime, and you analyze offline while the server is healthy again.

    Common Mistakes to Avoid

    • Raising -Xmx as a fix. It only delays the OOM, and it makes every full GC pause longer and every dump bigger. Raise heap when the post-GC floor is stable but too high; fix code when the floor climbs.
    • Dumping after the OOM. The heap is already corrupted by failed threads. Dump at 70 to 85 percent usage instead.
    • Reading the histogram as a verdict. It shows a class growing, not who retains it. Confirm with the dominator tree and Path to GC Roots.
    • Reloading plugins to test a fix. Reloads leak classloaders in ways that mimic real leaks and ruin your comparison. Restart cleanly.

    Frequently Asked Questions

    How do I know a Minecraft plugin is leaking memory?

    Check used heap right after a full GC at two points hours apart. If the post-GC floor keeps climbing while player count and worlds are stable, and time to OutOfMemoryError shrinks after each restart, something is retaining objects it should release. Confirm with a class histogram and a heap dump.

    Should I take a heap dump after an OutOfMemoryError?

    Usually no. By then threads are failing and the heap is a wreck, so the dump rarely shows the state that caused the failure. Take it while the server is still responding, at roughly 70 to 85 percent heap usage, and analyze it offline in Eclipse MAT.

    How much memory should a Minecraft server have?

    Enough that the live set after a full GC sits well below the maximum, typically under 60 percent of -Xmx with your normal player count. If that floor is stable, adding memory helps. If the floor climbs every hour, more memory only delays the crash.

    Do plugin reloads cause memory leaks?

    Frequently, yes. Reloading without cancelling tasks and unregistering listeners keeps the old classloader reachable, which leaks an entire copy of the plugin per reload. Restart the server to test a fix, and treat repeated reloads as a leak source in their own right.

    Measure the Floor, Then Fix the Code

    Memory leaks in Minecraft plugins are diagnosable. Prove the leak by watching the post-GC floor, capture a dump while the server still answers, and let the dominator tree tell you which collection is holding the growth. Then bound it, remove entries on quit, cancel tasks on disable, and soak the fix for two days.

    Start today with one command: run jcmd <pid> GC.class_histogram on your production server and save the output with a timestamp. That baseline is the thing you will wish you had the next time the console goes red. If you want to read tick times alongside it, our guide to spark reports covers the rest of the picture. The spark documentation has the heap command details you need to go further.

  • Minecraft Server Crash Triage: The First 15 Minutes

    Minecraft Server Crash Triage: The First 15 Minutes

    Your phone buzzes at 3:04 a.m. and the Discord webhook says the server is down with 40 players online. What you do in the next fifteen minutes decides whether players lose a night or lose a world. This runbook exists to help you spend those minutes on the right commands instead of on panic and a blind restart.

    It is written for owners and admins who can read a log but were never taught an order of operations. The timings come from our own crash lab: Paper 26.2, 16 vCPU, a 512 MB heap, an empty test world, and a systemd unit using Restart=on-failure with RestartSec=2. We ended the JVM three different ways and timed what systemd did about it. An empty world boots faster than your live one, so treat every number here as a floor, not a guarantee.

    Why Most Crashes Are Not Crashes

    A crash is a process that exits. systemd only restarts a process that exits. That single sentence explains almost every “it did not come back” page you will ever get, and it is the reason a triage runbook beats a monitoring dashboard at 3 a.m.

    In the lab, a hard kill (kill -9) behaved exactly as advertised. systemd restarted the process in 2.07 seconds, and the server logged “Done” again 7.12 seconds after the kill. That is the happy path, and it is why people trust restart policies.

    Out-of-memory was not the happy path. A purpose-built leak plugin drove the JVM to OutOfMemoryError 8.74 seconds after startup, and the server never auto-restarted within 120 seconds. The JVM stayed alive, thrashing in garbage collection, so systemd saw a running process rather than an exit. A frozen JVM was worse still: after a SIGSTOP, nothing restarted it within 95 seconds, and no watchdog thread-dump lines appeared, because a frozen JVM cannot run its own watchdog. External health checks are the only thing that catches that state.

    The lesson: uptime is not health. Before you touch anything, work out which of those states you are actually in.

    The First 15 Minutes, Minute by Minute

    0-2 minutes: declare, stop the loop, preserve evidence

    Declare the incident out loud in staff chat so two people are not debugging the same box. Then stop the restart loop with systemctl stop minecraft if the unit is cycling. A looping service rewrites latest.log on every boot and will erase the evidence you are about to collect.

    systemctl status minecraft --no-pager
    journalctl -u minecraft -n 200 --no-pager
    tail -n 100 logs/latest.log
    ps -o pid,rss,etime,cmd -C java

    Copy, do not move, the whole logs folder and crash-reports to a dated directory outside the server root. If a Java process is still alive, take a heap dump before you kill it: jcmd <pid> GC.heap_info for a fast summary, then jcmd <pid> GC.heap_dump /var/backups/heap.hprof. The dump is large, so confirm free space first with df -h.

    Classify the Failure

    Exit codes tell you who ended the process. 137 means 128 + 9, SIGKILL: either you or the kernel OOM killer ended it without warning. 143 means 128 + 15, SIGTERM: a polite stop, usually systemctl stop or a shutdown command. Both count as failures to systemd unless you configured otherwise, which is why a clean planned restart can look identical to a crash in the journal.

    Failure classSymptomAuto-recovered?First action
    Clean shutdownExit 143, “Stopping server” in logNo, by designConfirm it was planned, then start
    Hard exitExit 137 or 1, no shutdown linesYes, ~2 s in our testRead journal, check for OOM kill
    OOM inside JVMOutOfMemoryError, process still aliveNoHeap dump, then restart by hand
    Frozen JVMPort open, no ticks, no log linesNoThread dump, then hard restart
    World corruptionFails during chunk load, repeatsLoops foreverStop unit, restore last good world
    Plugin crash loopSame stack trace every bootLoops foreverStop unit, disable the plugin jar
    Disk fullOdd IO errors, missing Done lineNodf -h and df -i

    That is why a crash loop needs systemctl stop before you edit anything. While the unit keeps restarting, your edits race the boot sequence, half-written configs get read, and the log you need is truncated. Stop the service, fix the file, then start once and read the result. If you are unsure how much history you are losing, our guide to reading Minecraft server logs covers where Paper writes each message.

    Stabilise and Recover

    5-10 minutes: remove the cause, not the symptom

    With the unit stopped, disable the suspect plugin by renaming the jar (mv plugins/Suspect.jar plugins/Suspect.jar.disabled) so a later restart cannot load it. Then confirm the JVM was not killed by the kernel rather than Java itself:

    dmesg -T | grep -i oom
    df -h / /var
    df -i /
    ss -lntp | grep 25565

    Raising heap is the most misapplied fix on the internet. Set -Xms equal to -Xmx, leave room for the OS, the page cache, and any other JVM on the box, and remember that a heap larger than physical RAM converts a Java error into a kernel kill. A 512 MB heap was enough for an empty world and is nowhere near enough for 40 players with plugins, which is exactly why the lab numbers are floors.

    If the world itself is the problem, restore the last known-good world and config set from your automated backups and accept the rollback. A partially loaded region file will otherwise crash you again on the next boot, ten seconds after players rejoin.

    10-15 minutes: verify, then communicate

    Join with a test account. Check TPS and MSPT with /tps and /mspt, watch chunk loads as you fly, confirm permissions and economy commands still resolve, and only then reopen the whitelist or the proxy. Tell players what happened in one sentence, when it was fixed, and whether anything rolled back. Silence is what turns a 12-minute outage into a trust problem.

    Prevent the Next 3 A.M. Page

    Automation covers exits, not health. Configure systemd.service with Restart=on-failure, a short RestartSec, and StartLimitBurst so a broken jar cannot hammer the CPU forever. Then add an external check that queries the port and TPS from outside the JVM, because in our SIGSTOP test the frozen process produced no watchdog output at all. For tuning advice, read the PaperMC documentation rather than copying flags from a forum post.

    Alert on MSPT and player count, not just on process state. Pair that with scheduled restarts at a quiet hour, and write a postmortem every time.

    • Timeline: first alert, actions, recovery, in UTC.
    • Impact: minutes down, players affected, rollback depth.
    • Root cause: the specific plugin, file, or allocation.
    • Detection gap: why monitoring missed it or paged late.
    • Corrective actions: each with an owner and a date.

    Automated vs. manual recovery

    • Automated pros: fast, consistent, works while you sleep; 2.07 s beats any human response.
    • Automated cons: restarts on exit only, hides root causes, and can loop a corrupt world.
    • Manual pros: preserves evidence, catches OOM and frozen states, fixes the cause.
    • Manual cons: slow, depends on who is awake, easy to skip steps under pressure.

    Use both. Let systemd handle exits, and let a human handle anything a restart fails to fix twice.

    Common mistakes and how to avoid them

    • Restarting first. You overwrite the log that names the cause. Copy evidence at minute zero.
    • Editing configs during a crash loop. Stop the unit; racing boots produce half-read files.
    • Raising heap blindly. Bigger than RAM means the kernel kills you, not Java.
    • Trusting uptime. A frozen JVM reports “active (running)” while doing nothing.
    • Never testing restores. A backup you have not restored is a guess.
    • Ignoring inodes. df -i catches a full disk that df -h hides.

    Expert tip: keep a one-page card taped to your desk with the five commands above. Under pressure, nobody remembers flags, and a card beats a search engine.

    Frequently Asked Questions

    What does exit code 137 mean for a Minecraft server?

    The process was ended by SIGKILL, which is 128 + 9. Either someone ran kill -9 or the Linux OOM killer stepped in. Check dmesg -T | grep -i oom and the unit’s journal before restarting.

    Why did systemd not restart my server after an OutOfMemoryError?

    Because the JVM never exited. It stayed alive and thrashed while systemd kept seeing a running process. In our lab test it did not recover within 120 seconds. You must restart it by hand, and take a heap dump first if you want to find the leak.

    How do I stop a Minecraft server crash loop?

    Run systemctl stop minecraft so the unit cannot restart, then read journalctl -u minecraft -n 200 and logs/latest.log. Rename the suspect plugin jar or roll back the world, then start the service once and watch the full boot.

    How long should a Minecraft server take to restart after a crash?

    On our test box systemd relaunched the JVM 2.07 seconds after a hard kill, and the server logged Done again 7.12 seconds later. A production world with plugins and pregenerated chunks takes far longer, so plan for 30 to 90 seconds and alert on anything beyond that.

    Conclusion

    Fifteen minutes of ordered work beats three hours of guessing. Stop the loop, keep the evidence, classify the failure, remove the cause, then verify before you reopen. If a crash ever looks like a freeze, remember that no JVM can diagnose itself once it has stopped scheduling, which is why your monitoring has to live outside it. For official flag reference, keep the jcmd documentation and the kernel OOM tunables bookmarked. Then rehearse the runbook on a test box this week, while nobody is watching.

  • Backing Up Beyond the World: Configs, Plugin Data, and Databases

    Backing Up Beyond the World: Configs, Plugin Data, and Databases

    This guide exists to help you stop losing the parts of your Minecraft server that are not blocks. Most owners back up the world, feel safe, and then discover after a crash that every player rank is gone, the shop balances reset, and CoreProtect has no history to roll back. The world is the biggest file in the folder, not the whole server.

    It is written for owners, administrators, and the staff who inherit a server and a backup drive with one lonely world folder on it. The numbers below come from a lab run on Paper 26.2 with Ubuntu 26.04, a 16 vCPU host, and local NVMe. We measured what a full backup set actually contains, timed restic, and compared copying a live SQLite database against the supported backup methods. Then we restored a file and checked its hash.

    The World Is Not the Server

    Our test server’s backup set came to 260,767,199 bytes, about 249 MiB. Of that, the world was 247,428,400 bytes. Everything else, meaning every plugin configuration, the permission data, the economy database, the whitelist, the server properties, and the startup scripts, fit in roughly 13 MB. That is five percent of the set and about ninety-five percent of the pain when it goes missing.

    The two failure modes are different. Losing region files costs you builds and terrain, and players understand that, because the damage is visible. Losing plugin data costs you trust. Ranks disappear, claim ownership detaches from UUIDs, shop chests hold items nobody can prove they owned, and the punishment history you need for a ban appeal is simply absent. Restoring a world from Tuesday while leaving the economy at Friday’s state also duplicates every purchase made in between.

    There is a third problem: a world folder alone does not rebuild a server. You need the exact jar, the plugin list with versions, the flags in server.properties, and whatever cron entry ran the restart at 4 AM. That is why the inventory below treats configuration as data, not as something you will “just set up again.”

    A Complete Backup Inventory

    Work through this table once and add the paths you actually use to your job. The “live copy” column is the important one: it tells you whether a running server will hand you a consistent file.

    ItemTypical pathSafe to copy live?
    World folders and datapacksworld/, world_nether/, world_the_end/No, flush first
    Plugin jars and configsplugins/*.jar, plugins/*/config.ymlYes
    LuckPerms dataplugins/LuckPerms/ or MySQLOnly via database method
    CoreProtect, shops, economyplugins/CoreProtect/database.db, MySQLNo
    Access listswhitelist.json, ops.json, banned-*.jsonYes
    Server and Paper configserver.properties, bukkit.yml, config/paper-global.ymlYes, mostly
    Units, timers, scripts/etc/systemd/system/, /etc/cron.d/Yes
    TLS certs and branding/etc/letsencrypt/, MOTD assets, pack sourceYes, root only

    Flushing the world before you copy it

    Region files are written lazily, so a plain copy of a live world can catch a half-written chunk. Send save-off so the server stops writing, then save-all flush so pending writes land on disk, copy, and turn saving back on. On a Paper server that is three console commands, and the window is short enough that nobody notices. Never restore region files while the server is running: it has the old chunks mapped in memory and will happily overwrite your restored data with stale copies.

    save-off
    save-all flush
    # copy world folder, then:
    save-on

    Databases Need Their Own Method

    SQLite in WAL mode keeps recent commits in a separate -wal file until a checkpoint folds them into the main database. Copy the .db file alone and you get a perfectly valid database that is missing the newest rows. Our test made this concrete. A live cp of a 120,000-row database finished in 0.004 seconds and passed integrity_check, yet 1,762 committed rows were absent. Using SQLite’s online backup API took 0.040 seconds, also passed the check, and lost only the 1,150 rows committed after the copy began.

    The fix is one line. The SQLite backup API takes a consistent snapshot even while writers are active, and the CLI exposes it as .backup. VACUUM INTO works too and produces a compact copy, and Python’s sqlite3.Connection.backup() is the right tool if you already have a script. Each of these reads the WAL correctly, which cp does not.

    sqlite3 plugins/CoreProtect/database.db ".backup '/srv/backup/coreprotect.db'"
    sqlite3 plugins/CoreProtect/database.db "VACUUM INTO '/srv/backup/coreprotect-compact.db'"

    MySQL and MariaDB

    For LuckPerms, shop plugins, and anything else on a real database server, dump with --single-transaction so InnoDB gives you a consistent read without locking players out. Add --routines and --triggers or your stored logic vanishes, and keep binary logs if you want point-in-time recovery. The MariaDB dump documentation covers the flags; our own walkthrough of MariaDB for LuckPerms and CoreProtect covers the schema side.

    mysqldump --single-transaction --routines --triggers --databases luckperms coreprotect 
      > /srv/backup/mysql-$(date +%F).sql
    mysql < /srv/backup/mysql-2026-10-22.sql

    Build the Backup Job

    Use a content-addressed tool rather than a folder of tarballs. restic, Borg, and Kopia all split files into chunks, hash them, and store each chunk once, so a second “full” snapshot of a 249 MiB server costs only what actually changed. With compression on, our first restic backup took 1.178 seconds and produced a 153,851,624-byte repository. We then added one config file and 2,000 database rows. The next run took 0.825 seconds and grew the repository by about 421 KB.

    export RESTIC_REPOSITORY=/srv/backup/restic
    export RESTIC_PASSWORD_FILE=/etc/restic.pass
    restic init
    restic backup /srv/minecraft /etc/systemd/system /etc/letsencrypt 
      --exclude /srv/minecraft/logs --tag nightly
    restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --prune
    restic check --read-data-subset=5%

    Run the database dumps first and let the snapshot pick up the output, so the two are minutes apart at worst. Snapshotting a live SQLite file is no better than cp, which is why the dump step is not optional. The restic documentation explains the retention and check commands in full; our automated backup setup guide shows how to wire this to a systemd timer, and reducing backup size and time covers pruning logs and caches. Our timings came from warm cache on local NVMe, so budget more for a cold cache and an off-site upload.

    Follow the 3-2-1 rule: three copies, two media, one off-site. The 3-2-1 strategy explainer is a good sanity check. Encrypt the repository, because plugin databases contain IP addresses, private messages, and payment records.

    Test the Restore Before You Need It

    An untested backup is a hypothesis. In our drill, restoring a single file out of the restic snapshot took 0.745 seconds, and the SHA-256 of the restored file matched the original exactly. That is the whole point of the exercise: you learn the commands, the password location, and the path layout while nobody is shouting in Discord.

    restic restore latest --target /srv/restore-test --include /srv/minecraft/server.properties
    sha256sum /srv/restore-test/srv/minecraft/server.properties

    Restore into a temporary directory first, never over the live server. Verify checksums, then start a staging instance on a different port with its own directory so you can confirm the world loads, LuckPerms resolves ranks, and the shop plugin reads its tables. Only then do you stop the production server and swap. Our MySQL versus SQLite comparison helps you decide which plugins should even be on a file database.

    Quarterly drill checklist

    • Confirm the repository opens with the stored password file, not a password from memory.
    • Restore the newest snapshot into an empty directory and verify three checksums.
    • Boot a staging server on an alternate port and join it.
    • Check that ranks, claims, balances, and block logs survived.
    • Record how long the full drill took, and fix whatever surprised you.

    Pros and Cons of Each Approach

    File-level copies

    Simple, readable, and restorable by hand with no tooling. But live databases and region files are inconsistent, there is no deduplication, and a folder of nightly tarballs fills a disk fast.

    Database dumps

    Consistent and portable across hosts, and a dump can be edited before restore. The downside is restore time on large tables and the need to script each engine separately.

    Snapshots

    Fast, deduplicated, encrypted, and versioned, which is why a full-server snapshot every hour is realistic. The cost is a repository you must learn, and a snapshot of a live database is still only as good as the flush behind it.

    Common Mistakes and How to Avoid Them

    • Backing up only the world. Add plugin data, access lists, and config to the job the same day you read this.
    • Copying a live database. Use .backup, VACUUM INTO, or a dump. A file that passes integrity_check can still be missing rows.
    • Excluding plugin jars. Configs are meaningless without the exact plugin build. Record versions or keep the jars.
    • Keeping backups on the same disk. A failed NVMe takes the server and the backup together. Push off-site.
    • Never testing a restore. Schedule the drill and put it in the staff calendar.
    • No encryption. Player IPs and chat logs are personal data. Encrypt at rest and restrict the key.

    Frequently Asked Questions

    Does backing up the world folder back up my whole Minecraft server?

    No. The world is usually the largest part, but plugin configs, LuckPerms data, economy and protection databases, access lists, and server.properties all live outside it. In our test the world was 247 MB of a 260 MB backup set, and the missing 13 MB held every permission and balance.

    Is it safe to copy a live SQLite database with cp?

    No. In WAL mode recent commits sit in a separate -wal file, so a plain copy can be valid and still miss rows. In our test cp lost 1,762 committed rows while passing integrity_check. Use sqlite3 .backup, VACUUM INTO, or a python sqlite3 backup connection instead.

    How often should I back up a Minecraft server?

    Nightly at minimum, plus a manual snapshot before every plugin update, map reset, or version upgrade. With restic or Borg you can run hourly instead, because deduplication means an unchanged server adds almost nothing to the repository.

    Can I restore a backup while the server is running?

    No. Stop the server before restoring region files or databases. A running server holds chunks and open database handles in memory and will overwrite what you just restored. Restore into a temp directory, verify, then swap.

    Make the Full Set, Then Prove It Restores

    The world is one folder. Your server is the world plus permissions, economy, protection logs, configuration, and the scripts that keep it running, and all of that fits in a set small enough to snapshot hourly. Start this week: add the missing paths to your job, switch database copies to .backup and mysqldump, push the repository off-site, and run one restore drill into a temp directory.

    If you are rebuilding the whole backup pipeline, begin with automated Minecraft server backups on Linux, then add the database layer and schedule the quarterly drill. Your players will never notice a backup. They will absolutely notice a restore.

  • How to Set Up a Server Status Page and Uptime Monitoring That Works

    How to Set Up a Server Status Page and Uptime Monitoring That Works

    A status page is the cheapest trust-building tool a Minecraft server can own, and the easiest one to build wrong. Most owners wire a port check to a green dot, then discover during the first real outage that the dot stayed green while players timed out at login. This guide is for owners, admins, and staff who want a page that reports the truth.

    It is built on measurement. We ran a 90-second probe loop against a Paper 26.2 server on Ubuntu in our lab, a timed TCP connect to the game port and an RCON list call, logging every sample. We also compared the four realistic ways to publish a status page and read each project’s documentation.

    Port Open Is Not Healthy: Three Layers to Check

    A Minecraft server can accept a TCP connection on port 25565 while being completely unplayable. The kernel backlog and Netty’s accept threads keep working when the main game thread hangs on a world save, a plugin deadlock, or a garbage-collection spiral. Logins sit at “Joining world” and never proceed, yet a socket connect still finishes in under a millisecond. That gap is why port checks produce false green.

    • Layer 1, port reachable. A socket connect to 25565 finishes. This catches a dead JVM, a crashed container, a firewall edit, or a suspended VPS. Necessary, cheap, and proof of almost nothing.
    • Layer 2, tick loop responsive. The server answers a request in plausible time. This catches a hung main thread or a plugin blocking on I/O. A reply in four seconds is worse news than no reply: the server is alive and drowning.
    • Layer 3, world reacting. An RCON command returns real state, such as list with names and counts. This catches a frozen world and gives you a number to chart.

    Most public status pages stop at layer one, the layer players never experience. If you can afford one check beyond the port, make it an RCON round trip; the protocol is documented at wiki.vg/RCON and runs on a port you already control.

    What 90 Probes Measured on a Paper Server

    The lab server was a Paper 26.2 build on Ubuntu with no plugins, sampled once per second for 90 seconds from localhost. Each sample did a timed TCP connect to 25565 and a timed RCON list, recording success and latency.

    CheckSamplesSuccess rateMedianp95
    TCP connect to 2556590100%0.41 ms0.65 ms
    RCON list round trip90100%3.08 ms4.81 ms

    The absolute numbers matter less than their scale. A full port-plus-command probe costs about 3.5 milliseconds and no measurable CPU, so at 60-second intervals it is 1,440 probes and roughly five seconds of work per day. “We cannot afford to monitor often” is the wrong conversation.

    The two decisions that shape the design are where the probe runs and what a failure means. A probe on the same box cannot see the failures players complain about most: a dead ISP uplink, a route flap, or a saturated NIC. Those look healthy from inside the machine, while an off-site probe travels the same path your players do. Run a fast local probe for ticks and a slower outside one for the network.

    A Drop-In Probe You Can Run Anywhere

    This script uses only the standard library and writes one JSON object per line, so the log stays append-only and readable by a static page. Set RCON_PASS and point HOST at your public address when running it elsewhere.

    import json, os, socket, struct, time, datetime
    
    HOST, PORT, RCON_PORT = "127.0.0.1", 25565, 25575
    PASS = os.environ["RCON_PASS"]
    
    def pkt(i, kind, body):
        payload = struct.pack("<ii", i, kind) + body.encode() + b"x00x00"
        return struct.pack("<i", len(payload)) + payload
    
    def tcp_probe():
        t = time.perf_counter()
        try:
            socket.create_connection((HOST, PORT), timeout=2).close()
            return True, round((time.perf_counter() - t) * 1000, 2)
        except OSError:
            return False, None
    
    def rcon(cmd="list"):
        t = time.perf_counter()
        try:
            with socket.create_connection((HOST, RCON_PORT), timeout=2) as s:
                s.sendall(pkt(1, 3, PASS)); s.recv(4096)
                s.sendall(pkt(2, 2, cmd))
                reply = s.recv(4096)[12:-2].decode(errors="replace")
                return True, round((time.perf_counter() - t) * 1000, 2), reply
        except OSError:
            return False, None, ""
    
    tcp_ok, tcp_ms = tcp_probe()
    rcon_ok, rcon_ms, body = rcon()
    row = {"ts": datetime.datetime.now(datetime.timezone.utc).isoformat(timespec="seconds"),
           "tcp_ok": tcp_ok, "tcp_ms": tcp_ms, "rcon_ok": rcon_ok,
           "rcon_ms": rcon_ms, "list": body, "version": "26.2"}
    open("/var/log/mc-probe.jsonl", "a").write(json.dumps(row) + "n")

    Schedule it with cron as * * * * * /usr/bin/python3 /opt/mc-probe/probe.py, with a systemd timer every two minutes, or in a container via docker run --network host. A $4 VPS is enough for the off-site copy, and it can host the public page too. Because the output is one JSON line per sample, a single HTML template can read the last 1,440 lines and draw a 24-hour uptime bar without a database. Keep that log somewhere durable, the habit behind How to Set Up Automated Minecraft Server Backups on Linux.

    Hand-Rolled, Uptime Kuma, or Commercial: The Tradeoffs

    OptionCostSetup effortMinecraft-awareAlerting
    Hand-rolled probe plus static pageVPS only, ~$4/mo2 to 4 hoursFull, you write the checksWhatever you script
    Uptime Kuma, self-hostedVPS or spare box20 to 30 minutesTCP, HTTP keyword, push monitors90+ channels, including Discord
    Pterodactyl panel statusIncluded with panelNoneContainer and process state onlyPanel and email
    Commercial monitorsFree tier, paid from ~$7/mo5 minutesPort and keyword checksEmail, SMS, webhooks

    Uptime Kuma is the pragmatic default for most communities. It is a single Node application, it stores history in SQLite, it ships a clean public status page, and its monitor types cover TCP ports, HTTP responses, and keywords, which is enough for layers one and two if you expose a small health endpoint. Its weakness is shared with every self-hosted monitor: if it runs on the machine it watches, it dies with it.

    Commercial monitors are the least effort and the least insight. They will check that port 25565 answers from three continents, which spots regional routing problems, but they cannot tell you the tick loop is stalled. Pterodactyl’s built-in status is a container view: it says the process is running, which you already knew.

    Alerts That Respect Sleep, and What List Pings Really Show

    An alert that fires on the first missed packet trains staff to ignore alerts. Stagger the thresholds. Three consecutive failures at a 60-second interval is three minutes of real downtime, worth a Discord ping. Ten minutes deserves a louder message. Twenty minutes with no recovery should reach a phone, and a recovery notice closes the loop.

    • Down: layer one failing, three consecutive samples, webhook plus a status-page banner.
    • Cannot tick: port open but RCON failing or slower than two seconds, warning at five minutes.
    • Degraded: RCON answering but MSPT above 50 for ten minutes, no page, just a channel note.
    • Recovered: always send it, even at night.

    Suppress alerts during planned work. A maintenance window that mutes the monitor for the restart and the two minutes after it removes most false pages, and How to Set Up Scheduled Restarts Without Angering Players shows how to make restarts predictable. Keep the window short.

    A ping is not a status page

    Server list ping and a status page answer different questions. The ping is the handshake your client performs when it refreshes the multiplayer list, documented at wiki.vg/Query: it returns the MOTD, version, protocol number, and player count. It says nothing about whether a login will succeed, and it is rate-limited and cached by clients and list sites. Because it is answered before the world is involved, it stays green while the tick loop is frozen. Players see a nice MOTD, then get stuck at “Joining world”.

    Pros and Cons of Running Your Own Status Page

    • Pro: it tells the truth. You choose the checks, so you report tick health and player counts instead of a decorative port light.
    • Pro: it costs almost nothing. About 3.5 ms per sample, one small VPS, one cron entry.
    • Pro: it is a support tool. When a player says the server is down, you link the page.
    • Con: you own the outages. The monitor, the page, and the DNS break eventually, usually during the incident they were meant to catch.
    • Con: it needs tuning. Thresholds and routing are ongoing work.

    Common Mistakes That Make Monitoring Useless

    • Monitoring from the same box you host on. The monitor shares the failure domain, so a dead network takes both down and you learn nothing.
    • Probing so often you look like an attack. Dozens of parallel connections can trip host anti-DDoS rules. Stay at 30 to 60 seconds.
    • Ignoring the restart pattern. Uptime alone hides a server that restarts every four hours and recovers in 40 seconds.
    • Treating 99.9 percent as a promise. It is a measurement of the past. The same figure still allows 43 minutes of downtime a month.
    • Forgetting the human path. An alert that only lands in an unread channel is a log entry, not an alert.

    Two habits separate a page people trust from one they ignore. Log MSPT alongside uptime so you chart health, not existence, and write the server and probe versions into every row. When a Paper update introduces a stutter, that column dates the change.

    Frequently Asked Questions

    What is the difference between a server list ping and a status page?

    A ping is the handshake your client sends to refresh the multiplayer list. It returns the MOTD, version, and player count, and it is rate-limited and cached. A status page probes the port and the game loop repeatedly, so it reports downtime a ping cannot see.

    Can Uptime Kuma monitor a Minecraft server?

    Yes. Add a TCP port monitor for 25565 to catch a dead server, and a push monitor fed by your own probe to catch a stalled tick loop. Host it on a different machine than the server it watches.

    How often should I probe a Minecraft server?

    Every 30 to 60 seconds suits almost everyone. Our probe cost about 3.5 ms, so the limit is not load but your host’s anti-DDoS rules and alert noise.

    Why did the TCP check pass while players still report lag?

    The socket is accepted by the kernel and by Netty’s accept threads, which keep working while the main game thread is blocked. A port check only proves something is listening. Probe an RCON command and time it to prove the tick loop answers.

    Start With One Probe From Outside the Box

    You do not need a monitoring stack to begin. Add the RCON check to a script, run it from a cheap VPS, log one JSON line per minute, and point a single page at the log. That takes an afternoon and beats every green dot that only tests a port. Once the page is trustworthy, layer alerts on top, then add MSPT and restart counts so the graph shows health. If you run a How to Set Up a "Fallback" Server: Prevent Downtime, monitor both addresses.