RICHCOLN.COM
X4 Foundations Console Commands Apr 2026
Enable cheat mode in the console:
set_cheat true Or add -cheat to Steam launch options. | Command | Effect | |---------|--------| | help | List all available commands | | help [command] | Show usage for a specific command | | eval "some lua code" | Run Lua directly | | set_cheat true | Enable cheat mode | | addmoney <amount> | Add credits (cheat mode) | | addship <ship macro> <owner> | Spawn a ship | | teleport <zone> | Move player to a zone | | godmode true/false | Toggle invincibility | | reveal_all_sectors | Reveal full map | | add_blueprints_to_player | Unlock all blueprints | | finish_research | Complete all research instantly | | set_relation <faction> <faction> <value> | Change faction standing | | debug_show_asteroid_info | Debug asteroid data | | debug_show_highway_connections | Visualize highway links | Example: Adding Money eval "player:addMoney(10000000)" Or if addmoney works directly (depends on version): X4 Foundations Console Commands