ConfigSync
Tool for Content Warning mod developers to temporarily sync host configs with other players in a lobby.
Date uploaded | 6 months ago |
Version | 2.0.0 |
Download link | Notest-ConfigSync-2.0.0.zip |
Downloads | 39369 |
Dependency string | Notest-ConfigSync-2.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.2100RugbugRedfern-MyceliumNetworking
An easy to use networking library for sending custom RPCs through Steam.
Preferred version: 1.0.14README
ConfigSync
Tool for Content Warning mod developers to temporarily sync host configs with other players in a lobby.
Dependencies
This depends on Mycelium!
Mod Usage
Download the latest dll from the releases tab or clone and build the repo, then add it as a reference to the project. After adding it as a reference you can add it as a dependency:
[BepInDependency(ConfigSync.MyPluginInfo.PLUGIN_GUID)] // Make sure to specify if it's a soft or a hard dependency! BepInEx sets dependencies to hard by default.
public class YourMod : BaseUnityPlugin { // ...
Integration
For in-depth documentation, check out the documentation or one of the demos! Demos available are the BepInEx config branch and the ContentSettings config branch
Additions
By itself, this does nothing! This is a tool for mod developers to temporarily sync settings/configurations from the host to other players when in a lobby.
Issues
If the mod is throwing an error use the github issues page and copy-paste the error in there, with a description of what is happening and what you expected to happen if applicable. Or just ping me at the Content Warning Modding Discord server!
Credits
Big thanks to Day A.K.A. www.day.dream for helping me test the library and helping me with reflection!
CHANGELOG
v2.0.0
- Added: Serialize and Deserialize class
- Added: Serialize and Deserialize dictionary
- Refactor: Use RPCs instead of LobbyData
v1.0.0
Initial version