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
    • Tutorials
  • Powered By Mother

Docking Module

The Docking Module handles docking procedures for the grid.

Caution

Docking is only recommended in space at this time. Undocking is not supported, but is coming soon. If undocking is just thrusting away from the connector, consider leveraging the thrust command with the wait command.

  • Commands
    • dock
  • Configuration

Commands

dock

Dock with a grid and specify optional connectors. If you do not provide a connector, the grids will automatically select the connectors to use. This is most useful when you are building drones, and utility vehicles with only one connector. Mother will only use connectors that are On and in a Unconnected state to reduce the changes of a collision or unsafe docking procedure.

dock <Grid Name> [--options]

Options

OptionValuesUnitDescription
localstringThe name of the connector you wish to use on the local grid.
remotestringThe name of the connector you wish to use on the remote grid.

Example

We want to dock with a grid named Mothership using the local grid's connector named MainConnector, and the remote grid's connector named Connector - MS.P1.

Terminal
# Specify both connectors by name
dock Mothership --local=MainConnector --remote="Connector - MS.P1";

# If there is one connector on our grid, we only specify the remote connector
dock Mothership --remote="Connector - MS.P1";

# Or we let the grids decide which connectors to use
dock Mothership;

Configuration

KeyValueDescription
appDistancemetersThe distance the approaching grid should approach from. Default is 30m. This is set on the connector to be used for docking.

Example

DockConnector > Custom Data
[general]
; Set the approach distance to 50 meters from the connector face
appDistance=50
Last Updated: 8/25/25, 5:37 PM
Contributors: Luke Morrison
Prev
Display Module
Next
Door Module