Mod Details

SPT Scaffold

SPT Scaffold 0.2.0

Created by viniHNS

202 Downloads

SPT 4.0.13 Compatible

Interactive TUI wizard to scaffold ready-to-build SPT 4.x mod projects in seconds.

Latest Version 0.2.0
SPT 4.0.13

Updated Mar 21, 7:58 PM

5.02 MB

Version Notes

Features & Improvements

  • Client Mods Support: Complete scaffolding for BepInEx client plugins targeting netstandard2.1 with automatic PostBuild events to sync the output DLL directly into your SPT BepInEx/plugins folder.
  • New Client Templates:
    • empty: Minimal BepInEx plugin with Awake() entry point.
    • harmonyPatch: Generates a structured ModulePatch example ready for Prefix/Postfix patching.
    • bepinexConfig: Generates comprehensive examples for Config.Bind (sliders, keybinds, strings, toggles).
  • New Server Templates:
    • empty: Minimal server mod with just a logging example.
    • editDatabase: Example showing how to edit SPT database values.
    • readJsonConfig: Allows loading a custom config.json straight from the server mod structure.
  • Dynamic Template Engine: Refactored the core scaffolding to use external .tmpl files bundled via go:embed. Template selection screens now dynamically load entries from template.json metadata files.
  • Community Templates Support: Because of the new dynamic engine, users can now easily contribute their own scaffold templates! Just create a new folder with .tmpl files and a template.json in internal/templates/ and submit a Pull Request.
  • TUI Enhancements:
    • Dynamic step navigation (skips SPT path for server mods).
    • Character counter for descriptions.
    • Graceful active item bounds-checking on lists.
This download is externally hosted.
Always scan for viruses.

Details