Contents
Search

--create FILE

Console Command
Command --create FILE
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 create a new map
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.

--until-tick TICK
Category
Command Line Parameters
Description
run a save until given map tick
Read More
--start-server-load-scenario FILE
Category
Command Line Parameters
Description
start a multiplayer server and load the specified scenario
Read More
--map-gen-settings FILE
Category
Command Line Parameters
Description
Map generation settings for use with --create. See data/map-gen-settings.example.json
Read More
--port N
Category
Command Line Parameters
Description
network port to use
Read More
--mp-connect ADDRESS
Category
Command Line Parameters
Description
start factorio and connect to address
Read More
--graphics-quality arg
Category
Command Line Parameters
Description
accepted values: normal, low, very-low
Read More
-v [ --verbose ]
Category
Command Line Parameters
Description
enable verbose logging
Read More
--server-id FILE
Category
Command Line Parameters
Description
Path where server ID will be stored or read from
Read More
--mod-directory PATH
Category
Command Line Parameters
Description
Mod directory to use
Read More
--map-settings FILE
Category
Command Line Parameters
Description
Map settings for use with --create. See data/base/prototypes/map-settings.lua
Read More
--shader arg
Category
Command Line Parameters
Description
enable/disable shader postprocessing (saved to configuration)
Read More
--apply-update arg
Category
Command Line Parameters
Description
immediately apply update package
Read More
--mp-connect ADDRESS
Category
Command Line Parameters
Description
ADDRESS is the IP:port of the remote host. Port is optional.
Read More
-m [ --scenario2map ] arg
Category
Command Line Parameters
Description
scenario to map conversion
Read More
--force-opengl
Category
Command Line Parameters
Description
use OpenGL for rendering
Read More
--bind ADDRESS[:PORT]
Category
Command Line Parameters
Description
IP address (and optionally port) to bind to
Read More
-s [ --map2scenario ] arg
Category
Command Line Parameters
Description
map to scenario conversion
Read More
--map-preview-scale SCALE (=1)
Category
Command Line Parameters
Description
Scale (meters per pixel) of map preview
Read More
--load-game FILE
Category
Command Line Parameters
Description
start Factorio and load a game in singleplayer
Read More
--rcon-port N
Category
Command Line Parameters
Description
Port to use for RCON
Read More