World File Cleaner

Quick rating

World File Cleaner

No reviews yet

clean world files when server stop

Performance & Optimization
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.4.2
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

World File Cleaner – Automatic Save File Cleanup

World File Cleaner is a simple Fabric mod that automatically deletes unnecessary files from your world save folder when a server shuts down or a single-player world is exited, helping keep your save folder tidy and reducing disk usage.

✨ Features

  • Automatically performs cleanup when a dedicated server shuts down or a single-player world is unloaded.
  • Configurable deletion of files/folders (e.g., logs, caches, session locks, statistics, etc.).
  • Safe by default: only non-critical files are deleted (region files or player data will not be removed unless you configure it yourself).
  • Supports both server and client (single-player mode).

📦 Compatibility

  • Minecraft Version: 1.21.11
  • Mod Loader: Fabric
  • Using ModMenu

⚙️ Configuration File

After the first run, a configuration file will be generated at the following path:

config/autoclean.json

Example configuration:

{
	"worldFileEnabled": true,
	"worldFileDeletePatterns": [
        "session.lock"
	],
	"serverFileEnabled": true,
	"serverFileDeletePatterns": [
		".cache",
		"logs"
	],
	"whiteList": [
		"latest.log"
	]
}
  • worldFileEnabled:Switch for world files.
  • worldFileDeletePatterns: Files within the world save folder to be deleted. Use * as a wildcard.
  • serverFileEnabled:Switch for game files.
  • serverFileDeletePatterns: Files within the game root folder to be deleted. Use * as a wildcard.
  • whiteList:Deletion whitelist, takes higher priority.
> 💡 **Warning**: Deleting region files (*.mca) or playerdata will result in lost game progress. These files are excluded in the default configuration.

## ⚠️ Important Notes
- **Always back up** your world save before using the automatic deletion feature for the first time.
- The mod **does not** delete the save folder itself – it only removes the specified files within it.
- On dedicated servers, the mod only needs to run on the server side; clients do not need to install it for the server-side cleanup to work properly.

## 📄 License
This mod is open-sourced under the MIT License.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works