Server identity and role
Every network node needs a unique serverId and an address reachable by the other servers.
{
"enabled": true,
"role": "both",
"serverId": "hub",
"host": "hub.example.com",
"port": 5520,
"maxPlayers": 100,
"acceptingPlayers": true
}mods/ServerRouter/config.json
Every network node needs a unique serverId and an address reachable by the other servers.
IMPORTANT BEHAVIOR
- role: main enables routing functions, backend accepts transfers, and both combines the two roles.
- serverId must remain stable and match the value used in routes and network modules.
- acceptingPlayers can temporarily remove a server from available destinations without shutting it down.
