Skip to content
/SLASHPLAY

How to set max players on a Factorio server

Set "max_players": 8 in config/server-settings.json in your SLASHPLAY server's Files tab, then restart. 0, the default, means no limit.

max_players

The most players who can be connected at once. 0, the default, means no limit. Admins can join even when the server is full.

"max_players": <number>

Examples

"max_players": 8

At most 8 players at once.

"max_players": 0

No limit.

Arguments

numberRequired
Player limit, or 0 for none.

What it does

Set a limit if a big crowd makes the game stutter for everyone. Players who played before can be let in past it with ignore_player_limit_for_returning_players.

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.
  • SLASHPLAY's file has 0, so there's no limit.
  • /config set max-players 8 changes it until the next restart.

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.