Contents
Search

--version

Console Command
Command --version
Command Category Description Command line parameters can be used to set settings in the command line before the game launches, this is useful mainly for advanced users or server hosts.
Description show version information
Example None
Admin None
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.

--force-d3d
Category
Command Line Parameters
Description
use Direct3D for rendering
Read More
--no-log-rotation
Category
Command Line Parameters
Description
don't rotate log file
Read More
-v [ --verbose ]
Category
Command Line Parameters
Description
enable verbose logging
Read More
--max-texture-size N
Category
Command Line Parameters
Description
maximal size of texture that the game can use (saved to configuration). Should be power of two greater than 2048
Read More
--start-server-load-scenario FILE
Category
Command Line Parameters
Description
start a multiplayer server and load the specified scenario
Read More
--create FILE
Category
Command Line Parameters
Description
create a new map
Read More
--generate-map-preview FILE
Category
Command Line Parameters
Description
Generate preview images of the map
Read More
--until-tick TICK
Category
Command Line Parameters
Description
run a save until given map tick
Read More
--rcon-port N
Category
Command Line Parameters
Description
Port to use for RCON
Read More
--mod-directory PATH
Category
Command Line Parameters
Description
Mod directory to use
Read More
--shader arg
Category
Command Line Parameters
Description
enable/disable shader postprocessing (saved to configuration)
Read More
--load-game FILE
Category
Command Line Parameters
Description
start Factorio and load a game in singleplayer
Read More
-s [ --map2scenario ] arg
Category
Command Line Parameters
Description
map to scenario conversion
Read More
--mp-connect ADDRESS
Category
Command Line Parameters
Description
ADDRESS is the IP:port of the remote host. Port is optional.
Read More
--start-server SAVE
Category
Command Line Parameters
Description
Will start a Headless (Dedicated) server, with no GUI.
Read More
--server-whitelist FILE
Category
Command Line Parameters
Description
Path to file with server whitelist.
Read More
--mp-connect ADDRESS
Category
Command Line Parameters
Description
start factorio and connect to address
Read More
-c [ --config ] PATH
Category
Command Line Parameters
Description
config file to use
Read More