snippetbashTip
Factorio — Create and start a headless Factorio server. More information: <https://wiki.factorio.com/Multiplaye
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:
/quitDisplay 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
/quitDisplay help
{{path/to}}/factorio {{[-h|--help]}}Context
tldr-pages: linux/Factorio
Revisions (0)
No revisions yet.