Templates for Celeste code mods!
Prerequisites:
Installation:
dotnet new install CelesteMod.Templates
From your Celeste/Mods directory:
mkdir MyCoolMod
cd MyCoolMod
dotnet new celestemod
This 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)--Settings
: Includes a blankEverestModuleSettings
class and configures the module to look for it. (Defaults to true)--Session
: Includes a blankEverestModuleSession
class and configures the module to look for it. (Defaults to true)--SaveData
: Includes a blankEverestModuleSaveData
class and configures the module to look for it. (Defaults to true)--Logging
: Sets logging level toInfo
specifically for release builds instead of the defaultVerbose
. (Defaults to true)--GitHub
: Generates a GitHub action for building your mod. (Defaults to false)--Legacy
: Generates a mod for use with legacy Everest. This is only required if you want people to use your mod on versions of Everest older than 4465. (Defaults to false)
These can specified in the following way:
# Creates a new mod with sample entities, a GitHub build action, and a MonoMod export class
dotnet new celestemod --Samples --GitHub --Exports