GTFO
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
24
Size
198KB

ModOptions

A settings menu for your GTFO mods. Mods made to work with ModOptions put their settings in one place in the game's menu, so you can change them in game instead of editing config files.

For players

You don't need to install this mod yourself: it comes as a dependency of the mods that use it. On its own it adds nothing but its own settings page.

Where to find it

Open the game's Settings and go to the new Mod Options tab at the bottom. It lists every mod that uses ModOptions; pick one to see its settings.

Features

  • One tab for all your mods. Every mod's settings are in one place, so they're easy to find and change, and the settings menu doesn't fill up with a separate tab for each mod.
  • Toggles, dropdowns, sliders, text fields and file pickers. The file picker opens the normal Windows "Open file" window.
  • Autosaving. Every change is written to the mod's config file in BepInEx/config.
  • Editing config files by hand still works. Change a mod's .cfg while the game runs: the menu shows the new value, and mods that support it apply it right away.
  • A red [!] marks settings that can't be applied on the fly. They take effect after you restart the game.
  • INFO at the bottom of each mod's page: its version and author, sometimes links.
  • TheArchive integration (optional): if you use TheArchive, every mod's settings can go into TheArchive's Mod Settings instead, each mod as its own entry under Add-ons.
  • Can be hidden completely. If you never change mod settings in game, turn the menu off.

ModOptions' own settings

Mod Options → Mod Options:

  • Show settings menu. Turn it off and restart GTFO to remove the Mod Options tab (and the TheArchive entries) completely, if you don't want the extra tab. Your mods keep working, and editing their .cfg files while the game runs still applies. To get the menu back, open BepInEx/config/Oxylight.ModOptions.cfg, set Enabled = true in the [Menu] section (the first setting in the file), and restart GTFO.
  • TheArchive integration (off by default). Moves all mod settings into TheArchive's menu; takes effect after restart. Needs the TheArchive_Core mod by AuriRex. If TheArchive_Core isn't installed, or ModOptions can't add the settings to TheArchive's menu (after a TheArchive update, for example), it falls back to the Mod Options tab and shows a warning at the top of it, so your settings stay reachable.
  • Uppercase letters. Shows setting names in capitals, like the game's own settings. Turn it off to see them the way each mod wrote them. Applies right away.

For mod authors

ModOptions is a library: describe your settings in a few lines of code, and they show up in the Mod Options tab and in TheArchive, kept in sync with your .cfg. No UI code needed.

See the Wiki tab on this page, or the guide for mod authors on GitHub.

Credits

The menu views are adapted from the settings UI of Skins by food.

Made with AI.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.