Saving other mods' settings

Have Settings Saver save, load and sync the settings of other mods that support it, turn a mod on or off per profile, and exclude single settings.

Last updated

Since 1.0.0

On this page

Settings Saver can carry more than Minecraft's own options. A mod that supports Settings Saver tells it which of its settings files to look after, and those files are then saved, loaded and synced through your profiles like options.txt. By the end of this guide you can see which of your mods take part, turn a mod on or off for a profile, and exclude single settings.

Before you start#

See which mods take part#

Start the game and search the game log for Registered. Each supporting mod has one line:

[Settings Saver] Registered My Mod (mymod 2.1.0): [config/mymod.properties], not saved unless turned on in a profile
Part of the line Meaning
My Mod The mod's name.
mymod The mod's id. You need it in the steps below.
2.1.0 The mod's version.
[config/mymod.properties] The files Settings Saver looks after, inside the instance's game folder. A path ending in / is a whole folder.
not saved unless turned on in a profile The mod is off by default.
saved by default The mod is on unless you turn it off.

No line for a mod means that mod has no Settings Saver support.

Turn a mod on or off for a profile#

  1. Close every game that uses the profile.
  2. Open the store folder, then profiles, then the profile's folder (for example default), and open profile.properties in a text editor.
  3. Add a line with the mod's id:
enabled.mymod=true

Use false to turn off a mod that is saved by default. Remove the line to go back to the mod's own default.

  1. Save the file and start the game.

Turning a mod on doesn't copy anything by itself. It works like switching profiles: press Save settings to profile to store this instance's settings for the mod, or Load settings from profile to apply what the profile already has. Turning a mod off leaves what the profile has saved; it is just no longer used.

The choice belongs to the profile, so every instance that uses the profile follows it.

What happens once a mod is on#

The mod's files behave like options.txt:

How finely this works depends on the mod. Most mods are saved setting by setting, so two instances that changed different settings both keep their change. Some mods' files can only be saved as a whole: then the newest save of the file wins.

Some settings take effect only after the mod reads its file again, which for many mods means the next launch.

Exclude single settings of a mod#

Mods usually exclude settings that belong to one computer or instance, such as window positions, on their own. To change the list:

  1. Open Options, Settings Saver..., then Excluded settings....
  2. Set Settings file to the mod's id. The button appears when the profile saves more than Minecraft's own settings; vanilla stands for options.txt.
  3. Add or remove patterns as described in Excluded settings. Keys are the names used in the mod's settings file.
  4. Reset to defaults... brings back the mod's own list.

For a mod whose file is saved as a whole, the only key is content. Excluding it means that file is not saved at all.

The list is stored as exclude.<mod id> in the profile's profile.properties.

Different versions of a mod or of Minecraft#

A profile can be used by instances with different versions of the same mod, and on different Minecraft versions. Settings Saver records which versions saved the settings, and the mod supplies the conversions between them, the same way Settings Saver itself converts options.txt. How complete that is depends on the mod.

An instance that doesn't have the mod installed ignores the mod's saved settings and keeps them in the profile untouched.

Where the settings are kept#

profiles/
  default/
    profile.properties              enabled.mymod=true, exclude.mymod=...
    vanilla/options.txt
    mymod/
      module.txt                    the mod and Minecraft versions the settings were saved in
      config/mymod.properties       the mod's saved settings
backups/
  mymod/                            the mod's files that a Load replaced

If it doesn't work#

Problem Check
No Registered line for the mod The mod doesn't support Settings Saver, or its version is too old.
The mod is registered but nothing is saved It is off for this profile: add enabled.<mod id>=true. With sync Off, also press Save.
A new instance didn't get the mod's settings The profile has nothing saved for the mod yet, or the instance already had the mod's file. Press Load.
A line with WARN or ERROR names the mod The mod's integration has a problem. Report it to the mod's author with that line.

More in Troubleshooting.

For mod developers#

To add Settings Saver support to your own mod, see the Settings Saver API docs.