ContentAPI
A library of tools to help developers.
About this mod Author’s original text
ContentAPI
Join our Discord for support.
Welcome to ContentAPI, a powerful extension designed to streamline modding by providing enhanced access to game components such as players, shops, and more. With built-in events and utility features, it simplifies game patching and improves the overall modding experience.
Installation
To install ContentAPI, follow these steps:
- Download the latest DLL.
- Place the downloaded file inside the BepInEx\plugins directory.
For Developers
To integrate ContentAPI into your project:
- Go to nuget and search for ContentAPI
- Add the nuget package to your project as a reference.
- Ensure it is also placed in the BepInEx\plugins directory.
In your code, set up the dependency as follows:
[BepInDependency(ContentPlugin.ContentGUID)] // Specify whether this is a hard or soft dependency. Note: BepInEx defaults to hard dependencies.
public class YourMod: BaseUnityPlugin
{
// Implement your mod logic.
}
Contributing
We welcome contributions! If you'd like to help improve ContentAPI, submit a Pull Request with your changes.
Reporting Issues
Encountered a bug or issue? Please let us know through one of the following:
- Use the GitHub Issues page.
- Include a copy of the error message, a brief description of the issue, and any relevant context or expected behavior.
- Join our Discord for quick support from the community and developers.
Dependencies
This plugin requires BepInEx to function.
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: