Plan the servers
Start with the fewest servers that make sense. A common first network is a proxy, a lobby and one or two game servers. Each server needs its own resources, so three small, focused servers are often better than one large one trying to do everything.
Connect them
Install Velocity as the proxy, configure modern forwarding, and add each backend to velocity.toml. Point your domain at the proxy, not the lobby. Make the lobby the try server so players always land there first.
Share data across servers
- Permissions: LuckPerms on every server and the proxy, all on one MySQL or MariaDB database
- Chat: a proxy-side chat plugin so messages cross servers
- Economy and stats: plugins that support a shared database
- Bans: a network ban plugin, so a ban applies everywhere
Moving players around
Players can type /server <name>, but a lobby usually offers a compass or NPCs that open a server selector menu. Selector plugins send players to the right backend through the proxy. Portals in the lobby world are another popular option.
Keep the lobby light
The lobby is the first thing every player sees. Keep it small, with no world generation, few entities and fast-loading builds. Disable hunger, damage and mob spawning there, and use a void or pre-built world.