Contents
Search

/clear

Console Command
Command /clear
Command Category Description Displays information about the game to customize your experience.
Description Clears the console.
Example /clear
Admin No
Category
How To Use

The command console is Factorio's command-line interface, which can be used for running cheat commands, as well as chatting with other players and receiving occasional status updated.

To open the console, press the / or ~ key. The ~ key is usually located below the Esc key. The / key is also usually the ? key.

The console can accept raw Lua code as well as game commands.

Use the Tab key to auto-complete commands and player IDs. Enter the first few letters and then press the Tab key.

Disclaimer: Because commands can sometimes make unexpected changed to your game, it is recommended that you save your game before using any commands.

/mute-programmable-speaker
Category
Normal Commands
Description
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.
Read More
/version
Category
Normal Commands
Description
Prints the current game version.
Read More
/help [command]
Category
Normal Commands
Description
Prints a list of available commands, the optional argument can specify the command that should be described.
Read More
/time
Category
Normal Commands
Description
Prints info about how old the map is.
Read More
/screenshot [x resolution] [y resolution] [zoom]
Category
Normal Commands
Description
Takes a screenshot with the GUI hidden, centered on the player. It is saved in the "script-output" subfolder of your User data directory. Resolution is optional and defaults to the current window size. Zoom is optional and defaults to 1.
Read More
/alerts
Category
Normal Commands
Description
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.
Read More
/h [command]
Category
Normal Commands
Description
Same as /help.
Read More
/permissions
Category
Normal Commands
Description
Opens the permissions GUI.
Read More
/color
Category
Normal Commands
Description
Changes your color. Can either be one of the pre-defined colors or RGBA value in the format of “# # # #”. Available colors: default, red, green, blue, orange, yellow, pink, purple, white, black, gray, brown, cyan, acid.
Read More
/seed
Category
Normal Commands
Description
Prints the starting map seed.
Read More
/evolution
Category
Normal Commands
Description
Prints info about the alien evolution factor.
Read More
/perf-avg-frames
Category
Normal Commands
Description
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.
Read More
/toggle-rockets-sent-gui
Category
Normal Commands
Description
Toggles if the rockets sent button is shown in the upper left corner of the screen.
Read More
/toggle-heavy-mode
Category
Normal Commands
Description
Used to investigate desyncs. Will slow down the game and make multiplayer unplayable.
Read More
/toggle-action-logging
Category
Normal Commands
Description
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.
Read More