MelonLoaderMod 1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install MelonLoaderMod@1.0.1
This package contains a .NET Template Package you can call from the shell/command line.
MelonLoader Mod Template
A .NET template for creating MelonLoader mods for Unity games.
Features
- Automatically references the game's assemblies (Assembly-CSharp.dll, UnityEngine.dll, UnityEngine.CoreModule.dll)
- 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_Data\Managed" --Author "YourName" --Description "My awesome mod"
--GamePath: Path to the game's Managed folder (required)--Author: Author name (default: "YourName")--Description: Mod description (default: "A MelonLoader mod")
Building
Build the project in Release mode. The DLL will be automatically copied to $(GamePath)\..\..\Mods\.
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.