To use console commands in Starsector , you must install the Console Commands mod created by LazyWizard . This mod requires the library to function. Starsector Getting Started Open the Console while on the campaign map or during combat. Basic Controls : Execute a command.
: Cycle through command history or select from autocomplete suggestions. : Confirm an autocomplete suggestion. to see a full list of available commands or help [command] for specific instructions. Starsector Essential Campaign Commands
These commands are used while navigating the sector map to manage your fleet and resources. Add Credits AddCredits [amount] — Grants the specified amount of money. Add Resources AddSupplies AddMarines
followed by an amount. Leaving the amount blank often tops off your current capacity. Spawn Ships AddShip [hull_id] [optional: amount] — Adds a ship to your fleet. Use list ships to find valid hull IDs. AddItem [item_id] [amount] — Adds specific items (e.g., AddItem AlphaCore 5 Character Growth AddXP [amount] AddSkillPoints [amount] AddStoryPoints [amount] Quick Travel GoTo [target]
— Instantly teleports your fleet to a specific planet, station, or star system. Reveal Map — Removes fog of war from the current star system. Starsector Combat Commands
These commands provide advantages during active tactical battles. — Makes the player-controlled ship invulnerable. Infinite Resources InfiniteAmmo InfiniteFlux InfiniteCR (Combat Readiness). Insta-Kill — Destroys the currently targeted enemy ship. Nuclear Strike — Deals massive damage to all enemy ships on the field. End Battle — Instantly finishes the current battle. Starsector Utility & Advanced Commands List Commands List [category] list ships list weapons list hulls ) helps you find the correct IDs for spawning items. Repair Fleet
— Fully repairs all ships in your fleet and restores their CR. Run Custom Code RunCode [java_code]
— Allows advanced users to execute raw Java snippets for complex tasks, such as spawning stable locations or creating custom planets. — Allows you to reallocate your character's skill points. Starsector How to cheat ? - Starsector
ctrl+backspace to open the console, it will prompt the instructions open loading a save. Starsector [0.98a] Console Commands v4.0.8 (2025-10-10) - Starsector starsector console commands
Starsector console commands are essential tools for players looking to skip the grind, fix campaign softlocks, or experiment with endgame fleet builds without spending dozens of hours salvaging. While the base game does not include a traditional developer console, the community-standard Console Commands mod adds a powerful overlay that integrates directly into the game engine. How to Install the Console Commands Mod
To use most commands, you must first install the Console Commands mod by LazyWizard.
Download and Unzip: Download the mod and extract the folder into your Starsector /mods directory.
Enable in Launcher: Run the Starsector launcher, click the Mods button, and check the box next to Console Commands.
Summon the Console: Once in-game, press Ctrl + Backspace to open the command overlay. Essential Campaign Commands
These commands are used while navigating the sector map to manage resources and progression.
AddCredits [amount]: Instantly adds the specified number of credits to your account.
AddSupplies / AddFuel / AddCrew [amount]: Replenishes critical fleet resources. To use console commands in Starsector , you
AddXP [amount]: Grants experience points to reach higher levels faster.
Survey All: Instantly surveys every planet in the game, allowing you to filter for optimal colony locations.
AllBlueprints: Unlocks every ship, weapon, and fighter blueprint in the game.
GoTo [target]: Instantly teleports your fleet to a specific planet or star system.
Reveal: Removes the fog of war from the current star system. Combat and Tactical Cheats
Use these commands while in a tactical battle to turn the tide or test ship performance. You can string multiple commands together using a semicolon, such as god;nocooldown;infiniteammo. God: Makes your currently controlled ship invulnerable.
InfiniteFlux / InfiniteAmmo: Removes flux build-up and ammunition limits.
Nuke: Destroys all enemy ships currently on the battlefield. Kill: Destroys the ship currently under your reticle. Example: help addship
EndCombat: Instantly ends the current battle with your side as the victor. Advanced Utility: Finding and Spawning Items
If you are looking for a specific rare ship or weapon, use the "List" and "Add" commands in tandem. [0.98a] Console Commands v4.0.8 (2025-10-10) - Starsector
Typing out addweapon heavyautocannon 10 every time can get tedious. Here are pro-tips to streamline the process:
1. Autocomplete is your Friend When typing a command, press the Tab key. The console will attempt to auto-complete the command or show you a list of options. This is essential for finding specific ship or weapon IDs without tabbing out to a wiki.
2. Copy and Paste If you are running a complex list of commands (like spawning a specific fleet composition), you can write them in a notepad, copy them, and paste them directly into the console using standard Ctrl+V commands.
3. The "Help" Command
If you forget the syntax, simply type help. You can also type help [command] to get specific usage instructions.
help addshipThese are for when the game bugs out or you make a terrible mistake.
runcode: This is arguably the most powerful command in the mod. It allows you to run raw Java code to alter the game state.
runcode Global.getSector().getPlayerFleet().addSupplies(1000) (Gives you 1000 supplies).god: Toggles invincibility. Your ships will not take hull damage, and your flux will not build up from shields or weapons.nocooldown: Toggles weapon cooldowns. Your guns will fire as fast as they can cycle. Combine with god to destroy entire fleets in seconds.infiniteflux: Toggles infinite flux for your ship. You can keep your fortress shield up forever or fire heavy ballistics non-stop.| Command | Effect |
|---------|--------|
| kill | Destroys targeted enemy ship |
| kill all | Destroys all enemy ships (player wins) |
| autoresolve | Forces instant combat resolution (autoresolve) |
| damage <#> | Deals specified hull damage to targeted ship |
You cannot access the console with the vanilla game. You must install the "Console Commands" mod. The most reliable way to do this is via the Starsector Mod Manager, but manual installation is straightforward:
C:\Program Files\Starsector).mods directory.Once activated, the mod runs in the background of your campaign, waiting for your input.