Refixes
Refixes fixes bugs and improves performance in the Hytale server. It patches the server at startup and adds runtime services such as chunk loaders and a world watchdog. Every patch is a switch in Refixes.json.
Requires Hyinit 0.5.0 or newer. Hyinit loads the patches at server startup. Without it, Refixes runs only its runtime features.
Measured effect
Measured on test servers with one switch on versus off. Results depend on players, entities, terrain and mods.
| Patch | Default | Scenario | Result |
|---|---|---|---|
TickWait |
on | 250 NPCs | World thread CPU -41% |
TickWait |
on | Player flight | World thread CPU -25% to -34% |
CodecMetadata |
on | Chunk saving | Allocation -4% to -7% |
SoundHeaderValidation |
on | Boot on Hytale 0.7.7 | Boot 4.2% faster, disk reads -31% |
WorldMapExistingTerrain |
off | Player flight | Generated map columns halved, GC pause time -53% |
ChunkStreaming |
off | Player flight, radius 24 | World thread CPU -61% |
All results and their trade-offs are listed under Measured effect.
Bug fixes
On by default. Examples:
- Saving: pending chunk and entity saves finish before a world closes, and every changed chunk column is saved in turn instead of some never.
- World transfers: player and entity moves between worlds are guarded. On Hytale 0.7 a moved entity stays in the old world's save until the new world has saved it.
- Shutdown: a stopping world rejects new tasks instead of stranding them, and a stop no longer fails when the network never started.
- RocksDB worlds: removing a chunk column deletes all its data, so old terrain no longer comes back.
- Plugins: a plugin JAR is read again after a failed load, and a plugin whose configuration fails to load can be loaded again.
- Backports on Hytale 0.7.7: four fixes from Hytale 0.8, including bedrock in newly generated biomes that lacked it and a normal world stop on shutdown.
Recovery
Off by default. Turn on when a server keeps crashing on the same broken data: skip failed tick work, reset corrupt sections, keep NPCs whose roles fail to load, and tolerate broken collision or motion data.
Runtime features
- Chunk loaders:
/chunkloaderkeeps chosen chunks loaded and ticking. On by default. - Watchdog: reports world stalls and crashes with thread dumps, and can restart crashed worlds. Reports on by default, restarts off.
- AI tick throttler: ticks distant NPCs less often. Off by default.
- Idle world pause: pauses empty worlds. Off by default.
- Shared instances: lets players share instance worlds. Off by default.
Compatibility
- One JAR for Hytale 0.7.7 and Hytale 0.8.0-pre.6.
- On a newer Hytale version of the same line, only patches whose Hytale code is unchanged apply. See Compatibility.
Installation
- Set up Hyinit.
- Place
refixes-X.X.X.jarin theearlypluginsfolder.
Before upgrading, read the release notes on the releases page.
Documentation
Configuration, the full patch reference and troubleshooting are on the wiki.
Links
Source code · Issues · Releases · Discord


