Factorio Console Commands
Normal Commands
| Command | Example | Description | Admin only |
|---|---|---|---|
| /alerts <enable/disable/mute/unmute> | /alerts disable turret_fire | ||
| Enables, disables, mutes, or unmutes the given | |||
| alert type. Available alerts: | |||
| entity_destroyed, entity_under_attack, not_enough_construction_robots, | |||
| no_material_for_construction, not_enough_repair packs, turret_fire, custom, | |||
| no_storage, train_out_of_fuel, fluid_mixing. | No | ||
| /clear | /clear | Clears the console. | No |
| /color | /color 20 255 255 | Changes your color. Can either be one of | |
| the pre-defined colors or [RGB | |||
| value](http://en.wikipedia.org/wiki/RGB_color_space) in the format of “# # #”. | |||
| Available colors: default, red, green, blue, orange, yellow, pink, purple, | |||
| white, black, gray, brown, cyan, acid. | No | ||
| /enable-research-queue | /enable-research-queue | Enables the | |
| research queue. | Yes | ||
| /evolution | /evolution | Prints info about the alien evolution factor. | No |
| /help [command] | /help | Prints a list of available commands, the optional | |
| argument can specify the command that should be described. | No | ||
| /h [command] | /h | Same as /help. | No |
| /mute-programmable-speaker <mute/unmute> <local/everyone> | /mute-programmable- | ||
| speaker mute local | Mutes or unmutes the global sounds created by the | ||
| Programmable Speaker. Use “local” to mute just the local client. Admins can | |||
| use “everyone” to mute the sounds for everyone on the server. | No | ||
| /perf-avg-frames | /perf-avg-frames 100 | Number of ticks/updates used | |
| to average performance counters. Default is 100. Value of 5-10 is recommended | |||
| for fast convergence, but numbers will jitter more rapidly. | No | ||
| /permissions | /permissions | Opens the permissions GUI. | Yes |
| /permissions | /permissions add-player DeveloperGroup | ||
| kovarex | Available actions are add-player | ||
| get-player-group | |||
| Yes | |||
| /reset-tips | /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] | /screenshot | Takes a | |
| screenshot with the GUI hidden, centered on the player. It is saved in the | |||
| ”script-output” subfolder of your [User data | |||
| directory](https://wiki.factorio.com/User_data_directory). Resolution is | |||
| optional and defaults to the current window size. Zoom is optional and | |||
| defaults to 1. | No | ||
| /seed | /seed | Prints the starting map seed. | No |
| /time | /time | Prints info about how old the map is. | No |
| /toggle-action-logging | /toggle-action-logging | Toggles logging all input | |
| actions performed by the game. This value isn’t persisted between game | |||
| restarts and only affects your local game in multiplayer sessions. | Yes | ||
| /toggle-heavy-mode | /toggle-heavy-mode | Used to investigate | |
| desyncs. | |||
| Will slow down the game and make multiplayer unplayable. | Yes | ||
| /unlock-shortcut-bar | /unlock-shortcut-bar | Unlocks all [shortcut | |
| bar](https://wiki.factorio.com/Shortcut_bar) items, including blueprint string | |||
| import, copy & paste, deconstruction and upgrade planner. | No | ||
| /unlock-tips | /unlock-tips | Unlocks all tips and tricks entries. | No |
| /version | /version | Prints the current game version. | No |
Multiplayer Commands
| Command | Example | Description | Admin only |
|---|---|---|---|
| Hello team! | Console input that does not start with / is shown as a | ||
| chat message to your team. | No | ||
| /admin | /admin | Opens the player management GUI. | Yes |
| /admins | /admins | Prints a list of game admins. | No |
| /ban | /ban xTROLLx Throwing grenades in base | Bans the | |
| specified player. | Yes | ||
| /bans | /bans | Prints a list of banned players. | No |
| /banlist <add/remove/get/clear> | /banlist get | Adds or removes a | |
| player from the banlist. Same as /ban or /unban. | No | ||
| /config <get/set> | /config set password hunter2 | Gets or sets | |
| various multiplayer game settings. Available configs are: afk-auto-kick, | |||
| allow-commands, allow-debug-settings, autosave-interval, autosave-only-on- | |||
| server, ignore-player-limit-for-returning-players, max-players, max-upload- | |||
| speed, only-admins-can-pause, password, require-user-verification, visibility- | |||
| lan, visibility-public. The units for the options afk-auto-kick and autosave- | |||
| interval are in minutes. | Yes | ||
| /delete-blueprint-library | /delete-blueprint-library everybody | ||
| confirm | Deletes the blueprint library storage for the given offline player | ||
| from the save file. Enter “everybody confirm” to delete the storage of all | |||
| offline players. | Yes | ||
| /demote | /demote AzureDiamond | Demotes the player from admin. | Yes |
| /ignore | /ignore Cthon98 | Prevents the chat from showing messages | |
| from this player. Admin messages are still shown. | No | ||
| /ignores | /ignores | Prints a list of ignored players. | No |
| /kick | /kick xTROLLx Throwing grenades in base | Kicks the | |
| specified player. | Yes | ||
| /mute | /mute Cthon98 | Prevents the player from saying anything in | |
| chat. | Yes | ||
| /mutes | /mutes | All players that are muted (can’t talk in chat). | No |
| /open | /open AzureDiamond | Opens another player’s inventory. | Yes |
| /o | /o AzureDiamond | Same as /open. | Yes |
| /players [online/o/count/c] | /players | Prints a list of players in the game. | |
| (parameter online/o, it prints only players that are online, count/c prints | |||
| only count) | No | ||
| /p [online/o/count/c] | /p o c | Same as /players. | No |
| /promote | /promote AzureDiamond | Promotes the player to admin. | Yes |
| /purge | /purge Cthon98 | Clears all the messages from this player from | |
| the chat log. | Yes | ||
| /reply | /reply oh, really? | Replies to the last player that | |
| whispered to you. | No | ||
| /r | /r oh, really? | Same as /reply. | No |
| /server-save | /server-save | Saves the game on the server in a multiplayer | |
| game. | Yes | ||
| /shout | /shout Hello world! | Sends a message to all players | |
| including other forces. | No | ||
| /s | /s Hello world! | Same as /shout. | No |
| /swap-players | /swap-players AzureDiamond | Swaps your | |
| character with the given player’s character, or if two players are given swaps | |||
| the two player characters. | Yes | ||
| /unban | /unban xTROLLx | Unbans the specified player. | Yes |
| /unignore | /unignore Cthon98 | Allows the chat to show messages from | |
| this player. | No | ||
| /unmute | /unmute Cthon98 | Allows the player to talk in chat again. | |
| Yes | |||
| /whisper | /whisper AzureDiamond that’s what I see | Sends a | |
| message to the specified player. | No | ||
| /w | /w AzureDiamond that’s what I see | Same as /whisper. | |
| No | |||
| /whitelist <add/remove/get/clear> [player] | /whitelist get | Adds or removes a | |
| player from the whitelist, where only whitelisted players can join the game. | |||
| Enter nothing for “player” when using “get” to print a list of all whitelisted | |||
| players. An empty whitelist disables the whitelist functionality allowing | |||
| anyone to join. | No |
Scripting and Cheat Commands
| Command | Description |
|---|---|
| /cheat | Researches all technologies and enables cheat mode. Using the |
| all option also gives the player some additional items. | |
| /command | Executes a Lua command (if allowed). |
| /c | Executes a Lua command (if allowed). |
| /editor | Toggles the map editor. |
| /measured-command | Executes a Lua command (if allowed) and measures |
| time it took. | |
| /mc | Executes a Lua command (if allowed) and measures time it took. |
| /silent-command | Executes a Lua command (if allowed) without |
| printing it to the console. | |
| /sc | Executes a Lua command (if allowed) without printing it to the |
| console. |