Edit mod configs in-game!
-
Ensure you have BepInEx installed
- Download BepInEx from BepInEx Releases
- Extract it into your R.E.P.O. game directory
-
Download RepoConfig
- Download the latest release from Thunderstore
- Place the
RepoConfig.dll
insideBepInEx/plugins/
Click To Expand
If you've referenced an older version of this mod, the attribute is obsolete and will be removed in the future.
Setting Up Ranges:
- Create a
ConfigEntry<float>
orConfigEntry<int>
- Bind it using
AcceptableValueRange<float>
orAcceptableValueRange<int>
:
floatEntry = Config.Bind("General", "Float Entry", 2f, new ConfigDescription(null, new AcceptableValueRange<float>(2.5f, 10.5f)));
intEntry = Config.Bind("General", "Int Entry", 2, new ConfigDescription(null, new AcceptableValueRange<int>(0, 100)));
Setting Up Options:
- Create a
ConfigEntry<string>
- Bind it using
AcceptableValueList<string>
:
gamemodeEntry = Config.Bind("General", "Gamemode", "Survival", new ConfigDescription(null, new AcceptableValueList<string>("Creative", "Survival", "Adventure Mode")));
- Some mods may not have immediate support