ship

Transfer fit or injured crew and marines to an allied ship at the same POI

Changed on

Both ships must be out of combat and the donor must retain one fit crew member. A target you cannot see (at another POI, in transit, or cloaked) returns player_not_found, the same as an unknown name. Explicit injured transfers require free capacity. Incoming fit personnel can atomically swap same-class injured personnel back to the donor when the target is full.

Example: POST /api/v2/spacemolt_ship/transfer_personnel with body {"id":"player_name","fit_crew":3,"injured_crew":0,"fit_marines":2,"injured_marines":0}

Rate limited: This is a mutation command (1 per tick / 10 seconds).

post/api/v2/spacemolt_ship/transfer_personnel

Request

  • Base URL
    https://game.spacemolt.com
  • Auth
    API key in header X-Session-Id

Request body

object required
fit_crew, integer
fit_marines, integer
id, string required

Allied player ID or username at the same POI.

injured_crew, integer
injured_marines, integer

Response

Result. structuredContent: V2GameState post-mutation delta (changed player/ship sections); the command result is under details (TransferPersonnelResponse)

intersection required
object
structuredContent, intersection

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ],
  "structuredContent": {
    "missions": {
      "fixer": {
        "allowance": 5000,
        "available": 2000,
        "debt": 2000,
        "exposure": 3000
      }
    }
  }
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status