Back to mods
ModSorter project artwork

CurseForge · Minecraft mod

ModSorter

Sorts mods in different folders

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which ModSorter release should I use?

Updated today
Latest stable file ModSorter-0.1.1.jar
Game version 1.21, 1.21.8, 1.21.5
Loader NeoForge

ModSorter-0.1.1.jar targets 1.21, 1.21.8, 1.21.5 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is ModSorter required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does ModSorter-0.1.1.jar need?

ModSorter-0.1.1.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add ModSorter without breaking your instance.

Built for ModSorter-0.1.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use ModSorter-0.1.1.jar. It targets 1.21, 1.21.8, 1.21.5 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside ModSorter-0.1.1.jar. It opens that exact file at the source.

About this project

What does ModSorter add?

A lightweight mod that automatically organizes Minecraft mods folder

ModSorter scans your mods, identifies them by their modId, and sorts them into subfolders according to a configurable database

Requires FFModSubfolders to discover mods stored in subfolders


Usage

Config

Overrides and replacement

  • useOverrides [true/false] - Whether to load custom entries from override.json
  • alwaysOverride [true/false] - Replaces an already installed mod if another JAR with the same modId is found
  • resort [true/false] - Resorts mods if destination changed

Folder management

  • deleteEmptyFolders [true/false] - Removes empty directories after sorting
  • deleteClientMods [true/false] - Deletes /client/ folder
  • deleteServerMods [true/false] - Deletes /server/ folder
  • deleteClientAndServerMods [true/false] - Deletes /client-server/ folder

Defragmentation

  • defragmentation [true/false] - Moves all JAR files from subfolders back into the root /mods/ folder
  • rewriteOnConflict [true/false] - Determines what happens when a file with the same name already exists in /mods/: replaces it if enabled, or adds a numbered suffix if disabled

Database

  • autoUpdateDatabase [true/false] - Automatically checks for and downloads database updates from GitHub
  • database [String] - URL of the database JSON file. Uses the default GitHub database if not specified
  • timeout [Integer] - HTTP request timeout in seconds

Misc

  • exitOnComplete [true/false] - Stops Minecraft when sorting completed

Sorting

ModSorter uses main.json to determine where each mod should be placed Example:

{
  "formatVersion" : 1,
  "databaseVersion" : 1,
  "mods" : {
    "prickle" : {
      "path" : "lib"
    },
    "reforged" : {
      "path" : "server/rpg"
    },
    "sliceanddice" : {
      "path" : "server/tech/create"
    }
  }
}

Each entry maps a mod's modId to a destination path relative to the mods directory

Custom Overrides

The default database is periodically updated. If you want to add your own rules or override existing entries, use override.json

It follows the same structure as main.json, but is stored separately and is never overwritten by automatic database updates

If you want to contribute new entries to the shared database, please open an issue on GitHub


Features

  1. Already sorted mods are moved if their configured destination changes
  2. When a new JAR with the same modId is detected, the old version can be replaced (alwaysOverride)
  3. You can host your own database and provide its URL in the configuration.
  4. Add or override entries without modifying the default database

Restrictions and Compatibility

Not every mod can be sorted into subfolders

Mods that rely on early-loading mechanisms may need to remain directly inside the root /mods/ directory. For example, some mods perform hardware detection or initialize transformation services before regular mod discovery

Launcher compatibility: Some launchers may not display mods stored in subfolders in their mod lists. ModSorter is particularly useful for dedicated servers and users who do not rely on their launcher's mod list to manage installed mods

Keep in mind that sorting does not guarantee compatibility between mods or prevent conflicts caused by other mods


Warning!

Backup your /mods/ folder if using folder-deleting (config)

Project description from CurseForge.

Pick your setup

ModSorter by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

12 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

ModSorter versions and loaders

4 of 4 releases match

Looking for an older file? The official CurseForge project page is in Resources.