Back to mods
CustomSaveDirs project artwork

Modrinth · Minecraft mod

CustomSaveDirs

A client-side mod allows you use custom directories for reading and saving singleplayer worlds.

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

Quick answer

Which CustomSaveDirs release matches 1.7.6?

Updated 1 year ago
Best match for your filters 0.0.3
Game version 1.7, 1.7.1, 1.7.2
Loader legacy-fabric

CustomSaveDirs 0.0.3 targets 1.7, 1.7.1, 1.7.2 with legacy-fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

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

It must be installed on the client. Do not install it on the dedicated server.

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

This file is marked client-only.

What else does CustomSaveDirs 0.0.3 need?

0.0.3 on 1.7.6. Every mod below is checked against that same setup.

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 CustomSaveDirs without breaking your instance.

Built for CustomSaveDirs 0.0.3 on 1.7.6. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.0.3. It targets 1.7, 1.7.1, 1.7.2 with legacy-fabric; 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

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.0.3. It opens that exact file at the source.

About this project

What does CustomSaveDirs add?

Mod Synopsis

This is a lightweight mod run on client-side, which allows you use custom directories for singleplayer worlds' reading and saving instead of the hard-coded ${GAME_DIR}/saves by the game. No game relaunching required when setting the directories.

How to Use This Mod

After loading this mod, click “Options...” button in Main Menu, and then “Configure Save Directories...”(If you did not see the button, it shows that the button is pushed away by buttons added by other mods, try to increase the window's height).
When ${GAME_DIR}/config/customsavedirs.json does not exist, the text in the highest button in the screen should be “Current: Default”. Then you can click “Edit customsavedirs.json” button, a text editor will be opened after clicking. Edit for the directories you want to let this mod read. Absolute and relative paths are supported. For example, if you want this mod to read “/tmp” “saves” “../../saves” 3 directories, you need to write the following content to ${GAME_DIR}/config/customsavedirs.json:

[
  "/tmp",
  "saves",
  "../../saves"
]

After saving customsavedirs.json, click “Reload customsavedirs.json” in the game. Click “Current: 0: /tmp” button to switch to next valid directory declared in customsavedirs.json(“valid directory” here stands for a string that is capable to successfully create a Path object by java.nio.file.FileSystems.getDefault().getPath(xxx) or java.nio.file.Path.of(xxx) in Java), switch to “1: saves” in this example. And note that first valid directory's index is 0 rather than 1 in customsavedirs.json.
If you want the game load the worlds under default save directory again, just delete customsavedirs.json or change its content to [], then click “Reload customsavedirs.json”.
The save directory will be changed to index 0 or the game default after game relaunching.
When changing directory with singleplayer world opening, the directory will be applied after the world is saved and quitted. For example, open “New World” when using “0: /tmp”, and change it to “2: ../../saves” with the world opening, and then save and quit, the saving directory of that world will still be /tmp, “New World” under ../../saves will not be affected.

Notice

Fabric API run on Fabric or Legacy Fabric API run on Legacy Fabric is strongly recommended in order to apply language files in this mod's JAR. Without them, you can still launch the game, but texts related to this mod will be shown as fallback English texts or translation keys.
Some mods storing there config files on folder names only instead of worlds' full paths will behave abnormally with this mod loading.

Project description from Modrinth.

Pick your setup

CustomSaveDirs by Minecraft version and loader

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

92 available setups

Showing the newest 12 of 84 game versions. Older files are in the list below.

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

Recent files

CustomSaveDirs versions and loaders

3 of 90 releases match
Clear filters

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