Skip to content

aproposmath/stationeers-example-mod

Repository files navigation

Stationeers Example Mod

This serves as a template for a code-only Stationeers mod using Stationeers Launchpad and BepInEx.

Features

  • Simple code base
  • Builds on Windows and Linux
  • Github workflow to build releases automatically
  • Uses Krafs.Publicizer to access private members
  • Example patches demonstrating common techniques:
    • Prefix and Postfix patches
    • Prefix patch skipping the original method
    • Transpiler patch modifying IL code

Get started with your own mod

  • Fork and clone the project
  • Run dotnet build to build the mod
  • Copy the resulting dll from bin/Debug/net48 to your BepInEx/plugins folder

Before publishing your mod change the following names in the source code:

  • Main.cs:6: namespace ExampleMod
  • Patches.cs:8: namespace ExampleMod
  • Main.cs:12: pluginGuid = "aproposmath-stationeers-example-mod";
  • Main.csproj:7: ExampleMod

Release a new Version

Create a new git tag and push it to GitHub. The workflow will automatically build the release and upload it to the releases page page on github.

git tag v1.2.3
git push origin v1.2.3

Installation

This mode requires Stationeers Launchpad and BepInEx. Download the latest release from the releases page and extract it into your BepInEx/plugins folder.

About

Example Code-only mod for Stationeers with github workflows

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages