R2API CommandHelper
API for registering console commands
About this mod Author’s original text
R2API.CommandHelper - Adding console commands.
About
R2API.CommandHelper is a submodule for R2API that provides a way for adding console commands for the in-game console.
This submodule is mainly here for legacy purposes and retro compatibility with old mods as you can nowadays register console commands
by simply using the [assembly: HG.Reflection.SearchableAttribute.OptInAttribute] assembly attribute
Changelog
'1.0.2'
- Initial fixes for SOTS DLC2 Release.
'1.0.1'
- Fix the NuGet package which had a dependency on a non-existent version of R2API.Core.
'1.0.0'
- Split from the main R2API.dll into its own submodule.
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.
Dependencies
Install these first, or the mod will not work:
bbepis-BepInExPackRiskofThunder-HookGenPatcherRiskofThunder-R2API_Core