HomeJavaModsOritechDefender
OritechDefender
ModsJava

OritechDefender

by vicuna · on Modrinth

OritechDefender is a server-side NeoForge performance mod that reduces redundant encoding and delivery generated by Oritech machine synchronization.

⬇ Download on Modrinth

OritechDefender

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.

Features

Real-World Results

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.

Safety Boundaries

OritechDefender manages only Oritech TICK and SPARSE_TICK broadcasts:

OritechDefender does not require a world-data migration. Stop the server and remove its JAR to return to an uninstalled state.

Requirements

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.

Installation

  1. Stop the server.
  2. Back up the world, mods, and config directories.
  3. Place the OritechDefender JAR in the server's mods directory.
  4. Make sure the supported Oritech 1.2.8 JAR is installed as oritech-neoforge-1.21.1-1.2.8.jar.
  5. Start the server.
  6. Run /oritechdefender status.
  7. Confirm that Oritech is reported as SUPPORTED, then keep OBSERVE enabled through a representative peak-load period.
  8. After confirming that the statistics and server state are healthy, run /oritechdefender mode enforce.

Clients do not need to install OritechDefender.

Commands

/oritechdefender status

Displays 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>

This command requires permission level 2. The selected mode is persisted in the configuration file.

/oritechdefender reload

Reloads the configuration. Requires permission level 2.

/oritechdefender resetstats

Clears accumulated statistics. Requires permission level 2.

Reading the Statistics

sent may be higher than encoded because one encoded payload can be delivered to multiple players who are tracking the same chunk.

Recommended Rollout

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

Configuration

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.

Reporting Issues

When reporting a problem, include:

Remove server addresses, player information, authentication tokens, RCON passwords, and other sensitive data before posting.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more