ThunderstoreAPI

v1.0.1·Updated 2024-06-24

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

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. 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.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. 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.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
ThunderstoreAPI-1.0.1.zip
File size
129.8 KiB