Skip to content

SharpMUSH/SharpMUSH.Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharpMUSH Extension Starter

A "Use this template" starter for building SharpMUSH extensions. It contains a working example of all three extension layers — pick the one(s) you need, edit in place, and delete the rest.

Prefer scaffolding a single piece into an existing project? Use the dotnet new pack instead: dotnet new install SharpMUSH.Templatesdotnet new sharpmush-softcode|sharpmush-application|sharpmush-plugin.

The three layers

Folder Kind What it is When to use it
softcode/ kind: softcode A YAML package of objects + attributes + a global @function. Game policy — commands/functions in MUSHcode. No C#, no recompile.
application/ kind: application A Dynamic Application (Area 21): softcode schema/submit routes + a portal page. A web-portal form/view backed by softcode.
csharp/ C# DLL (kind: managed) A compiled net10.0 plugin: [SharpPlugin] : PluginBase with a command + function. New engine primitives — anything softcode can't express.

Each folder has its own README with the specifics.

Quickstart

  1. Click Use this template → create your repo.
  2. Keep the folder(s) for the layer(s) you want; delete the others.
  3. Replace the example / ExamplePlugin / your-github-user placeholders with your own names.
  4. Build / install:
    • softcode & application: install through the in-game package manager (+package / the /admin/packages portal page) — see the per-folder READMEs.
    • csharp: dotnet build csharp/ExamplePlugin.csproj -c Release (restores the published SharpMUSH.Library / SharpMUSH.Implementation.Generated contract packages from nuget.org), then distribute the managed package.

Authoring docs

Validate locally

The SharpMUSH.PackageTool validator checks the softcode/application manifests; the CI in .github/workflows/validate.yml builds the C# plugin and parses the package manifests on every push.

About

Use-this-template starter for SharpMUSH extensions: softcode package, Dynamic Application, and C# DLL plugin examples.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages