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

Configuration

Mother manages both the Programmable Block's Custom Data, as well as the Custom Data on each block. This allows players to localize their configurations while continuing to make use of Mother's other capabilities.

  • Accessing Mother's Configuration

For information how to access block configurations, see the Block Configuration documentation.

Accessing Mother's Configuration

Mother is primarily customized via the Custom Data field on the Programmable Block. We went to access the General > Debug value of our configuration:

Mother > Custom Data
[general]
debug=true

We can easily get the value from it's section (general) and by its key (debug).

bool IsDebugMode = Mother.GetModule<Configuration>().Get("general.debug");

Info

The Get allows section->key access using a . separator. This is a convenience method for accessing the MyIni object directly.

Last Updated: 8/8/25, 10:08 PM
Contributors: Luke Morrison, lukejamesmorrison
Prev
Command Bus
Next
Event Bus