Settings and details

Updated 2 weeks ago

Mod Config Menu 1.0.0

What it does: Adds a Mods tab to the game's Settings: every mod's settings, in the game's style.
How to use: Open Settings (pause menu or title screen), then the Mods tab.
Multiplayer: Install it for yourself; for settings marked as game settings, the host's value applies to everyone.

Settings

Change them in the Mods menu of Mod Config Menu (Settings screen).

Setting Default What it does
Tab position (General) -1 Place of the Mods tab in the game's Settings screen tab bar, counted from 0 at the left.
Mod list width (Layout) 0.3 Share of the page width taken by the mod list on the left.
Column gap (Layout) 40 Space between the mod list and the settings, in pixels.
Readable names (Layout) On True = setting names shown as words ("EnemiesFrozen" -> "Enemies frozen").
Mods without settings (Layout) Greyed Mods that have no setting.
Greyed opacity (Layout) 0.5 Opacity of a greyed mod's name in the list: 0 = invisible, 1 = like the others.
Show versions (Layout) On True = each mod's version is shown after its name in the mod list.
Collapse sections over (Layout) 12 Sections with more settings than this start folded (click the title to unfold).
First sections (Layout) General Sections shown first, in this order, separated by commas; the others follow in the mod's own order.
Last sections (Layout) Texts,Multiplayer,Performance,Debug Sections shown last, in this order, separated by commas (after the mod's own sections).
Slider decimals (Layout) 2 Decimals kept when a slider sets a decimal number.
Slider steps (Layout) 20 About how many steps (notches) a slider has from one end to the other, when its mod gives no step of its own; also the keyboard and gamepad steps.
Slider notches (Layout) On True = sliders move in round notches (the mod's own step, else about SliderSteps of them), so dragging never sets an odd decimal; the field beside a slider still takes any value you type.
Slider times default (Layout) 4 A number whose mod gives no advised range gets a slider from 0 to this many times its default value (a default of 0 counts as 1).
Slider arrow delay (Layout) 0.4 Seconds a slider arrow is held after its first notch before it repeats.
Slider arrow interval (Layout) 0.08 Seconds between two notches while a slider arrow is held.
Check grid from (Layout) 6 A section made only of yes/no settings, with at least this many, is shown as a grid of check boxes with Check all / Uncheck all.
Check grid columns (Layout) 3 Check boxes per line in such a grid.
Tab text (Texts) (empty) Text of the Mods tab in the game's Settings screen (pause menu and title screen).
Default text (Texts) (empty) Text of the button that puts a setting back to its default value.
Press key text (Texts) (empty) Shown while waiting for the new key of a key setting.
On text (Texts) (empty) Shown for a yes/no setting that is on.
Off text (Texts) (empty) Shown for a yes/no setting that is off.
No settings text (Texts) (empty) Shown for a mod that has no settings.
Saved text (Texts) (empty) Shown after a change, followed by the settings file name.
Invalid text (Texts) (empty) Shown when typed text does not fit the setting.
Search text (Texts) (empty) Label of the search field above the settings.
No match text (Texts) (empty) Shown when no setting matches the search.
Reset all text (Texts) (empty) Button that puts every setting of the shown mod back to default.
Confirm reset all text (Texts) (empty) Asked after a first click on the reset-all button, followed by the mod's name.
Reset done text (Texts) (empty) Shown after a reset-all, followed by how many settings changed.
Selected mark (Texts) > Put before the name of the mod whose settings are shown.
Modified mark (Texts) * Put before the name of a setting that is not at its default value, and before its section and its mod.
Expanded mark (Texts) [-] Put before the title of an unfolded section.
Collapsed mark (Texts) [+] Put before the title of a folded section.
Checked mark (Texts) [X] Put before the name of a checked box in a grid of check boxes.
Unchecked mark (Texts) [ ] Put before the name of an unchecked box in a grid of check boxes.
Check all text (Texts) (empty) Button that checks every box of a grid.
Uncheck all text (Texts) (empty) Button that unchecks every box of a grid.
Settings changed text (Texts) (empty) Shown after Check all / Uncheck all, followed by how many settings changed.
Restart game text (Texts) (empty) Put after the name of a setting that takes effect only after restarting the game.
Reload save text (Texts) (empty) Put after the name of a setting that takes effect only when a save is loaded.
Host set text (Texts) (empty) Put after the name of a setting whose value the multiplayer host chose.
Restart game tip text (Texts) (empty) Added to the description of a setting that takes effect only after restarting the game.
Reload save tip text (Texts) (empty) Added to the description of a setting that takes effect only when a save is loaded.
Host decides tip text (Texts) (empty) Added to the description of a game setting (the host's value applies in multiplayer).
Host set tip text (Texts) (empty) Added to the description of a setting whose value the multiplayer host chose.
Host decides (Multiplayer) On Game settings (marked by each mod).
Host check seconds (Performance) 2 How often, in seconds, the host's game settings are sent (host) or read (guest) in multiplayer.
Full logging (Debug) Off True = the BepInEx log gets every step useful to diagnose a problem (decisions, values read, object aimed at, failures with their cause).

Details

Adds a Mods tab to the game's Settings screen, next to its own tabs, from the pause menu and from the title screen. It shows your installed mods on the left and the chosen mod's settings on the right, in the game's own style. Hover a setting to read what it does and its default value. Back works as on the other tabs.

  • Search: type in the field above the settings; the list keeps only the mods and settings that match.

  • Click a section title to fold or unfold it. Long sections start folded.

  • Settings you changed are marked with *, and so are their section and their mod in the list: you see at a glance what you changed.

  • Mods that have no setting are listed in grey, with their description.

  • The reset button at the bottom puts every setting of the shown mod back to default (click it twice).

  • Works with the keyboard: arrow keys move between mods and settings, and the list follows.

  • Yes/no settings and lists of values: change them with the arrows.

  • Long lists of yes/no settings: a grid of check boxes, with Check all and Uncheck all.

  • Numbers: a slider, and a field beside it that takes any value (press Enter). The slider covers the range the mod advises, or 0 to 4 times the default; a value typed outside it stretches it. The slider moves in round notches, so dragging never sets an odd decimal.

  • Keys: click, then press the new key (Escape cancels). Hold Ctrl, Shift or Alt for a key combination when the mod accepts one.

  • Anything else: type the value and press Enter. A value that does not fit the setting is refused and the old one stays.

  • Default puts one setting back to its default value.

Each change is saved at once in the mod's settings file, and a line under the list confirms it. A setting that only works after restarting the game, or after loading a save, says so after its name and when you change it (when its mod tells which ones).

Names and descriptions follow the game's language when the mod gives translations; other mods are shown as they are.

Multiplayer

Install it for yourself; nobody else needs it. Mods can mark some settings as game settings: in multiplayer the host's value applies to everyone.

  • Solo: you set everything.
  • Host: your game settings are sent to the guests who have Mod Config Menu, and again whenever you change one.
  • Guest with Mod Config Menu: the host's game settings are used while you are in its game. They show greyed, marked "(host)", and cannot be changed. Your own values stay in your settings files and come back when you leave the game.
  • Guest without Mod Config Menu, or a dedicated server: everyone keeps their own settings.

Turn it off with [Multiplayer] HostDecides.

For mod makers

No dependency needed: your mod works the same without Mod Config Menu.

  • Mark a setting with plain strings in BepInEx's ConfigDescription tags: "RestartGame" (takes effect after restarting the game), "ReloadSave" (when a save is loaded), "HostDecides" (game setting: the host decides in multiplayer). Config.Bind("General", "Damage", 1f, new ConfigDescription("Damage multiplier. Advised: 0.5 to 3.", null, "HostDecides"))
  • Advised range of a number: write Advised: <min> to <max>. in its description; the slider uses it. Add a notch with Advised: <min> to <max>, step <step>.
  • Translations: embed a translations.json in your DLL with <EmbeddedResource Include="translations.json" LogicalName="ModConfigMenu.translations.json" />: { "fr": { "Name": "...", "Description": "...", "Sections": { "General": "Général" }, "Settings": { "General": { "Damage": { "Name": "Dégâts", "Description": "..." } } } } } Languages are the game's codes (fr, de, zh-hant...); en can give clearer English names.

Contact

Contact me on X (@aznantriks) or Reddit (u/aznan-triks).

Latest changes

1.0.0

  • Slider arrows now move one notch per click, right away; held, they step one notch at a steady pace after a short delay.
  • New settings Layout/SliderArrowDelay and Layout/SliderArrowInterval: delay before an arrow repeats, and time between two notches.

0.4.10

  • Slider arrows work again: holding one slides through the notches, a click moves one notch, at the same pace as the game's own sliders.

0.4.9

  • The log now reports when the Steam lobby and the game disagree on who hosts.

Older versions: the Changelog tab.