OritechDefender is a server-side NeoForge performance mod that reduces redundant encoding and delivery generated by Oritech machine synchronization.
When the same Oritech block entity produces multiple absolute-state updates in a short period, OritechDefender keeps the latest state and delivers it safely according to real chunk tracking, connection writability, and bounded send budgets.
The default mode is OBSERVE. It records real statistics without changing packet delivery. Administrators can review the results before switching to ENFORCE.
TICK and SPARSE_TICK absolute-state updates;OFF at any time to restore Oritech's original delivery path.The following cumulative statistics were recorded during a long-running session on a real server:
| Type | requested | encoded | Encoding reduction |
|---|---|---|---|
| TICK | 4,768,552 | 1,076,220 | About 77.43% |
| SPARSE_TICK | 123,237 | 120,114 | About 2.53% |
| Total | 4,891,789 | 1,196,334 | About 75.54% |
Encoding reduction is calculated as 1 - encoded / requested. Results depend on
machine count, player count, chunk tracking, and configuration. Encoding
reduction is not the same as network-interface traffic reduction.
OritechDefender manages only Oritech TICK and SPARSE_TICK broadcasts:
INITIAL, GUI_OPEN, GUI_TICK, and CUSTOM always pass through;sendUpdate(type, player) synchronization always passes through;SavedData;OritechDefender does not require a world-data migration. Stop the server and remove its JAR to return to an uninstalled state.
OritechDefender verifies the full Oritech 1.2.8 JAR fingerprint and the required
Mixin injection points. A different, modified, or unsupported Oritech build is
reported as PASS_THROUGH; optimization is not forced.
mods, and config directories.mods directory.oritech-neoforge-1.21.1-1.2.8.jar./oritechdefender status.SUPPORTED, then keep OBSERVE enabled
through a representative peak-load period./oritechdefender mode enforce.Clients do not need to install OritechDefender.
/oritechdefender statusDisplays the current mode, compatibility gate, hook activity, request/encoding/ coalescing/delivery counters, scheduler timing, backlog, backpressure, invalidation, and fail-open statistics.
/oritechdefender top [1..60]Displays the busiest dimensions, chunks, and Oritech synchronization types in the selected time window.
/oritechdefender player <name>Displays the selected player's pending count, oldest-entry age, previous-tick delivery volume, connection writability, and pressure state.
/oritechdefender mode <off|observe|enforce>OFF: Uses Oritech's original delivery behavior.OBSERVE: Records statistics without changing delivery.ENFORCE: Enables safe coalescing, independent queues, and backpressure.This command requires permission level 2. The selected mode is persisted in the configuration file.
/oritechdefender reloadReloads the configuration. Requires permission level 2.
/oritechdefender resetstatsClears accumulated statistics. Requires permission level 2.
requested: Synchronization requests initiated by Oritech;encoded: Oritech payloads that were actually encoded;coalesced: Requests replaced by a newer state and therefore not sent
separately;sent: Recipient-payloads actually delivered to players;deferred: Scheduling attempts postponed by a budget or backpressure;pending: States currently waiting in a player queue;oldest: Age of the oldest pending entry;failOpen: Times a failed safety check preserved the original path;queueFull: Times a bounded queue reached its configured limit.sent may be higher than encoded because one encoded payload can be delivered
to multiple players who are tracking the same chunk.
OBSERVE → ENFORCE → OFF if needed
Keep OBSERVE enabled during a representative peak-load period and save the
output of status and top 60 before enabling ENFORCE. If a problem appears,
immediately run:
/oritechdefender mode off
The first server start creates:
config/oritechdefender-server.toml
Default minimum synchronization intervals:
The defaults prioritize state freshness and safe rollback. Increasing these intervals may reduce more encoding, but it also increases visible client-side state latency. Aggressive changes are not recommended without controlled comparison testing.
When reporting a problem, include:
/oritechdefender status;OFF stops the problem.Remove server addresses, player information, authentication tokens, RCON passwords, and other sensitive data before posting.