A collection of .NET project templates for Ultrakill plugins using BepInEx 5.
You will need .NET 6 or newer to use the templates.
To install, use dotnet tool.
These templates are for ULTRAKILL Patch 16d or newer, using BepInEx 5.
Firstly, get the latest version of the package from NuGet via the following command (or installing manually from the package page).
dotnet new install UltraModding.Templates
This will install the following template:
| Templates | Short Name | Language | Tags |
|---|---|---|---|
| Ultrakill Full Plugin Template | ukplugin-full |
[C#] |
BepInEx/BepInEx 5/Plugin/Ultrakill |
| Ultrakill Minimal Plugin Template | ukplugin-min |
[C#] |
BepInEx/BepInEx 5/Plugin/Ultrakill |
To use a template, you can use the dotnet new command.
If you use Rider or Visual Studio 2022, you will be able to select the templates when creating a new solution.
For example, to create an Ultrakill plugin project:
dotnet new ukplugin-min -o MyPluginNameThis will create a folder named MyPluginName with an example plugin project, and with some dependencies.
All templates have additional options. To view them, use -h or --help switch. For example:
dotnet new ukplugin-min --helpwill show additional options you can specify when creating a project:
Options:
-N|--Name The name of the plugin
text - Optional
Default: My first plugin
-G|--GUID Unique plugin GUID
text - Optional
Default: com.yourname.pluginname
-V|--Version Plugin version
text - Optional
Default: 1.0.0
-U|--UltrakillDirectory Path to Ultrakill directory (If left blank, will use a provided
stripped assembly)
text - Optional
For more guides, refer to BepInEx Docs and the (WIP) UltraModding Wiki.
If you're writing a BepInEx plugin for the first time, check out the plugin development walkthrough.