ThunderstoreAPI
Get loaded mods from r2mm/Thunderstore's mods.yml
Last updated | 6 months ago |
Total downloads | 26744 |
Total rating | 0 |
Categories | Libraries |
Dependency string | sc07-ThunderstoreAPI-1.0.1 |
Dependants | 10 other packages depend on this package |
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.2100README
ThunderstoreAPI
A simple library to read r2mm's/Thunderstore'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<ThunderstoreMod>
containing all of the loaded/enabled mods
ThunderstoreAPI.Library.GetMods()
Returns List<ThunderstoreMod>
containing all of the mods in profile (not recommended)
class ThunderstoreMod
Property | Type | Description |
---|---|---|
manifestVersion | int | |
name | string | Thunderstore Mod ID (sc07-ThunderstoreAPI ) |
authorName | string | Thunderstore team name (sc07 ) |
websiteUrl | string | Thunderstore mod page |
displayName | string | Mod display name |
description | string | Mod description |
gameVersion | string | |
networkMode | string | |
packageType | string | |
installMode | string | |
loaders | object[] | |
dependencies | string[] | Thunderstore 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 |