MekDefender icon

Mod - CurseForge

MekDefender

A NeoForge server protection mod for Minecraft 1.21.1 + Mekanism. One mekdefender project and one JAR provide:owner-aware chunk loading for Anchor Upgrade machines and the Dimensional Stabilizer;bounded latest-state synchronization for four proven-safe

MekDefender project image

Source-provided project description. FreeMinecraftMods keeps creator credit and adds separate compatibility and decision guidance below.

Project overview

MekDefender A NeoForge server protection mod for Minecraft 1.21.1 + Mekanism . One mekdefender project and one JAR provide: owner-aware chunk loading for Anchor Upgrade machines and the Dimensional Stabilizer; bounded latest-state synchronization for four proven-safe Mekanism S2C payloads. Chunk-loading policy When an owner logs out, Mekanism releases their loader tickets immediately or after the configured grace period. Login recovery is throttled. An ownerless loader is disabled by default; an ownerless/offline Dimensional Stabilizer also skips its energy drain. MekDefender does not own a ticket controller or a Mekanism save format. Ticket changes still use Mekanism's code. The only isolated saved cache is world/data/mekdefender_loaders.dat (owner to loader positions). Removing this mod removes its mixins and Mekanism resumes its normal behavior; the orphaned cache is ignored. Mek synchronization safety boundary Only these replaceable absolute-state channels may be coalesced: mekanism:update_tile mekanism:network_scale mekanism:fluid_network mekanism:chemical_network QIO, transporter, GUI/container/inventory, configuration, security, equipment, player data, C2S, vanilla, unknown payloads, and mixed bundles pass through unchanged. Payload classification, Mekanism Mixin call contracts, injection points, tracking revalidation, live-object resolution and fail-open behavior are fixed safety rules, not administrator configuration. Byte budgets learn from the actual S2C packet sizes produced by Minecraft's packet encoder before compression, framing and encryption. Each channel keeps an EWMA; initialEstimatedBytes is used only until real samples arrive. If a learned size exceeds a configured burst, budget charging is capped at that burst so the latest state cannot be deferred forever. Diagnostics retain the raw EWMA. Byte telemetry is optional and never participates in the decision to cancel an original Mekanism send. The default sync mode is OBSERVE , which records statistics without cancelling Mekanism sends. Use /mekdefender mode enforce for an in-memory runtime override after checking compatibility and statistics. Already accepted final states drain safely when the mode or a channel is disabled. Unified configuration The only configuration file is generated for the game/server instance at: config/mekdefender-server.toml It uses schemaVersion = 2 and contains: chunkLoading.* : owner policy, grace period, login reload budget and debug logging; sync.channels.<channel>.* : independent enable, interval, deadline and byte estimate; sync.budget.* : per-player/global payload and estimated-byte token budgets; sync.scheduler.* : queue, bundle, source-work, epoch, interval and overdue limits; sync.pressure.* : soft/critical pressure and recovery thresholds; sync.circuitBreaker.* : bounded internal-failure window and safe fallback mode; sync.metrics.* : hotspot/timing windows, actual encoded-byte EWMA and real-client A/B defaults; logging.* and permissions.* : cooldown/transition logging and read/admin OP levels. Loading and reloading are atomic. Unknown sections or keys, duplicate declarations, invalid types, out-of-range values, a wrong schema and contradictory cross-field values reject the whole reload with a line-numbered error; the previous live snapshot remains active. Game commands /mekdefender status [compact|verbose] /mekdefender compatibility /mekdefender top [seconds] [limit] /mekdefender channel <tile|scale|fluid|chemical> /mekdefender player <name> /mekdefender config <show|validate> /mekdefender ab <status|start <seconds>|cancel> /mekdefender mode <off|observe|enforce> /mekdefender reload /mekdefender resetstats Status and channel output split source requests/replacements/materialization from recipient enqueue/replacement/send units. The displayed source and recipient reduction percentages are therefore ratios of like units. configuredMode and the in-memory runtimeMode are shown separately. The read and mutation OP levels are independently configurable. /mekdefender ab start <seconds> requires the configured number of real, non-FakePlayer clients (two by default). It warms and measures equal OBSERVE and ENFORCE windows, then restores the previous runtime mode. The report compares actual pre-compression encoded S2C bytes and packets, average/p95 MSPT, derived TPS, and average/p95 player latency. Traffic during warm-up is excluded; a client count below the configured minimum or a phase with no safe Mek traffic marks the comparison invalid. For a 30-minute window per phase (about one hour plus warm-ups), keep both clients on the same representative route and run: /mekdefender ab start 1800 If the configured number of internal scheduler/hook failures occurs inside the circuit-breaker window while enforcing, the optimizer switches to the configured safe mode and stops accepting new work. Already accepted final states still drain. An administrator must explicitly run a mode command to clear the breaker and re-enable enforcement. During sustained socket pressure, fluid and chemical absolute-state updates retain priority while tile and scale updates remain bounded

FreeMinecraftMods decision guide

This mod is most relevant to players looking for Performance on NeoForge. Treat those labels as discovery hints, then verify the exact file and dependency list on the official project page.

The source record was updated on Jul 27, 2026, which is a recent freshness signal. A recent date does not guarantee support for every loader or Minecraft version, so still inspect the current file list.

What to verify before choosing a file

  • Confirm that the file is published by the credited creator on the linked official source.
  • Match the Minecraft version exactly instead of relying only on a broad category label.
  • Read dependencies, incompatibilities, and changelog notes before updating an existing instance.
  • Match the loader or server platform and its required version. Forge and NeoForge are not interchangeable.
  • Back up worlds and configuration files before testing the project in a long-term save or public server.

Compatibility at a glance

Minecraft versions in this snapshot: 1.21.1

Loaders and platforms: NeoForge

Performance

Before you install

Match the exact Minecraft version and loader, install every required dependency, and test in a separate profile before opening an important world. Keep a backup before changing a working mod list.

Source, licensing, and corrections

FreeMinecraftMods does not mirror the project files. Use the official source for downloads, release notes, dependencies, support, and licensing details. Project names, images, and creator-written descriptions remain the property of their respective owners.

How listings are reviewed | Report incorrect project information | Rights-holder and DMCA information