Skip to content
/SLASHPLAY

What maximum segment size does on a Factorio server

"maximum_segment_size" in server-settings.json is the largest segment size for long network messages, used with few players. SLASHPLAY's file has 100.

maximum_segment_size

The largest size for the segments long network messages are split into, used when few players are connected.

"maximum_segment_size": <number>

Examples

"maximum_segment_size": 100

The value in the example file.

Arguments

numberRequired
Segment size.

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 100.

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.
  • It only affects messages the server sends.

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.