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
      • Security
      • 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
      • Gas Tank Module
      • Gyroscope Module
      • Hinge Module
      • Landing Gear Module
      • Light Module
      • Flight Planning Module
      • Piston Module
      • Programmable Block Module
      • Rotor Module
      • Sensor Module
      • Sound Block Module
      • Thruster Module
      • Timer Block Module
    • Command Cheatsheet
    • Compatibility
    • Examples
  • Powered By Mother

Local Storage

Mother can save information across sessions and recompiles using LocalStorage. This module is used to store information that needs to persist across cycles, even if an error occurs or a player hits Recompile.

Clearing Data

To clear all data stored in LocalStorage, players can use the purge command with the storage module name.

Terminal
purge storage --force

Commands

get

Get a value stored in LocalStorage.

get <key>

set

Set a value in LocalStorage.

set <key> <value>

Note

The set command provides no practical use to players at this time.

Last Updated:: 3/19/25, 11:48 PM
Contributors: Luke Morrison
Prev
Block Catalogue
Next
Security