Mother DocsMother Docs
Buy me a Coffee
Steam Workshop
Discord
  • Mother OS (Ingame Script)
Buy me a Coffee
Steam Workshop
Discord
  • Mother OS (Ingame Script)
  • Mother OS (Ingame Script)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Command Line Interface (CLI)
      • Configuration
      • Modules
    • Core Modules

      • Activity Monitor
      • Almanac
      • Block Catalogue
      • Local Storage
      • Intergrid Message Service
    • Extension Modules

      • Air Vent Module
      • Battery Module
      • Terminal Block Module
      • Cockpit Module
      • Connector Module
      • Display Module
      • Docking Module
      • Door Module
      • Flight Control Module
      • Flight Planning Module
      • Gas Tank Module
      • Gyroscope Module
      • Hinge Module
      • Landing Gear Module
      • Light Module
      • Map Module
      • Piston Module
      • Programmable Block Module
      • Rotor Module
      • Screen Module
      • Sensor Module
      • Sorter Module
      • Sound Block Module
      • Thruster Module
      • Timer Block Module
    • Command Cheatsheet
    • Compatibility
    • Examples
  • Mother Core (Script Framework)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Architecture Overview
      • Managing Script Size & Complexity
    • Building A Module
    • Console (CLI)
    • Core Modules
      • Activity Monitor
      • Almanac
      • Block Catalogue
      • Clock
      • Command Bus
      • Configuration
      • Event Bus
      • Intergrid Message Service
      • Local Storage
      • Terminal
    • Utilities

      • Color Helper
      • Security
      • Serializer
  • Powered By Mother

Installation

Creating a custom Mother project is straight forward. We will need an IDE like Visual Studio, and several Nuget packages to get started. After that you can use several console commands to simplify your development.

  • 1. Install MDK2
  • 2. Install Mother CLI Nuget Package
  • 3. Create a new Project
  • 4. Create Your First Module
  • 5. Build your Project
  • 4. Play

1. Install MDK2

First you will need MDK2, an amazing developer kit that Malware has created. I highly recommend Visual Studio for developing scripts - it's great.

Malware MDK2 Packages

2. Install Mother CLI Nuget Package

To simplify building projects, you should install Mother CLI which will assist you in quickly building out your project so you can get right to work without worrying about wiring things up.

Mother Packages

Install Mother CLI using the following command in your terminal:

Console/Terminal
dotnet tool install --global Mother.CLI

This will make the mother command available across your projects.

Important

You should install Mother CLI as a global dotnet package. Due to differing .NetFramework versions, it cannot be installed for a specific project.

3. Create a new Project

Now that we have Mother CLI installed, we can simply create a new project in our current folder with the new command:

Console/Terminal
mother new ExampleProject

Note

This framework only includes Core Modules shipped with the Mother OS in-game script.

After running the command, you should now have an ExampleProject folder containing your default project files. With a few exceptions, this folder will look similar to the MDK2 Progammable Block Script template. Mother CLI will automatically download all Mother Core modules into your project.

Example folder structure:

sds
SpaceEngineersScripts/
├── ExampleProject/
    ├── Program.cs
    ├── thumb.png
    ├── Core/
    ├── Modules/
    ├── ...
├── Mother OS/
├── Mother GUI/

4. Create Your First Module

Mother scripts store all of their logic in Modules. Developers can access many powerful features by extending the BaseExtensionModule class. To make this simple, Mother exposes the make:module command to quickly create new modules with the necessary scaffolding.

Console/Terminal
mother make:module ExampleModule

You should now see an ExampleModule in the Modules folder:

ExampleProject/
├── Program.cs
├── thumb.png
├── Modules/
    ├── ExampleModule/
        ├── ExampleModule.cs

Not bad huh? We've only scratched the surface. Mother CLI can also create commands and events.

5. Build your Project

Use Ctrl + B to build your script. The build tool should automatically save your script into the appropriate directory, for access in the game.

Scripts are typcially found in C:\Users\{USER}\AppData\Roaming\SpaceEngineers\IngameScripts\local

You now have everything you need to get started. Check out Creating a Module next for more info on Module creation and using terminal commands to expose functions to players easily.

4. Play

When playing Space Engineers, your script should be available via the in game Edit menu on a Programmable Block.

Editing Programmable Block Script

The click Browse Scripts to view all available programmable block scripts.

Browse Programmable Block Script

Double-click the script thumbnail, or click Copy to editor:

Selecting Programmable Block Script

Finally, click Ok and your script shoot immediately begin its boot sequence.

Saving Programmable Block Script

Last Updated: 9/28/25, 8:12 PM
Contributors: Luke Morrison, lukejamesmorrison
Prev
Installation
Next
Architecture Overview