Factorio server-settings.json Generator

Factorio's server-settings.json ist strenges JSON, was auf eine bestimmte Art und Weise unnachgiebig ist, die fast jeden erwischt: führende Kommas.

Mit einem Voreinstellung beginnen

Visuelle Einstellungen

json Format
Identity

Name shown in the public server browser.

Description in the browser.

Comma-separated tags used by the server browser filters.

Gameplay

Who may run console commands. Note that using commands disables achievements for the save.

World

Minutes between autosaves. Each one briefly stutters a large factory, so long intervals trade safety for smoothness.

How many autosaves to rotate through.

Players & Access

0 means unlimited, not closed. Setting it to 0 to block joins gives you an uncapped public server instead — use a password or the visibility settings for that.

Join password. Unquoted numbers are a JSON error here, so a numeric password still needs quotes.

Verifies players against their Factorio account.

Minutes before an idle player is kicked. 0 disables it.

Performance

Pauses the game when nobody is connected. Your factory stops producing while the server is empty.

Saves in a background process so the game does not stall. Uses roughly double the memory during a save.

Network

Publishes the server to the public list. This — not your router — is what decides whether the server appears in the browser or in an external status check.

Announces the server on the local network.

Factorio account username. Required for public visibility; without valid credentials the server stays invisible however it is configured.

Factorio account token that goes with the username. Treat it like a password.

server-settings.json

usernamePublic visibility needs valid Factorio account credentials. Without them the server runs but never appears in the browser or in a status check.
max_players0 means unlimited, not closed. Use a password or the visibility settings to restrict who can join.
{
  "name": "Spawnly Factory",
  "description": "The factory grows.",
  "tags": "",
  "max_players": 0,
  "game_password": "",
  "require_user_verification": 1,
  "visibility_public": 1,
  "visibility_lan": 1,
  "username": "",
  "token": "",
  "autosave_interval": 10,
  "autosave_slots": 5,
  "afk_autokick_interval": 0,
  "allow_commands": "admins-only",
  "auto_pause": 1,
  "non_blocking_saving": 0
}

Wie server-settings.json Syntax funktioniert

Standard-JSON-Regeln gelten mit keinerlei Erweiterungen. Keine Kommentare jeder Art, kein führendes Komma nach dem letzten Element in einem Objekt, Strings doppelangeführt, Zahlen und Boolesche Werte unangeführt. Das Angeben einer Zahl als String ist hier ein echter Fehler und nicht nur ein harmloser - max_players als "10" ist ein String und wird nicht angenommen, wo eine Zahl erwartet wird.

Der Fehler, der Menschen Stunden kostet

max_players auf 0 gesetzt bedeutet unbegrenzt, nicht geschlossen. Leute setzen es auf 0, um Beitritte zu blockieren und stattdessen einen unbegrenzten öffentlichen Server zu erhalten. Wenn du den Server geschlossen haben möchtest, verwende stattdessen die Sichtbarkeitseinstellungen oder ein Passwort.

Support & Hilfe