Using this template:
- Rename
ExampleMod.csproj
->YourModName.csproj
- Modify in
.csproj
<ModName>Mod_ExampleMod</ModName>
->Mod_YourModName
- Modify in
Plugin.cs
[BepInPlugin("yourname.example.mod", "Example Mod", "1.0.0.0")]
to have a unique mod id, and an interesting title for your modvar harmony = new Harmony("yourname.example.mod");
with the same id.
Building: dotnet build
. This will copy the resulting .dll
to the folder Elin/Package/Mod_ExampleMod/
(or whatever you named it), you can edit the csproj to switch to only copying to a build/
directory in the current folder.
LICENSE: This template is under MIT/APACHE (very permissive). Your code can be under whatever license you want, with the default being not thinking about it at all.