Files
Commonwealth-Online-Server/server/config
..
2026-08-16 02:36:32 -04:00

Server Config

The active server config is ../commonwealth-server.json.

Supported fields:

{
  "host": "0.0.0.0",
  "port": 7777,
  "server_name": "Commonwealth Online Server",
  "server_description": "",
  "max_players": 16,
  "log_verbosity": "info",
  "admin_port": 7779,
  "enable_gns_transport": false,
  "gns_bridge_path": null
}

Generate a default config with:

dotnet run --project ../CommonwealthOnline.Server.csproj -- config init ../commonwealth-server.json

0.0.0.0 listens on all IPv4 interfaces. 127.0.0.1 is local-only.

Do not commit private tokens or runtime .admin-token state.