Factorio's server setup is super straight forward. They offer a free dedicated server download, that can be downloaded by everyone.
You can find the download on their homepage.
- Pick a directory where you want your game server to be located. This directory will be referred to as
- You might need to install the
- Untar the downloaded archive into this folder with
tar -xf factorio_headless_x64_*.tar.xz -C $PARENT_DIR.
- Your server should now be located in the
factoriodirectory will be referred to as
- The binary for starting the server is located at
The server has a configuration file at
_comment_* field for pretty much every configuration variable explaining their function.
Since their documentation is this excellent, it
How to create a Map
Via the Game Interface
In my opinion, the easiest way of creating a map is to create it locally on your client. This allows you to quickly check the map and verify that all settings are to your likings.
When you're happy with the created map, save the map and copy your local
saves folder to
Via the Command Line Interface
The Factorio server is perfectly capable of creating a map as well.
--create $FILE flag is responsible for creating a new map, but also requires the
--map-settings $SETTINGS_FILE option for configuring the map generation parameters.
$GAME_DIR/bin/x64/factorio --help for more information and up-to-date explanation of what to do.
Start the Server
Starting the server is also very straight forward.
--start-server-load-latest flag tells Factorio to take your newest save file in the directory.
Make sure that your generated/copied file in the server's
save folder is the one with the most up-to-date change date.
factorio $GAME_DIR/bin/x64/factorio \ --start-server-load-latest \ --server-settings $GAME_DIR/config/server-settings.json