WorldPrune
v1.0.0Prunes inactive Minecraft region files — safely, with quarantine and rollback.
WorldPrune identifies region files that aren't covered by GriefPrevention claims and safely moves them into a quarantine folder. Nothing is permanently deleted until you explicitly say so — every apply is fully reversible via a built-in undo command.
Why use it?
Over time, Minecraft worlds accumulate thousands of region files generated by explorers who never claimed anything. WorldPrune lets you reclaim that disk space without risking player builds. A quarantine-first design means you can always roll back.
How it works
/prune scanreads your GriefPrevention, Towny, Residence, and WorldGuard claims (whichever are present) and marks unclaimed regions as candidates.- Heuristic filtering checks candidate regions for player-placed entities (item frames, armor stands, paintings, etc.) and keeps them even if unclaimed.
/prune applymoves candidate files to<world>/quarantine/<apply-id>/. Anapply-manifest.jsonrecords every move./prune undoreads the manifest and puts files back exactly where they were./prune droppermanently deletes a quarantine entry once you're satisfied.
All destructive operations (apply, drop) require a /prune confirm within 30 seconds, so there are no accidental deletions.
Requirements
- Paper or Spigot 1.21 or newer
- Java 21 or newer
- At least one claim plugin (all optional — WorldPrune works standalone, but claim awareness prevents false positives):
- GriefPrevention — API queried directly; falls back to claim file parsing
- Towny Advanced — API queried directly; falls back to townblock
.datafile parsing - Residence — API queried directly; falls back to
Global.ymlparsing - WorldGuard — API queried directly (requires WorldEdit); falls back to per-world
regions.ymlparsing
Commands
| Command | What it does |
|---|---|
/prune scan [world|all] | Analyse one or all worlds and generate a prune plan |
/prune apply [world] | Preview and stage an apply |
/prune confirm | Execute the staged operation |
/prune undo [world] | Restore files from quarantine |
/prune drop <world> <apply-id> | Permanently delete a quarantine entry (staged) |
/prune plans [world] | List stored plans |
/prune map [world] | Get a filled map showing the keep/prune grid |
/prune status | Show current configuration |
Permissions
prune.admin (default: op) covers read-only commands. Destructive actions require prune.admin.apply (apply/undo) or prune.admin.purge (drop/quarantine).
Source
MIT licensed. Source available on GitHub.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
WorldEdit
A Minecraft Map Editor... that runs in-game! With selections, schematics, copy and paste, brushes, and scripting. Use it in creative, or use it temporarily in survival.
11.6MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta