Mod configs: how to change a mod's settings
The config folder, toml and json formats, world and server settings, in-game editing and the common mistakes that make a mod reset its settings.
Updated:

Most mods have settings: distances, difficulty, switching individual features off. They're stored in config files. Once you know where these files are and how to edit them, you can tune an instance to your liking without any programming.
Where configs are
configin the instance folder — the main place. You can open the folder from the instance menu.saves/<world>/serverconfig— on Forge and NeoForge some settings are tied to a specific world.defaultconfigs— templates copied into every new world.
The launcher has a “Configs” section for the instance — the files are visible there without digging through folders.
Formats
.toml— the most common on Forge/NeoForge:key = value, comments after#..json/.json5— common on Fabric: curly braces, quotes and commas..cfg,.properties— older simple formats.
How to edit safely
- Close the game. Most mods read configs only at startup, and some rewrite the file on exit — your changes would be lost.
- Save a copy of the file or a restore point.
- Change only the values, without touching quotes, brackets and commas.
- Start the game and check the result.
Settings right in the game
On Fabric the Mod Menu mod adds a “Mods” button to the main menu, and many mods show their settings there. Forge/NeoForge have a built-in “Mods” button, and the Configured mod gives a graphical editor for almost all configs.
Common problems
- Settings reset — the file was edited while the game was open, or it has a syntax error and the mod created a new one.
- The game crashes after a change — broken json/toml. Restore the copy or delete the file: the mod will recreate it with default values.
- It has no effect on a server — server settings come from the server, not from your client.
Download TCLauncher — instance configs are at hand, and a restore point protects you from mistakes.
FAQ
Where do I find mod configs?
In the config folder inside the instance. On Forge and NeoForge some settings are also in saves/<world>/serverconfig.
Why does a mod reset my settings?
Most often the file was edited while the game was open, or it has a syntax error. Edit configs with the game closed.
Can I change mod settings in game?
Yes: on Fabric through Mod Menu, on Forge/NeoForge through the Mods button and the Configured mod.