alwaysintreble.Archipelago.BepinEx 1.2.0

dotnet new install alwaysintreble.Archipelago.BepinEx@1.2.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Archipelago Plugin Template for BepInEx 5 and 6

This is a plugin template for starting to make an Archipelago plugin using BepInEx 5 and BepInEx 6, with the very basics already set up. It includes a small GUI to allow you to enter connection info and some building configuration already done.

Using These Templates

Setting up BepInEx

Follow the normal steps for installing BepInEx for your game. I recommend using the MonoMod HookGenPatcher and using monomod hooks over Harmony Patching, but this is up to personal preference

Installation

You will need .NET 6 or newer to install and use the template.

The templates can be installed with the following command:

dotnet new install alwaysintreble.Archipelago.BepinEx

Then, to create a new project using the template, you can either select the template when creating a new project from within your IDE, or

dotnet new apbepin5 -n <MyPluginName> -T <TFM> -U <UnityVersion> -P <MyProjectName>

Template options:

-T, --TargetFramework <TargetFramework>  The target framework for the project
                                         Required: *true*
                                         Type: text
                                         Default: net35
-U, --UnityVersion <UnityVersion>        Unity version to use when developing the plugin
                                         Required: *true*
                                         Type: text
                                         Default: Example Archipelago Plugin
-P, --ProjectName <ProjectName>          Name of the project
                                         Required: *true*
                                         Type: text
-D, --Description <Description>          Plugin description
                                         Type: text
                                         Default: Example Archipelago Plugin
-V, --Version <Version>                  Plugin version
                                         Type: text
                                         Default: 1.0.0
-G, --Game <Game>                        Name of the game this plugin is for
                                         Type: text
                                         Default: My Game
-Pa, --Path <Path>                       File path to the game executable. Passing this will set up debug output to the plugins folder
                                         Type: text
                                         Default: C:\My Game

To determine your unity version and which framework you should be targeting you can refer to https://docs.bepinex.dev/articles/dev_guide/plugin_tutorial/2_plugin_start.html. If you are targeting .net 3.5 you may need to modify a few methods as the #if don't work very well in templates.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 882 3/12/2025
1.1.4 596 3/11/2025
1.1.3 603 3/11/2025
1.1.2 1,226 4/12/2024
1.1.1 621 4/12/2024
1.1.0 610 4/12/2024
1.0.7 179 4/12/2024
1.0.6 619 4/12/2024
1.0.5 606 4/12/2024
1.0.4 621 4/11/2024
1.0.3 627 4/11/2024
1.0.2 936 3/8/2024
1.0.1 756 3/4/2024
1.0.0 673 3/4/2024