Repository navigation
Configs
Edit your mods' settings without leaving the app. The list on the left has one row per mod, under the name it has on sp-mod, grouped by where its settings live:
-
Client - the files in
BepInEx\config, one per plugin. -
Server - the files inside a server mod's own folder under
user\mods. - BepInEx - BepInEx's own settings, which are not a mod's.
-
Unclaimed - a
BepInEx\configfile no installed plugin answers to. Almost always a mod you removed at some point, leaving its settings behind.
A mod with both halves is one row, with a tab per file at the top. The number on a row is how many of its settings differ from their defaults, and a dot means it has unsaved edits. The search box finds mods, files and setting names - pick a mod found by a setting and its settings are already filtered to it.
The two halves behave differently, and the page says so above the editor: a client mod's settings live outside its folder, so they survive disabling and removing it; a server mod's settings live inside its folder and travel with it.
A .cfg file opens as a form: one card per section, each setting with its description and a control that fits it - a switch, a slider, a dropdown, tick boxes, a colour, or a key to press. Raw shows the file as text, for anything the form can't.
- A setting changed from its default has a bar beside it and Reset to put the default back. Changed shows only those.
- Reset mod puts every setting in the mod back to its default; Copy changes copies the ones you changed, as text, for sharing.
- To set a key, click it and press the key or combination. Esc cancels, ✕ clears it. A few keys BepInEx can't be sure of - the Windows keys, Print Screen, media keys - are refused.
Server mods' JSON files are edited as text, as before.
Two entries at the top of the list look across every mod at once:
- Changed settings - every setting that differs from its default, grouped by mod, with Reset per mod and Reset all.
- Keybinds - every key a mod uses. Keys used by more than one setting come first, each saying what else uses it. That can still be fine - two mods may use the same key on the map and in raid.
Edits wait until you save, file by file. Moving to another mod keeps them. Save saves the file you're looking at; Save all saves every file with changes, each backed up first like any save, and Revert all drops them. A file that changed on disk in the meantime is left for you to open and save on its own. Quitting with unsaved edits asks first: save them all, quit without them, or stay.
- Nothing is ever reformatted. For a lot of mods the comments in the config file are the only documentation those settings have. Saving changes the lines you changed and leaves everything else exactly as it was.
- Broken JSON is refused, not written, with the line that stopped making sense. Comments and trailing commas are fine - plenty of server mods ship both.
-
Every save keeps a copy of what was there first, in
data\configBackups\inside the app's own folder, one timestamped folder per save. Copying one back over your install undoes a round of edits. - If the file changed underneath you - the game wrote it, or you edited it in Notepad - the save stops and asks whether to overwrite, reload or leave it. Whichever you pick, what is on disk is copied aside first.
-
Shipped defaults (
config.default.jsonand the like) are listed but dimmed: they are the pristine copy, so editing one does nothing. They are shown rather than hidden because they are what you look at when you want the original value back.
Warning
Changing a mod's settings is your call. If a change breaks the mod or your game that is not the author's problem to put right - only change settings you understand, and say so if you report a bug after editing a config.
Note
BepInEx writes its config files back out when the game closes, so a client config edited mid-session is likely to be undone. A server config takes effect on the next server restart.
Updating a server mod used to leave you with its defaults. Now the new version's config file is used with the settings you changed carried into it - so a setting the update adds arrives at its new default, a default the author changed reaches you, and the values you picked stay yours. Your file as it stood is still copied into data\legacyConfigs\ first, every time, so nothing rests on the merge being right.
The file is the new version's text, edited in place: the author's comments, key order and layout are theirs, and only the values you had changed are swapped in.
What an update does with a mod's configs is a per-mod choice, set on this page while one of that mod's config files is selected, and shown read-only next to Update in the mod's details dialog:
- Merge my changes - the default, described above.
- Keep mine - your file is left exactly as it is. Right for a mod whose config the app can't read (see below); the cost is that a setting the new version adds will be missing, which some mods mind and some don't.
-
Take the new file - the new defaults win. Your copy is still in
data\legacyConfigs\.
After an update, the Configs page says what happened to the file you are looking at, and the Downloads list says it as it happens.
Some mods don't follow any convention, so three buttons sit under that dropdown - all per mod, all remembered in data\modConfigs.json:
-
Files I authored... - a folder inside the mod holding files you wrote rather than settings the mod shipped. SVM's
Presets\is the example. An update leaves the folder exactly as it is, and removing the mod keeps it like a config instead of deleting it. A folder holding hundreds of files is refused - that is a database, not your work. -
Settings kept elsewhere... - a settings file the mod keeps where nothing would look for one, so updates carry your changes into it. SVM's
Loader\loader.jsonis set up for you: it holds which preset the server runs, and before this it was replaced on every update, quietly putting the server back on the default preset. -
This isn't a config - for the opposite case: a locale table or a barter list sitting in a folder literally called
config. It stops being listed here, stops being merged, and is no longer kept when the mod is removed.
SVM's entry is filled in for you as a starting point, not a rule - clear either half and it stays cleared.
Note
Three things a merge deliberately does not do. A setting you added yourself that neither version ships is reported rather than put back - there is no honest place to insert it. A setting the new version has dropped goes with it. And a value list (a JSON array) is carried whole rather than element by element, because there is no correct way to combine two lists.
Warning
The first update of any mod after this feature arrived has nothing to compare against - the app has to have recorded what the previous version shipped, which it now does at every install - so that one update replaces the file and says so. From its next update on, that mod merges normally. A config the merge can't read (JSON5, or one big enough to be data rather than settings) is replaced too, and says which it was; set that mod to Keep mine if you edit it.