ThunderstoreAPI
Get loaded mods from r2mm's mods.yml
About this mod Author’s original text
ThunderstoreAPI
A simple library to read r2mm's's mods.yml from the profile folder
Developer Usage
- Add this mod as a dependency to your mod
- Make sure to add ThunderstoreAPI.dll to your project references
ThunderstoreAPI.Library.GetLoadedMods()
Returns List containing all of the loaded/enabled mods
ThunderstoreAPI.Library.GetMods()
Returns List containing _all_ of the mods in profile (not recommended)
class ThunderstoreMod
| Property | Type | Description |
| -------------------- | -------- | -------------------------------------------- |
| manifestVersion | int | |
| name | string | Mod ID (sc07-ThunderstoreAPI) |
| authorName | string | team name (sc07) |
| websiteUrl | string | mod page |
| displayName | string | Mod display name |
| description | string | Mod description |
| gameVersion | string | |
| networkMode | string | |
| packageType | string | |
| installMode | string | |
| loaders | object | |
| dependencies | string | mod ID list, including version |
| optionalDependencies | string | ^^ |
| incompatibilities | string | ^^ |
| versionNumber | Version | Mod version |
| enabled | bool | |
| icon | string | Path to icon |
class ThunderstoreMod.Version
| Property | Type |
| -------- | ---- |
| major | int |
| minor | int |
| patch | int |
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: