
You are viewing a potentially older version of this package. View Latest Version

BonkersLib is a core shared library for BepInEx mod development targeting the game "Megabonk".
Its primary purpose is to provide a stable API and reusable services to interact with the game's code. It is used as a dependency by other mods, such as MegaBonkPlusMod.
This library abstracts away game-specific code into several easy-to-use services, including:
PlayerService: For accessing and manipulating player data.WorldService: For interacting with the game world and objects.GameStateService: For retrieving and tracking the overall game state.If you are a user of a mod that requires BonkersLib:
Ensure BepInExPack_IL2CPP (Version 6) is installed for your game.
BonkersLib.dll into your BepInEx/plugins folder, alongside the mod that needs it.If you are developing a mod that builds on this library:
BonkersLib.dll as a reference in your C# project.BonkersLib.dll as a dependency (e.g., via BepInEx attributes).BonkersAPI.PlayerService).Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.