Factorio has a complex history of console development. It’s a very powerful tool, much more powerful than your ordinary game console. Here, I list all Factorio console commands and cheats, including a list of special scripts that can add various items to your game.
All Console Commands and Cheats in Factorio
I was amazed to discover that the console in Factorio allows you not only to use typical commands and cheats but also to use it as a scripting or programming tool. In this way, you can change all sorts of parameters of the gameplay to your liking. But before you can start using this tool, here’s how to activate the console in Factorio:
- Start the game and load your save.
- Press either the “/” or the “~” (tilde) key to open the console.
- Enter a command and press “Enter.”
Regular Console Commands
Commands | Effects | Administrations |
---|---|---|
/alerts <enable/disable/mute/unmute> <alert> | Enables, disables, mutes, or unmutes the given alert type. | No |
/clear | Clears the console. | No |
/color <color> | Changes your color. | No |
/enable-research-queue | Enables the research queue. | Yes |
/evolution | Prints info about the alien evolution factor. | No |
/help [command] | Prints a list of available commands. | No |
/h [command] | Same as /help. | No |
/mute-programmable-speaker <mute/unmute> <local/everyone> | Mutes or unmutes the global sounds created by the Programmable Speaker. | No |
/perf-avg-frames <number> | Number of ticks/updates used to average performance counters. Default is 100. | No |
/permissions | Opens the permissions GUI. | Yes |
/permissions <action> <parameters> | Grants action permissions. | Yes |
/reset-tips | Resets the state of the tips and tricks as if the game was just started for the first time. | No |
/screenshot [x resolution] [y resolution] [zoom] | Takes a screenshot with the GUI hidden, centered on the player. | No |
/seed | Prints the starting map seed. | No |
/time | Prints info about how old the map is. | No |
/toggle-action-logging | Toggles logging all input actions performed by the game. | Yes |
/toggle-heavy-mode | Slows down the game and make multiplayer unplayable. | Yes |
/unlock-shortcut-bar | Unlocks all shortcut bar items. | No |
/unlock-tips | Unlocks all tips and tricks entries. | No |
/version | Prints the current game version. | No |
![Complex grid in Factorio](https://www.gameskinny.com/wp-content/uploads/2024/04/all-factorio-console-commands-and-cheats-grid.jpg)
Multiplayer Console Commands
Commands | Effects | Administrations |
---|---|---|
<message> | Console is shown as a chat message to your team. | No |
/admin | Opens the player management GUI. | Yes |
/admins | Prints a list of game admins. | No |
/ban <player> <reason> | Bans the specified player. | Yes |
/bans | Prints a list of banned players. | No |
/banlist <add/remove/get/clear> <player> | Adds or removes a player from the banlist. Same as /ban or /unban. | No |
/config | Opens the server configuration GUI. | Yes |
/config <get/set> <option> <value> | Gets or sets various multiplayer game settings. | Yes |
/delete-blueprint-library <player> | Deletes the blueprint library storage for the given offline player from the save file. | Yes |
/demote <player> | Demotes the player from admin. | Yes |
/ignore <player> | Prevents the chat from showing messages from this player. | No |
/ignores | Prints a list of ignored players. | No |
/kick <player> <reason> | Kicks the specified player. | Yes |
/mute <player> | Prevents the player from saying anything in chat. | Yes |
/mutes | All players that are muted can’t talk in chat. | No |
/open <player> | Opens another player’s inventory. | Yes |
/o <player> | Same as /open. | Yes |
/players [online/o/count/c] | Prints a list of players in the game. | No |
/p [online/o/count/c] | Same as /players. | No |
/promote <player> | Promotes the player to admin. | Yes |
/purge <player> | Clears all the messages from this player from the chat log. | Yes |
/reply <message> | Replies to the last player that whispered to you. | No |
/r <message> | Same as /reply. | No |
/server-save | Saves the game on the server in a multiplayer game. | Yes |
/shout <message> | Sends a message to all players including other forces. | No |
/s <message> | Same as /shout. | No |
/swap-players <player> [player] | Swaps your character with the given player’s character. | Yes |
/unban <player> | Unbans the specified player. | Yes |
/unignore <player> | Allows the chat to show messages from this player. | No |
/unmute <player> | Allows the player to talk in chat again. | Yes |
/whisper <player> <message> | Sends a message to the specified player. | No |
/w <player> <message> | Same as /whisper. | No |
/whitelist <add/remove/get/clear> [player] | Adds or removes a player from the whitelist. | No |
![Attack of the bugs in Factorio](https://www.gameskinny.com/wp-content/uploads/2024/04/all-factorio-console-commands-and-cheats-bugs.jpg)
Scripting Console Commands
The scripting commands are available to all players if allowed by the administrator, adding and changing various game scripts. With the help of these cheats, I’m able to add all sorts of items to the game via the scripting commands that are all listed in this comprehensive Steam guide.
Activate your cheats via the commands below and start adding scripts for items and their quantities. But I must warn you that as soon as you start using these cheats, all achievements will be automatically deleted from your save file.
Commands | Effects |
---|---|
/cheat <all> | Researches all technologies and enables cheat mode. |
/command <command> | Executes a Lua command. |
/c <command> | Same as /command. |
/editor | Toggles the map editor. |
/measured-command <command> | Executes a Lua command and measures time it took. |
/mc <command> | Same as /measured-command. |
/silent-command <command> | Executes a Lua command without printing it to the console. |
/sc <command> | Same as /silent-command. |
That’s it for my list of all Factorio console commands and cheats. Stay tuned for more Factorio tips and tricks articles, including a Complete Guide to Oil Processing.
Published: Apr 22, 2024 08:00 am