Starsector Console Commands - Verified
This guide outlines verified methods and commands for using the console in Starsector. 1. Setup and Activation
Standard Starsector does not have a built-in console for players. To use these commands, you must install the Console Commands mod (authored by LazyWizard). Requirements : Most versions require the mod to function correctly. Activation : Once installed, open the console in-game using in the console to list all available commands, or help
These commands allow you to modify your fleet, resources, and relationships during the campaign. Description AddCredits
Commands for world-building, exploration, and fixing gameplay hurdles. [0.98a] Console Commands v4.0.8 (2025-10-10) - Starsector
Master the Stars: Verified Starsector Console Commands Guide
Whether you're looking to bypass a grueling grind or test out experimental fleet builds, the Console Commands mod
by LazyWizard is an essential tool for any Starsector captain. In this post, we’ll dive into how to set up the console and a list of verified commands to give you total control over the Persean Sector. Getting Started: Installation & Activation
Before you can start warping reality, you need to install the mod correctly. Download Requirements : Most Starsector mods, including the console, require to function. : Place the unzipped mod folder into your Starsector/mods directory. : Launch the game, click the
button, and ensure "Console Commands" is checked before starting your save. Open the Console : While in-game, press CTRL + Backspace to bring up the command overlay. Verified Campaign Commands starsector console commands verified
These commands are perfect for managing your fleet and resources without the headache. AddCredits [amount] : Instantly bolsters your bank account. Use AddCredits 1000000 for a cool million. AddShip [ship_id] : Spawns a specific ship into your fleet. You can use the List Ships command to find the correct ID. AllBlueprints
: Unlocks every blueprint in the game, allowing you to manufacture any ship or weapon if you have a colony. InfiniteFuel / InfiniteSupplies
: Toggles whether your fleet consumes these vital resources while traveling. GoTo [target]
: Teleports your fleet directly to a planet, station, or star system. FindItem [item_id]
: Locates where a specific item (like an Alpha Core) is being sold in the Sector. Verified Combat Cheats
If a battle isn't going your way, these commands can turn the tide instantly.
Step 1: Download the Mod
Head over to the official Fractal Softworks Forum or a trusted mod repository (like the Unofficial Starsector Discord) and download the latest version of Console Commands.
How to find specific Item IDs
The most common failure point is typing the wrong ID. Use these commands first: This guide outlines verified methods and commands for
list items-> Shows all trade goods.list weapons-> Shows every weapon code.list hullmods-> Shows hullmod tags.list special_items-> Shows quest items (blueprints, nanoforges, etc.)
What is the Console Commands Mod?
Developed by the modding community (most notably maintained by LazyWizard and updated by the community over the years), Console Commands adds a fully functional development console to the game.
It acts as a "cheat engine" but is much more stable and versatile. It allows you to:
- Spawn ships, weapons, and items instantly.
- Add experience and credits.
- Reveal the map.
- Teleport across the sector.
- Adjust game settings and AI behavior.
Is it safe to use? Yes. It does not corrupt saves, provided you use it responsibly (don't try to force events that break quest logic). It is compatible with almost every other mod, including Nexerelin and Luddic Enhancement.
Starsector Console Commands — Verified Guide
Summary
- A concise, verified reference to Starsector's console commands for modders and players to inspect, test, and debug gameplay. Covers opening the console, common command groups (spawn, fleet, market, campaign, player), usage examples, permission/cheat implications, and safety tips.
Key points
- Open console: Press
~(tilde) in-game; if not opening, enable via settings or editsettings.json(add"consoleEnabled": true). - Command format:
command arg1 arg2 ...— many accept string identifiers (IDs), numbers, or flags. Use quotes around multi-word names. - Use tabs for autocompletion to reveal valid IDs and arguments.
Essential commands (examples)
- Spawn ships/fleets:
- spawn ship <ship_id> <variant_id>
— spawns a ship at coordinates. - spawn fleet <faction_id>
— spawns a fleet (size usually 1–10). - Example:
spawn ship peregrine peregrine_Standard 0 0
- spawn ship <ship_id> <variant_id>
- Give player items/credits:
- giveCredits
— adds credits. - giveItem <item_id>
— gives cargo items. - Example:
giveCredits 1000000
- giveCredits
- Market and economy:
- marketAdd <commodity_id>
` — adds commodity to current market. - marketSet <commodity_id>
` — sets market stock.
- marketAdd <commodity_id>
- Campaign actions:
- setRep <faction_id> <rep_value>` — sets reputation with a faction (range roughly -1 to +1).
- addMemory <memory_key> [value] — set campaign memory flags.
- Fleet/ship control:
- refitShip <ship_id> <variant_id>` — change variant of a ship in-scene.
- clearAI — removes AI from targeted ship (for testing).
- Debug and info:
- listFleets — lists nearby fleets and their IDs.
- showMarket — displays current market info.
- printMemory — outputs campaign memory entries.
- traceLog
` — adjusts logging verbosity.
Modder-focused commands
- reloadScripts — reloads mod scripts without restarting the game.
- dumpVariants — outputs available ship/weapon variants to log for reference.
- exportSector — writes current sector data to a file for inspection.
- testBattle
— runs automated battle tests between factions (varies by version).
Safety and best practices
- Back up your save before using commands that modify campaign state.
- Use small, incremental changes when testing (e.g., spawn one ship).
- Some commands can destabilize game state; use
savefrequently. - Avoid using commands during autosave to prevent corruption.
- For reproducible testing, note seed and exact command used.
Troubleshooting console
- Console not opening: ensure correct keybind and "consoleEnabled" true.
- Commands unrecognized: verify game version and that relevant mods are loaded; use autocompletion to check IDs.
- Autocomplete missing IDs: try
reloadScriptsor restart the game to refresh registries.
References for IDs and variants
- Use in-game autocompletion or the logs produced by
dumpVariants/exportSectorto find exact IDs. - Many mod wikis and the game's
datafolder (manifest CSVs) list IDs for ships, weapons, hullmods, and items.
Example mini-tutorial (step-by-step)
- Backup save: copy your save folder.
- Open console with
~. - Spawn a single test ship:
spawn ship peregrine peregrine_Standard 0 0 - Give yourself credits:
giveCredits 500000 - Run a battle test:
testBattle factionA factionB 5(adjust to your available commands) - Save and inspect log for output.
Short cheatsheet (common commands)
- spawn ship, spawn fleet
- giveCredits, giveItem
- setRep, addMemory
- reloadScripts, dumpVariants
- listFleets, showMarket, printMemory
If you want, I can:
- expand this into a full article with screenshots and exact command syntax for a specific Starsector version, or
- produce a printable one-page cheatsheet listing exact IDs for core factions and ships.
Pro Tips for Console Users
Essential Console Commands (The "Verified" List)
Once the console is open, you can type help to see a full list, but the list is massive. Here are the most useful, verified commands you will use 90% of the time.
Category 4: Colonies & Construction (The "Empire Builder")
| Command | Syntax | Verified Effect |
| :--- | :--- | :--- |
| Add Condition | addcondition [id] | Adds planetary conditions (e.g., addcondition farmland_bountiful). Warning: Do not add mutually exclusive conditions. |
| Remove Condition | removecondition [id] | Removes pollution or rare ore deposits. |
| Set Colony Size | setmarketsize [x] | Sets your current colony's market size (1-10). Size 10 = huge population. |
| Add Industry | addindustry [id] | (e.g., addindustry heavybatteries). Skips build time. |
| Add Structure | addstructure [id] | (e.g., addstructure waystation). |
| Make Pristine | repairall | Repairs all orbital stations and industries instantly. |