nickklmao-REPOConfig icon

REPOConfig

Edit mod configs in-game!

Last updated 2 weeks ago
Total downloads 1580636
Total rating 37 
Categories Mods Libraries Client-side
Dependency string nickklmao-REPOConfig-1.1.8
Dependants 594 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
nickklmao-MenuLib-2.1.3 icon
nickklmao-MenuLib

A library for creating UI!

Preferred version: 2.1.3

README

REPO Config

Edit mod configs in-game!

Installation

  1. Ensure you have BepInEx installed

    • Download BepInEx from BepInEx Releases
    • Extract it into your R.E.P.O. game directory
  2. Download RepoConfig

    • Download the latest release from Thunderstore
    • Place the RepoConfig.dll inside BepInEx/plugins/

For Developers

Click To Expand

The currently supported ConfigEntry types are bool, int, float, and string

  • string types currently require AcceptableValueList<string>. (See "Setting Up Options" below)

Setting Up Ranges:

  1. Create a ConfigEntry<float> or ConfigEntry<int>
  2. Bind it using AcceptableValueRange<float> or AcceptableValueRange<int>:
floatEntry = Config.Bind("General", "Float Entry", 2f, new ConfigDescription("", new AcceptableValueRange<float>(2.5f, 10.5f)));
intEntry = Config.Bind("General", "Int Entry", 2, new ConfigDescription("", new AcceptableValueRange<int>(0, 100)));

Setting Up Options:

  1. Create a ConfigEntry<string>
  2. Bind it using AcceptableValueList<string>:
gamemodeEntry = Config.Bind("General", "Gamemode", "Survival", new ConfigDescription("", new AcceptableValueList<string>("Creative", "Survival", "Adventure Mode")));

Hiding A Setting (Case-Sensitive)

  1. Create a ConfigEntry
  2. Bind it with a tag HideFromREPOConfig:
floatEntry = Config.Bind("General", "Float Entry", 2f, new ConfigDescription("", null, "HideFromREPOConfig"));

Note

  • Some mods may not have immediate support