HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

Factorio — Create and start a headless Factorio server. More information: <https://wiki.factorio.com/Multiplaye

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandheadlessstartfactorioandcli
linux

Problem

How to use the Factorio command: Create and start a headless Factorio server. More information: <https://wiki.factorio.com/Multiplayer>.

Solution

Factorio — Create and start a headless Factorio server. More information: <https://wiki.factorio.com/Multiplayer>.

Create a new save file:
{{path/to}}/factorio --create {{path/to/save_file.zip}}


Start a Factorio server:
{{path/to}}/factorio --start-server {{path/to/save_file.zip}}


Create a new save file with specific settings:
{{path/to}}/factorio --create {{path/to/save.zip}} --map-gen-settings {{path/to/map_gen_settings.json}} --map-settings {{path/to/map_settings.json}}


[Interactive] Shut the server gracefully:
/quit


Display help:
{{path/to}}/factorio {{[-h|--help]}}

Code Snippets

Create a new save file

{{path/to}}/factorio --create {{path/to/save_file.zip}}

Start a Factorio server

{{path/to}}/factorio --start-server {{path/to/save_file.zip}}

Create a new save file with specific settings

{{path/to}}/factorio --create {{path/to/save.zip}} --map-gen-settings {{path/to/map_gen_settings.json}} --map-settings {{path/to/map_settings.json}}

[Interactive] Shut the server gracefully

/quit

Display help

{{path/to}}/factorio {{[-h|--help]}}

Context

tldr-pages: linux/Factorio

Revisions (0)

No revisions yet.