Starsector Console Commands Verified Online

| 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. |

Use these carefully—they kill the challenge.

| Command | Syntax | Verified Effect | | :--- | :--- | :--- | | God Mode | god | Your flagship takes zero damage. | | Infinite Ammo | infiniteammo | Never reload ballistic/missile weapons. | | No Flux | noflux | You can fire weapons and shield at zero flux cost. | | Kill Enemy | kill [enemy_id] | In combat, click an enemy and type kill to instantly destroy them. | | Force Win Combat | forcewin | Ends the current battle instantly with you as the victor. |


  • Tab Completion: You can often press the Tab key while typing a command to auto-complete it or see suggestions.
  • Note: Using console commands typically disables achievements or can corrupt save files if used incorrectly. Always back up your save before spawning in large numbers of entities.

    Based on the Console Commands v4.0.8 mod , you can create an "Instant System Overhaul" feature using verified commands and the powerful Starsector Instant System Overhaul Feature

    This feature allows you to terraform or customize a system on the fly. Spawn a Custom Planet : In an empty system, use

    to create a gas giant ("Gigantus") using specific parameters to set its position, type, and size based on the player's location. Add Advanced Conditions : Once at your new planet, add rare resources with addcondition volatiles_plentiful addcondition ruins_vast Generate a Stable Point : Use a specific

    snippet to add a command entity (e.g., for a Comm Relay) that orbits the star. Starsector Verified Core Commands Quickly set up your empire using these commands: Starsector Blueprint Acquisition addspecial [blueprint_id] to instantly learn blueprints. Officer Generation addofficer for instant recruitment. Story Progression addstorypoints [number] for instant progression. Starsector If you'd like, I can: Show you how to spawn specific ships with exact hullmods Provide code to change faction relations Give you a list of Dev Mode hotkeys for combat testing How would you like to customize your playthrough [0.98a] Console Commands v4.0.8 (2025-10-10) - Starsector

    Here’s a solid, unbiased review of the mod “Console Commands” for Starsector, verified against the current game version (0.97a as of this writing).


    | Starsector Version | Console Commands Mod Version | Verified Working? | |--------------------|-----------------------------|-------------------| | 0.97a-RC11 | 2024 v3.1+ | ✅ Yes | | 0.96a-RC10 | 2023 v3.0 | ✅ Yes | | 0.95.1a-RC6 | 2022 v3.0 | ✅ Yes |

    All major modpacks (Nexerelin, Secrets of the Frontier, Tahlan, Diable, etc.) are fully compatible as long as the console mod is loaded after them in mods.json order.


    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.

    Verdict: Essential for testing, troubleshooting, and sandbox play. Optional for purists.

    | Command | Syntax | Effect | |---------|--------|--------| | Add credits | addcredits 500000 | Adds money instantly. | | Add supplies | addsupplies 1000 | Adds fuel, supplies, crew, and heavy machinery. | | Add hull | addhull harbinger | Adds a ship to your fleet (use ship ID). | | Add weapon | addweapon tachyon_lance | Adds a weapon to cargo. | | Add wing | addwing thunder | Adds fighter wing to cargo. | | Add special item | addspecial pristine_nanoforge | Adds colony items, AI cores, etc. | | Repair all | repair | Instantly repairs and restores CR of all ships. | | Remove all damage | alldamage (or god) | Toggles god mode for flagship. | | Infinite supplies/fuel | infinitefuel, infinitesupplies | Toggles infinite resource consumption. | | Add XP | addxp 500000 | Adds experience points. | | Add skill | addskill 3 | Adds a skill level (useful with addxp). | | Add story point | addstorypoints 10 | Adds story points. | | Show all planets | showall | Reveals entire map (no fog of war). | | Force market update | forcemarketupdate | Refreshes all market inventories (good for hunting rare items). | | Increase relations | setrelation 100 hegemony | Sets faction standing. | | Add special hullmod | addhullmod heavyarmor | Installs a hullmod on flagship. | | Run a script | runcode CodeHere | Executes raw Java code (advanced). |


    Additional Tips and Tricks

    Conclusion

    Starsector console commands offer a wealth of possibilities for players, from simple gameplay adjustments to complex debugging and testing tools. This guide has verified and compiled a comprehensive list of console commands, providing a solid foundation for players to explore and enhance their Starsector experience. Whether you're a seasoned player or a newcomer, mastering these commands will help you unlock the full potential of this engaging space-exploration simulation game.

    The primary way to use console commands in Starsector is via the Console Commands Mod, as the base game does not have a built-in developer console enabled for players. 🛠️ Setup and Activation starsector console commands verified

    Required Mod: Download and install the Console Commands mod from the Fractal Softworks forum.

    Open Console: Press Ctrl + Backspace while in-game (on the campaign map or in combat).

    Help Command: Type help to see a full list of available commands.

    Targeting: Most commands apply to your current fleet or the object you are currently interacting with. 🚀 Common Verified Commands Resources & Economy

    Add Credits: addcredits [amount] — Adds the specified number of credits to your account.

    Add Story Points: addstorypoints [amount] — Grants story points for skills or hull mods.

    Add Items: additem [id] [amount] — Adds specific commodities (e.g., heavy_machinery, supplies). Fleet & Ships

    Add Ship: addship [ship_id] — Spawns a specific ship into your fleet.

    Repair All: repair — Instantly repairs all ships in your fleet and restores combat readiness.

    Infinite Ammo: infiniteammo — Toggles unlimited ammunition during tactical combat. Exploration & World

    Reveal Map: reveal — Removes the "fog of war" from the current star system.

    List Systems: list systems — Displays IDs for all star systems in the sector.

    List Planets: list planets — Shows IDs for all planets within your current system.

    Go To: goto [target_id] — Instantly teleports your fleet to a specific planet or station. Reputation & Progression

    Set Reputation: setrelationship [faction_id] [value] — Changes your standing with a faction (values range from -100 to 100).

    Add XP: addxp [amount] — Grants experience points to your character.

    All Technologies: alltechnologies — Unlocks all blueprints for colonies. ⚠️ Important Usage Notes | Command | Syntax | Verified Effect |

    Save Backup: Always back up your save file before using heavy world-altering commands, as some cannot be undone.

    ID Accuracy: Commands like addship require the internal ID (e.g., hammerhead_Elite), not the display name. Use list ships to find correct IDs.

    Combat vs. Campaign: Some commands only work during active battles, while others are strictly for the overworld map.

    If you're looking for a specific ship ID or a faction's internal code, I can pull those up for you—which one are you trying to find? [0.98a] Console Commands v4.0.8 (2025-10-10) - Starsector

    A unique feature of the verified Starsector Console Commands mod is the runcode command.

    This feature utilizes the Janino library to compile and execute Java code in real-time directly within the running game environment. It allows users to perform complex actions that go beyond standard cheats, such as:

    Real-time Scripting: Modifying game variables or executing custom logic without restarting the game.

    Deep Debugging: Accessing the game's internal API to troubleshoot mods or game states.

    Custom Adjustments: Giving yourself specific ships, weapons, or instantly changing faction reputations.

    To use these features, you typically summon the console in-game by pressing Ctrl + Backspace.

    The most detailed "paper" on verified Starsector console commands isn't a formal academic document, but rather the official mod documentation and forum repository for the Console Commands mod by LazyWizard.

    This resource serves as the "source of truth" for the community, providing a verified list of commands and technical implementation details. Key Technical Aspects of the Mod

    Access Mechanics: Once installed, the console is accessed via Ctrl+Backspace in-game.

    Code Execution: A unique feature is the runcode command, which uses the Janino library to compile and execute Java code in real-time within the running game environment.

    Verification & Safety: The mod is designed to be "safely untaggable," meaning it can be removed from a save file without corrupting the game data. Verified Essential Commands

    According to the Starsector Wiki and community guides, these are the most reliable commands for players: Information Gathering:

    help [command]: Provides specific documentation for any verified command. Tab Completion: You can often press the Tab

    list blueprints: Displays all available blueprints and packages in the current game version.

    showloc: Displays the player's current exact coordinates in the sector. Campaign Utilities:

    addspecial [item_id]: Spawns specific items (like blueprints) directly into your inventory.

    findship [hull_id]: Locates where specific ships are currently being sold in faction markets. reveal: Toggles system-wide sensor visibility. Technical/Dev Mode:

    devmode: Toggles the game's native developer mode (independent of the mod), which allows for instant combat victories using the Backspace key. Deep Dive for Developers

    For those interested in the technical architecture, the Console Commands GitHub repository contains the source code and build instructions using Gradle, offering an "under the hood" look at how these commands interface with the Starsector engine. Intro to Modding | StarSector Wiki

    A guide to StarSector console commands! Here are some verified console commands for StarSector:

    Note: These commands are case-sensitive and should be entered into the console without the quotes.

    General Commands

    Gameplay Commands

    Ship Commands

    Map Commands

    Debug Commands

    Other Commands

    Verified Sources:

    Keep in mind that some commands might be removed or changed in future updates. Always check the official sources for the most up-to-date information.