promotional bannermobile promotional banner

HyOptimizer

The Ultimate Utility for Console Organization & Memory Efficiency

File Details

HyOptimizer2.0.0.jar

  • R
  • Jan 20, 2026
  • 17.22 KB
  • 145
  • Early Access

File Name

HyOptimizer.jar

Supported Versions

  • Early Access

HyOptimizer v2.0.0 – The Ultimate Performance 

Release Date: January 20, 2026 

๐Ÿ“– Patch Notes: What's New?

โœ… Thread-Safe Auto-Cleaner

We have completely re-engineered the item cleanup system. By utilizing Hytale’s official world.execute() API, we’ve eliminated threading violations and crashes.
  • Safe Execution: All entity removals now happen on the World thread, preventing the IllegalStateException.
  • Player Alerts: The plugin now broadcasts a 30-second and 5-second warning before clearing the ground.
  • Smart Whitelist: Protect specific items (like Diamonds or Quest items) from being deleted.

โœ… Advanced Log Filtering

Silence the "noise" in your console with our upgraded filtering engine.
  • 20+ Default Filters: We’ve pre-loaded the config with patterns that block common Hytale engine spam (missing assets, animation errors, etc.).
  • Regex Power: Full support for Java Regular Expressions to target specific lines.
  • Instant Updates: Add new filters and use /ho reload to apply them without a restart.

โœ… Intelligent Memory Management

  • Threshold Triggers: Set a percentage (e.g., 90%) that automatically triggers a cleanup when reached.
  • Critical Mode: A new aggressive cleanup strategy for servers running on limited hardware.
  • Live Feedback: See exactly how much RAM was recovered in Megabytes (MB) after every cycle.

โš™๏ธ Configuration Reference (config.json)

Customize every aspect of the plugin. Below is the recommended Balanced Setup.
JSON
<button class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-mdc-tooltip-trigger copy-button ng-tns-c742533998-62 mat-unthemed ng-star-inserted" aria-label="Copy code"></button>
{
  "autoGcIntervalSeconds": 300,        // How often to clean RAM
  "enableAutoGc": true,               // Toggle Memory Manager
  "useCriticalGcStrategy": false,     // Extra aggressive (use for low RAM)
  "memoryThreshold": 0.9,             // Trigger GC at 90% usage
  "enableItemCleaner": true,          // Toggle ground cleanup
  "itemCleanerIntervalSeconds": 60,   // How often to clear items
  "protectedItems": [                 // Items that NEVER get deleted
    "hytale:diamond",
    "hytale:emerald"
  ],
  "blockedPatterns": [                // Hide these messages from console
    "missing or invalid manifest.json",
    "Duplicate export name",
    "Took too long to .* process chunk",
    "Removing NPC .* due to overpopulation"
  ]
}

๐ŸŽฎ Commands & Aliases

You can use /optimize or the shorter /ho shortcut.
Command Shortcut Action
/optimize gc /ho gc Force an immediate RAM cleanup.
/optimize clean /ho clean Wipe dropped items (except protected ones).
/optimize reload /ho reload Refresh configuration instantly.
<button class="mdc-button mat-mdc-button-base export-sheets-button-container mat-mdc-button mat-unthemed ng-star-inserted">Export to Sheets</button><button class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-mdc-tooltip-trigger copy-button mat-unthemed ng-star-inserted" aria-label="Copy table" data-test-id="copy-table-button"></button>

๐Ÿ”ง Technical Overview

  • Compatibility: Built for Hytale Early Access (Jan 2026) and Java 25.
  • Performance Impact: Extremely lightweight. Log filtering takes < 0.1ms and the plugin overhead is only about 2MB.
  • Stability: Zero threading violations guaranteed by utilizing the official engine scheduling API.

๐Ÿ› Troubleshooting Quick-Fix

  • Lag Spikes? Increase the autoGcIntervalSeconds to 600 or higher.
  • Items not cleaning? Ensure at least one player has joined the server so the plugin can "capture" the world thread.
  • Still seeing spam? Double-check your Regex syntax in blockedPatterns. Use .* as a wildcard to match parts of a sentence.

HyOptimizer: Giving you back your console and your RAM.