R2API Teams

v1.0.3·Updated 2026-10-09

API for registering and handling custom teams

About this mod Author’s original text

R2API.Teams - Custom teams addition

About

An R2API submodule that allows the creation of custom character teams.

Use Cases / Features

R2API.Teams can be used to add your own teams to the game for more complex combat relationships.

Use TeamsAPI.RegisterTeam to add a new team, the TeamIndex of the new team is returned. Any Enum parsing/ToString of TeamIndex is redirected to the added TeamIndex for compatibility.

Related Pages

Changelog

'1.0.2'

  • Updated for Alloyed Collective.

'1.0.1'

  • Added CanPickup property to TeamBehaviour for overriding if a team can pick up items/equipments off the ground.

'1.0.0'

  • Initial Release.

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:

RiskofThunder-HookGenPatcherbbepis-BepInExPackRiskofThunder-R2API_Core

File & checksum

Filename
R2API_Teams-1.0.3.zip
File size
29.5 KiB