You are viewing a potentially older version of this package.
View all versions.

Date uploaded | 2 months ago |
Version | 1.0.1 |
Download link | nickklmao-REPOConfig-1.0.1.zip |
Downloads | 1707 |
Dependency string | nickklmao-REPOConfig-1.0.1 |
This mod requires the following mods to function

BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100
README
REPO Config
Edit mod configs in-game!
For Developers:
Click To Expand
This mod only captures public static ConfigEntry
fields/properties that are of type bool
and int
.
float
entries technically work but they'll be rounded to an integer (at least for right now)
By default, numerical entries are capped between -500 to 500.
If you want a customize this you can use the REPOConfigEntry
attribute.
//bools can only have a custom name
[REPOConfigEntry("Enable")]
public static ConfigEntry<bool> toggle;
//ints can have a custom min/max
[REPOConfigEntry("Starting HP", min: 1, max: 100)]
public static ConfigEntry<int> startingHP;
//ints can also have a prefix/postfix for their label
[REPOConfigEntry("USD", min: 1, max: 100, prefix:"$", postfix:"")]
public static ConfigEntry<int> money;
//ints can also display words instead of numbers
[REPOConfigEntry("Gamemode", "Creative", "Survival", "Spectator")]
public static ConfigEntry<int> gamemode;
Note
- This mod is client-sided
- Some mods may not have support immediately
CHANGELOG
v1.2.2
- Fixed an issue that caused float sliders to have the wrong number of decimal places
v1.2.1
- Modified text styles (Everything won't be capitalized anymore)
- Removed Descriptions
- Until I can figure out a better way to handle them, they're gone for now
v1.2.0
- Uses MenuLib v2.4.0
- Plugins are now displayed alphabetically
- Added a search bar
- The search bar's visuals will be updated in a future patch, I know it looks mid
- Added support for string settings
- Pressing escape with unsaved changes will now present a popup
- Made the scroll speed constant for both the mod list and settings list
v1.1.8
- Mods with longer names now scroll in the mod list
- Adjusted the way default ranges are handled for float/int settings
v1.1.7
- Uses MenuLib v2.0.0
- Added categories
- Removed rebinding UI support
- You can still rebind keys, they'll just be option sliders instead
v1.1.6
- Supports enum types
- Enums with the [Flags] attribute won't directly support multiple values, this will come later
v1.1.5
- Added support for keybinds
- Descriptions scroll
- There's a config option to change the speed
v1.1.4
- Fixed naming (again)
v1.1.3
- Added a tag to hide configs from the in-game menu
- "HideREPOConfig"
- Auto adds spaces to mod names & setting names
- Shortened description limit
- If they wrap to another line, they become harder to read
v1.1.2
- Added a config option to disable the mod menu from loading
- This is good for people who make modpacks and don't want others to edit the settings as easily
- Requires a restart
- Added descriptions to slider options
- Added support for option settings
- Settings that use words rather than numbers
- Updated the way settings are fetched
v1.1.1
- Fixed saved changes, it wasn't working properly :sad:
v1.1.0
- Added save changes button
- Moved reset button to the bottom
- Added snapping for the bar indicator
- Fixed spacing between settings
- Fixed text scaling
- Fixed bar indicator from getting stuck when not hovering
- Updated README for developers
- Code refactoring
- This now runs off
MenuLib
- This now runs off
v1.0.2
- Updated mod list to reflect mod names rather than assembly names
- Updated README for developers
- Added support for ConfigEntry<float>
v1.0.1
- Updated README
v1.0.0 🔥
- Initial release