Network example overview
A guide to customising a network: queue menus, icons, the tab list and what to read first.
This section shows patterns used on a production network. They are generic and use only options that exist in the plugin. Copy the parts you like.
What a network looks like
players
|
Velocity (MineDuels proxy plugin)
/ | \
lobby-1 lobby-2 game-1, game-2, ...
(queue) (queue) (host the matches)
\ | /
MySQL + Redis (shared)Players join a lobby, queue, and are sent to a game server for the match. After the match they return to a lobby. Everything is covered in Cross-Server add-on.
The pages of this section
| Page | What it covers |
|---|---|
| Queue customization | A queue menu with per-kit streak and leaderboard lines |
| Icons customization | Per-kit icons in names, and the sprite rules |
| Network tab list | Players of other servers in the tab list |
Suggested order
- Set up the network: Setup checklist.
- Make the lobby look right: Scoreboard, Tab list, Lobby items.
- Customise the queue: Queue menus and Queue customization.
- Give every kit an icon: Icons.
- Show the whole network: Network tab list.
- Add regions if you have several proxies: Regions.
- Watch the network from outside: Web API on one server.
What to keep identical
Keep these the same on every server, or players get different results on each:
- The kit files and
ranks/. matchmaking.ymlon every lobby, because any lobby can become the matchmaker.- The MySQL database, the Redis connection and the shared secret.
Display files such as the scoreboard, tab list and menus can differ per server. See Files per server.
Customising for players on a network
- The
%in_queue%and%in_match%counts in menus cover the whole network. - Parties belong to one server. Tell players to join the same lobby to party up. See Parties.
- Global chat is optional and shown on every server that enables it.
- The server selector (
guis/server-selector.yml) lists every server, its players and its free arenas.
Related: Cross-Server add-on, Operations.