The Console Commands mod by LazyWizard, accessible via CTRL + Backspace , is required to enable cheat codes and developer tools in Starsector. It provides essential commands for editing credits, spawning ships, enabling god mode, and manipulating faction relations. For the complete mod documentation and download, visit FractalSoftworks Forum . How to edit save file to add more credits ? - Starsector
The Console Commands mod for Starsector is a staple for both modders and players who want to bypass the late-game grind or test complex fleet compositions. Developed primarily by LazyWizard , this mod provides an in-game terminal for executing powerful cheats, quality-of-life adjustments, and deep-level script changes. 1. How to Install and Activate Unlike many games where the console is native, Starsector requires you to manually install the Console Commands mod from the official Fractal Softworks forums. Download Dependencies: You must first install LazyLib , as the console mod depends on it to function. Installation: Extract the mod folder into your Starsector mods directory (e.g., C:\Program Files (x86)\Fractal Softworks\Starsector\mods ). Activation: Enable both LazyLib and Console Commands in the Starsector launcher before starting the game. Default Keybind: Once in-game, press CTRL + Backspace to open the console overlay. 2. Essential Campaign Commands These commands are perfect for managing your fleet and resources while exploring the Persean Sector. addcredits [amount]: Instantly adds the specified number of credits to your account. addship [ship_id]: Spawns a specific ship into your fleet. You can find ship IDs by typing list ships . addaptitude [aptitude_id] [amount]: Increases your skill points in a specific category. respec: Resets your character's skills, allowing you to reallocate points without starting a new game. reveal: Removes the fog of war from the current star system, showing all hidden stations and fleets. allblueprints: Unlocks every blueprint in the game for your colonies, though it can be restricted to specific factions like allblueprints hegemony . 3. Combat Cheats and Utilities If you find yourself overwhelmed in a massive fleet battle, these commands can turn the tide instantly. god: Makes your currently controlled ship invincible. infiniteflux: Prevents your ship's flux from rising, allowing for endless shield use and weapon fire. nuke: Destroys all enemy ships currently on the battlefield. kill: Instantly destroys the ship you are currently targeting. repair: Fully repairs all ships in your fleet during combat. 4. Advanced Scripting with "RunCode" For power users, the runcode command allows for the execution of raw Java snippets. This is often used to spawn specific entities or fix save-game issues. Spawn a Gate: Users often use a specific script to spawn an inactive gate at their current location to facilitate fast travel. Adjust Colony Events: You can use runcode to manually lower "Hostile Activity" scores or progress Colony Crises if they become bugged. 5. Native Developer Mode [0.98a] Console Commands v4.0.8 (2025-10-10) - Starsector
Overview Starsector does not have a native, built-in developer console. To use console commands, you must install the "Console Commands" mod (sometimes listed as "Console Commands v3.1+"), which is one of the most popular and essential mods for testing, debugging, or sandbox gameplay. Once installed, you can open the console by pressing the Ctrl + Backspace key combination by default (configurable in lw_console_settings.json ).
Key Categories & Examples 1. General / Utility | Command | Effect | |---------|--------| | help | Lists all available commands | | help <command> | Shows details for a specific command | | list commands | Lists all registered commands | | clear | Clears console text | | devmode | Toggles developer mode (shows additional debug info) | 2. Player & Character | Command | Effect | |---------|--------| | god | Toggles invincibility (no damage to shields/hull/armor) | | infiniteflux / inf | Toggles infinite flux (weapons can fire constantly) | | infiniteammo | Toggles infinite ammo for missiles and limited-use weapons | | nocooldown | Removes system & weapon cooldowns (e.g., Phase Skimmer spam) | | setlevel <#> | Sets player character level (e.g., setlevel 15 ) | | addskillpoints <#> | Adds skill points | | addstorypoints <#> | Adds story points | | addxp <#> | Adds experience points | | setrelation <faction> <#> | Sets relationship value (e.g., setrelation hegemony -50 ) | 3. Fleet & Ships | Command | Effect | |---------|--------| | addship <shipID> | Adds ship to current fleet (e.g., addship paragon ) | | addship <shipID> <#> | Adds multiple copies | | addhullmod <modID> | Adds a hullmod to the player’s flagship | | addofficer | Adds a random officer | | addskill <skillID> | Adds a specific skill to the player (or selected officer) | | repair | Fully repairs player’s current ship | | restoreflux | Vents all flux from player’s current ship | 4. Economy & Items | Command | Effect | |---------|--------| | addcredits <#> | Adds credits | | addsupplies <#> | Adds supplies | | addfuel <#> | Adds fuel | | addweapon <weaponID> | Adds a weapon to cargo | | addfighter <wingID> | Adds a fighter wing to cargo | | addcommodity <commodityID> <#> | Adds any commodity (e.g., addcommodity heavy_armaments 500 ) | | addblueprint <bpID> | Adds a blueprint (ship/weapon/fighter) | 5. Campaign & Map | Command | Effect | |---------|--------| | goto <entity> | Teleports fleet to a specific entity (e.g., goto Jangala ) | | goto location_x,location_y | Teleports to coordinates | | reveal | Reveals entire campaign map (removes fog of war) | | teleport | Teleports mouse-over target to your fleet (or vice versa) | | sector | Lists all star systems/planets | | find <name> | Finds an entity by name and gives goto command | 6. Combat (during battle) | 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 | starsector console commands
Important Notes
Mod Installation – Requires LazyLib and MagicLib (common dependencies). Install via unzipping into Starsector/mods/ and enabling in the launcher. Case Sensitivity – Item/ship IDs are case-sensitive . Use list ships or list weapons in console to see exact IDs. Saving – Using console commands does not mark your save as "modified" in a way that blocks achievements, but it can break intended progression or story flags if used carelessly. Targeting – Many commands (like kill , damage , addhullmod ) apply to the currently targeted object (ship in combat, planet in campaign, etc.). Faction IDs – Examples: hegemony , tritachyon , luddic_path , pirates , independent , sindrian_diktat , player (for player faction).
Where to Find Full Command Lists
In-game : Type help in console, then list commands , list ships , list weapons , list hullmods , list factions , list commodities Mod page : Fractal Softworks Forum → Mods → "Console Commands" (by LazyWizard) GitHub : LazyWizard’s Starsector-Console-Commands repo (if still public)
If you need a specific command (e.g., "how to add a Paragon blueprint" or "set max level"), let me know and I can provide the exact syntax.
Unlocking the Secrets of Starsector: A Guide to Console Commands Starsector, the popular space-based strategy game developed by Fractalsoft, has captivated gamers with its rich gameplay and immersive universe. For players seeking to enhance their experience, unlock new features, or simply have fun, console commands offer a gateway to exploring the game's deeper mechanics. In this write-up, we'll delve into the world of Starsector console commands, uncovering their uses, benefits, and how to use them effectively. What are Starsector Console Commands? Console commands in Starsector are special codes that can be entered into the game's console to manipulate various aspects of the game. These commands can be used to enable cheats, modify game settings, spawn objects or ships, and even alter the game's economy. Console commands are often used by developers and testers to debug and test the game, but they have also become a popular tool among players looking to experiment and have fun. How to Access the Console in Starsector To access the console in Starsector, players need to press the ~ key (also known as the tilde key) on their keyboard. This will open the console window, where players can type in commands and press Enter to execute them. Note that some commands may require the game to be in debug mode or have specific conditions met before they can be used. Common Starsector Console Commands Here are some popular and useful console commands in Starsector: The Console Commands mod by LazyWizard, accessible via
help : Displays a list of available console commands. exit : Closes the console window. cheat : Enables or disables cheat mode, allowing players to use other commands. addship [shipid] : Spawns a ship with the specified ID. addmarket [marketid] : Adds a market with the specified ID to the game. setplayer [attribute] [value] : Sets a player attribute, such as credits, rep, or skill levels. spawn [objectid] : Spawns an object, such as a ship or asteroid, at the player's location. economy [sector] [type] [value] : Modifies the economy of a sector, such as setting the supply or demand of a resource.
Using Console Commands Effectively While console commands can be a lot of fun to experiment with, they can also be used to enhance gameplay and strategy. Here are some tips for using console commands effectively: