Skip to content

Factorio Console Commands

Normal Commands

CommandExampleDescriptionAdmin 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/clearClears the console.No
/color /color 20 255 255Changes 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-queueEnables the
research queue.Yes
/evolution/evolutionPrints info about the alien evolution factor.No
/help [command]/helpPrints a list of available commands, the optional
argument can specify the command that should be described.No
/h [command]/hSame as /help.No
/mute-programmable-speaker <mute/unmute> <local/everyone>/mute-programmable-
speaker mute localMutes 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 100Number 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/permissionsOpens the permissions GUI.Yes
/permissions /permissions add-player DeveloperGroup
kovarexAvailable actions are add-player , create-group
, delete-group , edit-group <input_action> <true/false>,
get-player-group , remove-player , rename-group
<new_name> and resetYes
/reset-tips/reset-tipsResets 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]/screenshotTakes 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/seedPrints the starting map seed.No
/time/timePrints info about how old the map is.No
/toggle-action-logging/toggle-action-loggingToggles 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-modeUsed to investigate
desyncs.
Will slow down the game and make multiplayer unplayable.Yes
/unlock-shortcut-bar/unlock-shortcut-barUnlocks all [shortcut
bar](https://wiki.factorio.com/Shortcut_bar) items, including blueprint string
import, copy & paste, deconstruction and upgrade planner.No
/unlock-tips/unlock-tipsUnlocks all tips and tricks entries.No
/version/versionPrints the current game version.No

Multiplayer Commands

CommandExampleDescriptionAdmin only
Hello team!Console input that does not start with / is shown as a
chat message to your team.No
/admin/adminOpens the player management GUI.Yes
/admins/adminsPrints a list of game admins.No
/ban /ban xTROLLx Throwing grenades in baseBans the
specified player.Yes
/bans/bansPrints a list of banned players.No
/banlist <add/remove/get/clear> /banlist getAdds or removes a
player from the banlist. Same as /ban or /unban.No
/config <get/set> /config set password hunter2Gets 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
confirmDeletes 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 AzureDiamondDemotes the player from admin.Yes
/ignore /ignore Cthon98Prevents the chat from showing messages
from this player. Admin messages are still shown.No
/ignores/ignoresPrints a list of ignored players.No
/kick /kick xTROLLx Throwing grenades in baseKicks the
specified player.Yes
/mute /mute Cthon98Prevents the player from saying anything in
chat.Yes
/mutes/mutesAll players that are muted (can’t talk in chat).No
/open /open AzureDiamondOpens another player’s inventory.Yes
/o /o AzureDiamondSame as /open.Yes
/players [online/o/count/c]/playersPrints 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 cSame as /players.No
/promote /promote AzureDiamondPromotes the player to admin.Yes
/purge /purge Cthon98Clears 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-saveSaves 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 [player]/swap-players AzureDiamondSwaps your
character with the given player’s character, or if two players are given swaps
the two player characters.Yes
/unban /unban xTROLLxUnbans the specified player.Yes
/unignore /unignore Cthon98Allows the chat to show messages from
this player.No
/unmute /unmute Cthon98Allows the player to talk in chat again.
Yes
/whisper /whisper AzureDiamond that’s what I seeSends a
message to the specified player.No
/w /w AzureDiamond that’s what I seeSame as /whisper.
No
/whitelist <add/remove/get/clear> [player]/whitelist getAdds 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

CommandDescription
/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).
/editorToggles 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.