Cross-Server overview
Run MineDuels on several servers behind Velocity: lobbies queue players, duel servers run the matches.
Paid add-on. Cross-Server is purchased separately from core MineDuels. This section does not apply to single-server installs unless you own the add-on.
Cross-Server splits MineDuels over several backend servers behind one Velocity proxy.
- Lobby servers hold the players, the menus, parties and the queue.
- Duel servers (role
game) run the matches in their own arena pool. - Redis carries the messages between all servers and the proxy.
- MySQL or MariaDB holds the player data every server shares.
What it provides
| Feature | Behaviour |
|---|---|
| Global queue | Queue joins from every lobby go to one matchmaker. Players from different lobbies can be paired. |
| Multi-queue | A player can wait in several queues at once, up to queue.multi-queue.max in matchmaking.yml. |
| Match hosting | The matchmaker picks the duel server with the most free arenas for the kit and sends both players there. |
| Return | After a match players go back to the lobby they came from, or to the least full lobby. |
| Network counts | "In queue" and "In fight" on menus, signs, scoreboards and placeholders count the whole network. |
| Duels | /gduel challenges a player on any server of the network. |
| Spectating | /spectate finds a player on any server and sends you there. |
| Regions | Each proxy names a region. Players choose the regions they play in, and games go to the server with the best ping. See Regions. |
| Server selector | /servers opens a menu with every server, its players and its free arenas. |
| Parties | Party members stay in their party while they are away on a duel server. Parties belong to one server: players on another server or region get a clear message. |
| Web API | One server can run the web API to read stats and matches for the whole network, drain any server and edit its own configs. |
| Global chat | Optional chat that is shown on every server that enables it. |
| Lobby balancing | /lobby and the first connection go to the least full lobby. |
Pages
| Page | Content |
|---|---|
| Requirements | What the network needs before you start |
| Setup checklist | The order to set everything up in |
| Roles and common terms | lobby and game, server-name, storage.type |
| Backend config | What to set on the lobby servers and on the duel servers |
| Velocity plugin | The proxy jar and its config.properties |
| Operations | How a match travels through the network, and what you can tune |