Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
AdvancedREPO Config
Configuration framework capable of synchronizing host configuration with connected clients.
| Date uploaded | a year ago |
| Version | 1.0.0 |
| Download link | PotatoePet-AdvancedREPO_Config-1.0.0.zip |
| Downloads | 1007 |
| Dependency string | PotatoePet-AdvancedREPO_Config-1.0.0 |
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.2100PotatoePet-AdvancedREPO_Patcher
Pre-patcher framework for AdvancedREPO mods.
Preferred version: 1.0.0README
AdvancedREPO.Config
Configuration framework which allows the synchronization of BepInEx configurations from host to clients.
If you want to use this as a developer you can simply use the extension method .Sync() for any ConfigEntry you've created like this:
StaminaPerUpgrade = configFile.Bind<int>(
new ConfigDefinition("Stamina", "Upgrade stamina"),
10,
new ConfigDescription("How much stamina every upgrade gives.", new AcceptableValueRange<int>(0, 100)))
.Sync();
This will return a ConfigField<int>. During gameplay simply read the .Value of this ConfigField<int>. Synchronization will be done by the framework on level start.
Source
The source code is licensed under a MIT license and available here: https://github.com/FluffyFishGames/AdvancedREPO/tree/main
CHANGELOG
1.0.2
- Added events
- Fixed a bug which prevented configs to be applied in tutorial.
1.0.1
- Added config sync after game has started. For example when using REPOConfig mid-game.
1.0.0
- Initial release