MelonLoaderMod 1.0.5

dotnet new install MelonLoaderMod@1.0.5
                    
This package contains a .NET Template Package you can call from the shell/command line.

MelonLoader Templates

.NET templates for creating MelonLoader mods and plugins for Unity games.

Features

  • Automatically references all game assemblies from the Managed folder (excluding system assemblies)
  • Includes a postbuild event to copy the built DLL to the game's Mods folder
  • Based on the official TestMod boilerplate from LavaGang

Installation

dotnet new install MelonLoaderMod

Usage

Create a new mod project:

dotnet new melonmod -n MyMod --GamePath "C:\Path\To\Game\GameName.exe" --Author "YourName" --Description "My awesome mod"

Create a new plugin project:

dotnet new melonplugin -n MyPlugin --GamePath "C:\Path\To\Game\GameName.exe" --Author "YourName" --Description "My awesome plugin"

Parameters

  • -n|--name: Name of the project (used for project name and mod/plugin name)
  • --GamePath: Path to the game's executable file (required)
  • --GameType: Game runtime type - "Mono" (default) or "Il2Cpp"
  • --Author: Author name (default: "YourName")
  • --Description: Description (default: "A MelonLoader mod/plugin")

Building

Build the project in Release mode. The DLL will be automatically copied to the game's Mods folder (for mods) or Plugins folder (for plugins).

Requirements

  • .NET Framework 4.7.2
  • MelonLoader installed in the game
  • NuGet package LavaGang.MelonLoader

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.

This package has 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.0.5 258 11/23/2025
1.0.4 181 11/23/2025
1.0.3 167 11/23/2025
1.0.2 170 11/23/2025
1.0.1 381 11/23/2025
1.0.0 379 11/23/2025