This mod is not known to work with the latest version of Kerbal Space Program 2. Proceed with caution.
https://github.com/BepInEx/BepInEx
BepInEx is a tool used to allow modding / custom code execution in Unity and other C# based games. As of writing KSP 2 does not support loading arbitrary mods, so the only way to run addons & load assets is through this loader.
Harmony and MonoMod.RuntimeDetour are packaged with this loader, allowing you to modify game code & functions at runtime.
BepInEx uses "plugin" to refer to the equivalent of Addons in KSP.
You are done!
If you get stuck with the installation process, please refer to the documentation: https://docs.bepinex.dev/articles/user_guide/installation/index.html
It is more or less the same process, with some minor differences. Refer to the above documentation
To install plugins, place them inside of your BepInEx/plugins
folder. (This directory might not exist for you; launch the game once to have BepInEx generate its folder structure)
While it's possible to place every .dll file in any place in BepInEx/plugins
, it's strongly recommended that you have one folder per mod to make it significantly easier to manage updates and uninstallation.
A guide exists here for writing your first BepInEx plugin: https://docs.bepinex.dev/articles/dev_guide/plugin_tutorial/index.html
As reference here is a pre-made C# project for an example plugin that does two things:
https://files.catbox.moe/6c48ls.zip
Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.