ModConfig

If you liked this item, please rate it up on Steam Workshop page.

Author: FrozenFish259

Last revision: 12 Nov, 2025 at 06:52 UTC (2)

File size: 128.94 KB

On Steam Workshop

Description:
English Documentation
  • ModConfig is a framework that provides in-game configuration parameter adjustment for other mods.It allows players to directly adjust various configuration parameters of other mods through the in-game settings menu.
  • Mod Settings menu currently can only be accessed from ingame scenes, not from MainMenu
  • You may need to restart game after enabling ModConfig

Supported mods

Mod Settings File Location

Delete following file if you wanna reset ModConfig’s mod settings

%USERPROFILE%AppDataLocalLowTeamSodaDuckovSavesModConfig.ES3

Development Guide

Steps
  1. Download ModConfigApi.cs from Github Project[github.com] and copy it to your project for calling ModConfig functions
  2. Before configuration read/write logic, be sure to call ModConfigAPI.Initialize() once to verify normal communication with ModConfig
  3. Check out my example project[github.com]

Supported Data Types
  • bool
  • int
  • float
  • string

Important Notes
  • Configuration values are read through OptionsManager_Mod.Load<T>(string key, T defaultV)
  • The implementation logic of ModConfig is relatively complex. There is a possibility that future game updates may broke ModConfig and require maintenance. Therefore, please note the following important tip
  • Do not create strong dependencies between your mod’s configuration read/write logic and ModConfig. Your configuration read/write must function normally even without ModConfig

Mod Publishing

After uploading your mod, go to workshop item page and click Add/Remove Required Items , add ModConfig as its dependency

Disclaimer

This mod was initially created only for one of my own mods

Due to the different approaches mod authors take to implement their mods’ configs’ persistent storage, it’s impossible for Mod Config to automatically detect and show Mod Settings of those mods. Only when other mod authors implement the Mod Config interface can their mods’ corresponding settings appear in the Mod Settings menu

This is why you only see KillFeed’s settings here, sorry if that led to the misunderstanding that this mod’s Mod Settings menu works for all other mods

However, due to my spaghetti code, the designed function interface might be cumbersome to use and only supports a few simple data types. It’s unlikely that other mod authors would adopt it

If you have implemented the Mod Config interface for your mods, feel free to send a PM to have it added to the description

Source Code Reference

Github Source[github.com]
Github Example Project[github.com]

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.