factorio
Calculate the prime factors of a number
TLDR
Create a new save file
Start a Factorio server
Create a new save file with specific settings
[Interactive] Shut the server gracefully
Display help
SYNOPSIS
factorio [--help] [--version] [options] [SAVEFILE]
PARAMETERS
--help
Display command usage and options.
--version
Print Factorio version info.
--start-server SAVE
Launch headless multiplayer server with given save file.
--server-settings FILE
Use custom server config JSON file.
--port PORT
Set multiplayer listen port (default 34197).
--rcon-port PORT
Set RCON remote console port (default 27015).
--rcon-password PASS
Password for RCON access.
--create SAVE
Generate new map save file.
--map-settings JSON
Map generation settings file.
--mod DIR
Load mods from directory (repeatable).
--autosave-interval SEC
Autosave frequency in seconds (default 10).
--load-game SAVE
Load existing save in client mode.
--fullscreen
Start in fullscreen mode.
--windowed
Start in windowed mode.
DESCRIPTION
The factorio command executes the Factorio game, a 2D real-time strategy game focused on building factories, automating production, and surviving alien threats on a procedurally generated planet.
It supports both interactive client mode for single-player or multiplayer, and headless server mode for dedicated multiplayer hosting, common on Linux servers.
Factorio emphasizes complex automation with conveyor belts, inserters, trains, and modular factories. Players research technologies, defend bases from biters, and launch a rocket to win.
On Linux, download from official site or Steam. Extract and run ./factorio from bin/x64/. Supports mods via --mod options. Headless mode ideal for 24/7 servers with save auto-backups and RCON admin control.
Configurable via server-settings.json for bans, whitelists, difficulty. High replayability with blueprint sharing and megabase challenges.
CAVEATS
Requires Factorio installation (native Linux binary). Not in standard repos; download from factorio.com. Headless mode logs to stdout/ factorio-current.log. High CPU/RAM for large factories. Ports must be forwarded for multiplayer.
INSTALLATION
Download .tar.gz from factorio.com/download. Extract: tar xf factorio_*.tar.gz. Run: ./bin/x64/factorio. Steam version: Steam > Factorio > Properties > Launch native Linux.
CONFIG FILES
server-settings.json: visibility, max-players, tick-rate. map-gen-settings.json: world size, resources. mod-list.json: enabled mods.
MODS
Place in data/mods/. Use Factorio mod portal. Server/client mods must match.
HISTORY
Developed by Wube Software since 2012. Linux support from alpha. Full release Dec 2020 (v1.0). Headless server added early for community hosting. Active updates via free expansions.


