Skip to content
/SLASHPLAY

What maximum segment size peer count does in Factorio

"maximum_segment_size_peer_count" in server-settings.json is the player count at which the largest segment size applies. SLASHPLAY's file has 10.

maximum_segment_size_peer_count

The number of connected players at which the server uses maximum_segment_size.

"maximum_segment_size_peer_count": <number>

Examples

"maximum_segment_size_peer_count": 10

The value in the example file.

Arguments

numberRequired
Connected players.

What it does

Long network messages are split into segments sent over several ticks, and their size depends on how many players are connected. Bigger segments need more upload from the server and more download from players, and changing them can make connections less stable for some players. The example file, which SLASHPLAY's file starts from, sets 10.

Good to know

  • Edit config/server-settings.json in the Files tab (Advanced, Files), then restart the server from the Power section on the General tab. It applies at the next start.

Run it on your server

Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.

Your own
Factorio server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.