Sample BepInEx plugin
Minimal BepInEx 6 IL2CPP plugin that logs Skopje.Modding.ModAPI events and shows a commented ScriptableObject override pattern.
Full guide: Docs/Modding.md.
Setup
- Install BepInEx 6 IL2CPP for the game build.
- Generate or copy Il2CppInterop assemblies from a run of that build (BepInEx
interop/ unhollowed output — folder names vary by pack). - Edit
SamplePlugin.csproj:- Set
GameInteropDirto that assemblies folder (must containSkopjeAssembly.dlland BepInEx / Il2Cpp references as needed).
- Set
dotnet build -c Release- Copy
bin/Release/net6.0/Skopje.SamplePlugin.dlltoBepInEx/plugins/.
Gameplay mods that change stats must be installed on the dedicated server and every client. Shared JSON/CFG override files belong next to the DLL under plugins/, not in BepInEx/config/.