Description
SafeRegen
SafeRegen is a server administration tool designed to selectively regenerate terrain. It allows administrators to reset the world environment around specific protected areas, enabling the integration of new game updates—such as new ores, structures, or generation changes—without deleting player builds or requiring a full map wipe.
Features
- Update Integration: Regenerate existing chunks to spawn newly added game content immediately.
- Advanced Protection: Whitelist specific chunks or entire areas using radius parameters to prevent modification.
- Flexible Targeting: Regenerate terrain at your current location or target remote coordinates without moving.
- Stability First: Uses a sequential thread-bridge architecture to ensure server stability during heavy regeneration tasks.
- Persistent Storage: Protected coordinates are saved in
protected_chunks.json.
Usage Warning
It is strongly recommended to create a full backup of the world directory before running any regeneration commands to prevent accidental data loss.
Commands
/saferegen mark [x z] [-radius=<value>]
Adds chunks to the protection whitelist.
- Default: Protects the chunk at the player's current position.
- Coordinates: Optionally specify chunk coordinates
x zto protect a remote area. - Radius: Add
-radius=<value>to protect a square area around the target center.
/saferegen regen [x z] [-radius=<value>]
Initiates regeneration of the wilderness. Protected chunks are automatically skipped.
- Default: Regenerates the chunk at the player's current position.
- Coordinates: Optionally specify chunk coordinates
x zto regenerate a remote area. - Radius: Add
-radius=<value>to regenerate a square area around the target center.
/saferegen clear
Removes all entries from the protection whitelist.
Examples
/saferegen mark: Protects the chunk you are standing in./saferegen mark -radius=5: Protects a 5-chunk radius around you./saferegen regen 10 20: Regenerates the specific chunk at coordinates 10, 20./saferegen regen -radius=10: Regenerates a large area around you, skipping any protected builds.
Technical Note
This mod operates using Hytale's native 32x32 block chunk coordinate system to ensure alignment with server-side generation commands.


