Skip to content

Console commands

Hyperspace extends the vanilla FTL debug console with its own set of commands. Any input that does not match a Hyperspace command falls through to the vanilla console, so all vanilla debug commands still work.

The console is a switch in hyperspace.xml, and the shipped file has it on:

<console enabled="true" invertCaps="true"/>

invertCaps, is also on by default in the basemod, swaps the case of typed letters: useful because many command arguments are case-sensitive while the console encourages caps.

Open the console in-game with the console hotkey (\ by default). Press Up while the console is open to recall the previously entered command.

Command names are case-insensitive; arguments (crew names, ship names, event names, blueprint names) are case-sensitive. Every id vanilla FTL ships with is listed on Vanilla ids.

CommandDescription
SCRAP <value>Adds the given amount of scrap. Negative values subtract, stopping at zero.
FUEL <value>Adds the given amount of fuel. Negative values subtract with no floor, the counter can go below zero.
MISSILES <value>Adds the given number of missiles. Negative values subtract, stopping at zero.
DRONES <value>Adds the given number of drone parts. Negative values subtract, stopping at zero.
RICHAdds 9,999,999 scrap and 800 each of missiles, fuel, and drone parts.
POORRemoves the same amounts (fuel is clamped at 0).
CommandDescription
SHIP <ship>Unlocks the named ship.
SHIP ALLPermanently unlocks all ships, vanilla and custom. Replaces the vanilla SHIP ALL, whose unlocks only last until the game is relaunched.
SHIP_CUSTOM <ship>Unlocks the named custom ship (only if that ship has an unlock defined). Append _2 or _3 to the id for the B and C layouts.
SHIP_CUSTOM_LOCK <ship>Removes the unlock for the named custom ship.
ACH <achievement>Grants the named custom achievement.
ACH_LOCK <achievement>Revokes the named custom achievement.
CommandDescription
HULL <value>Adds the given amount of hull integrity. Negative values deal damage.
SWITCH <ship>Replaces your ship with the named ship blueprint.
SWITCHALL <ship>Replaces your ship with the named blueprint and transfers over your current crew and equipment.
CommandDescription
SYS <system>Adds the named system to your ship.
SYS ALLAdds every system the ship is missing: all vanilla systems, the temporal system, and all custom systems. Systems that would be replaced by an installed custom system are skipped.
DAMAGESYS <system>Sets the named system’s health to 0 (e.g. DAMAGESYS shields).
REMOVESYS <system>Removes the named system from the ship.
GODVanilla god mode, extended by Hyperspace to also fill the reactor to the ship’s custom maxReactorLevel.
CommandDescription
WEAPON <blueprint>Adds the weapon with the given blueprint name to your inventory, bypassing slot limits.
DRONE <blueprint>Adds the named drone.
AUG <blueprint>Adds the named augment.
AUG HIDDEN <blueprint>Adds the augment without taking an augment slot. The effect still applies. There is no limit on how many augments you add this way.
CommandDescription
CREW <race>Spawns a crew member of the named race. Race ids are lowercase.
KILL <name>Kills the first player crew member whose name matches exactly.
SKILLMasters all six skills for every player crew member.
DELETECREW / COOLSWORDBROKills all crew on the currently targeted enemy ship.
CommandDescription
EVENT <event>Loads the named event at the current beacon. Unique events will not load a second time. Use LOADEVENT instead, which has no such limit.
LOADEVENT <event>Immediately loads the named event at the current beacon. Used-event and used-text-list tracking is temporarily suspended, so unique events can be loaded repeatedly for testing.
LOAD <name> [strength]Loads the named enemy ship or event at the current beacon. The number sets the sector strength, for ships only.
DELETEDestroys the enemy ship.
STORE [sector]Opens a store at the current beacon. With no argument, stock and prices match the current sector; with a number, they match that sector level.
FORCE_STORE <storeId>Forces the next store created to use the named custom store definition.
SECTOR <sector>Jumps to the named sector.
FLEET <value>Changes how far the fleet advances on your next jumps. FLEET -2 holds it still for your next two jumps, FLEET 2 adds two extra jumps of advance. The fleet itself cannot be moved.
EXITOpens the star map in next-sector selection mode, skipping the exit beacon.
CommandDescription
VAR <name> [value]Sets the player variable to the given integer. With no value, logs the current value to the Hyperspace log file.
MVAR <name> [value]Sets the metavariable to the given integer. Metavariables keep their value across runs. With no value, logs the current value.
CommandDescription
CREDITS / VICTORYTriggers the victory sequence and credits.
LUA <code>Runs the given string as Lua in the Hyperspace Lua context.
SPEED <value>Sets the game speed level. Independently, the speed hotkey toggles fast-forward on and off.
SQUISHY <text>Permanently displays the given text in the top-right corner of the screen.

All executed commands are written to the Hyperspace log file.