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.
To install ContentAPI, follow these steps:
- Download the latest DLL.
- Place the downloaded file inside the
BepInEx\plugins
directory.
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.
}
We welcome contributions! If you'd like to help improve ContentAPI, submit a Pull Request with your changes.
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.
This plugin requires BepInEx to function.