Regionerator: The Ultimate Minecraft Plugin for Automatic Region Cleanup
What Is Regionerator?
Running a Minecraft server is a constant balancing act between offering a vast, explorable world and keeping disk space under control. Over time, players generate countless chunks, many of which are briefly visited and then abandoned, silently bloating your world folder. Regionerator is a powerful server plugin designed to solve exactly this problem. It automatically identifies and deletes region files that haven't been visited for a configurable amount of time, reclaiming precious storage without manual pruning. Unlike simple chunk unloaders, Regionerator directly modifies and removes the .mca region files from your disk, making it a definitive cleanup tool for any survival, creative, or minigame server.
How Regionerator Works
The plugin operates on a straightforward principle: every chunk a player enters is marked as "visited." As long as a player physically steps into a chunk (excluding Spectator mode, since they aren't truly present), that chunk and its entire region file get a fresh timestamp. Regionerator periodically scans all region files and compares their last-visited time against a threshold you define in the configuration. If a region hasn't been touched in, say, 30 days, the plugin deletes it entirely, restoring the terrain to its pristine, ungenerated state. The next time someone ventures there, the world generates fresh, just like new.
This automated process ensures your world remains lean without constant admin intervention. The plugin respects protected areas from supported land-claiming plugins, so your spawn city, player bases, and admin structures stay safe. If you're looking to simplify the process of adding such plugins to your server, the foxygame.net launcher provides a modern, flexible way to download and install them right from the menu, making server management feel less like a chore and more like a creative endeavor.
Key Features That Make Regionerator Stand Out
- Automatic Region Deletion: Set a time limit and forget it. Unvisited regions vanish, freeing up gigabytes of disk space.
- Protection Plugin Support: Integrates with popular plugins like WorldGuard, GriefPrevention, and Lands to exclude claimed areas from cleanup.
- Spectator Mode Awareness: Players in Spectator mode don't trigger chunk visits, preventing accidental resets of remote areas while admins observe.
- Chunk Inspection Commands: Admins can check a chunk's last-visited timestamp, protection status, and deletion countdown without altering the data.
- Permanent Chunk Protection: Mark specific chunks as permanently visited so they never get deleted, even if no player returns.
- Safe Shutdown Handling: The plugin gracefully pauses during server shutdowns to avoid file corruption.
Commands and Permissions for Administrators
Regionerator ships with a set of intuitive commands that give you full control over the cleanup process. You can query a chunk's status, manually flag regions for protection, or trigger an immediate scan. Here are some of the most useful ones:
/rg chunkinfo– Displays the visited time, protection status, and deletion countdown for the chunk you're standing in./rg protect– Permanently protects the current chunk from ever being deleted./rg unprotect– Removes permanent protection from a chunk, allowing it to be cleaned up if unvisited./rg scan– Manually starts a region scan and deletion cycle based on your configuration./rg reload– Reloads the plugin configuration without restarting the server.
These commands make it easy to fine-tune which parts of your world stay and which go. For instance, you can fly over a new player settlement and quickly protect the entire area with a few clicks, ensuring their hard work never vanishes.
Important Considerations Before Using Regionerator
While Regionerator is incredibly effective, it comes with a critical disclaimer: the plugin directly modifies and deletes region files. This action cannot be undone. There is no recycle bin, no rollback button. Once a region is gone, it's gone forever unless you have a backup. This makes regular, automated backups an absolute necessity. You are solely responsible for any damage to your world or server caused by using this plugin. Test it on a copy of your world first, and always keep multiple backup snapshots.
Another point to remember is that the deletion is based on file timestamps, not in-game activity like block placements. If a player simply walks through a region and never builds anything, that region is considered visited and will be spared until the configured timeout expires. Conversely, a region with elaborate redstone contraptions but zero player foot traffic for months could be deleted if not explicitly protected. Plan your protection strategy accordingly.
Setting Up Regionerator for Optimal Performance
Configuration is done through a single YAML file where you define the deletion threshold in days, the scan interval, worlds to process, and which protection plugins to hook into. A typical setup for a survival server might look like this:
- deletion-threshold: 30 (days since last visit)
- scan-interval: 86400 (seconds, equivalent to once per day)
- worlds: ["world", "world_nether", "world_the_end"]
- protection-plugins: ["WorldGuard", "GriefPrevention"]
Adjust these values based on your player activity and storage constraints. A busy server with limited disk space might use a 14-day threshold, while a small community server could stretch it to 60 days. The plugin's flexibility ensures it fits nearly any server profile.
Why Regionerator Is a Must-Have for Long-Running Servers
Servers that run for years accumulate an immense amount of dead weight. Old exploration trips, temporary outposts, and abandoned mineshafts clutter the world folder, making backups slower and wasting SSD space. Regionerator automates the housekeeping, letting you focus on building a community instead of micromanaging files. The source code is openly available on GitHub under a Creative Commons Attribution-ShareAlike 4.0 International License, which means you can audit it, modify it, and contribute back to the project. The plugin has been battle-tested on servers of all sizes, from small friend groups to large public networks.
By combining automatic cleanup with robust protection hooks, Regionerator strikes the perfect balance between world freshness and player security. Just remember: with great power comes great responsibility. Keep those backups current, test your configuration, and enjoy a server that runs lean and fast for years to come.