Templates for Celeste code mods!
Prerequisites:
Installation:
dotnet new --install CelesteMod.Templates
From your Celeste/Mods directory:
mkdir MyCoolMod
cd MyCoolMod
dotnet new celestemodThis will create a solution for your mod and a series of classes in the namespace Celeste.Mod.MyCoolMod ready for you to start developing.
Available parameters:
--Samples: Creates a set of sample entities and triggers, including Ahorn and Lönn plugins. (Defaults to false)--Exports: Includes a static class for use withMonoMod.ModInterop. (Defaults to false)--Hooks: Generates a series of helper methods for loading and unloading hooks on level load rather than just on mod load. (Defaults to false)--Settings: Includes a blankEverestModuleSettingsclass and configures the module to look for it. (Defaults to true)--Session: Includes a blankEverestModuleSessionclass and configures the module to look for it. (Defaults to true)--Logging: Sets logging level toInfospecifically for release builds instead of the defaultVerbose. (Defaults to true)--GitHub: Generates a GitHub action for building your mod. (Defaults to false)--Core: Generates a .NET Core mod - this requires .NET Core Everest (breaking compatility with regular stable/beta/dev Everest versions as of now), but offers access to .NET 7.0 features. (Defaults to false)