Requirements
Redis 6+ with a password, MySQL or MariaDB, Velocity 3.4+, the MineDuels-Velocity jar and the same MineDuels version everywhere.
Software
| Needed | Detail |
|---|---|
| Redis 6 or newer | A password is required. Cross-server stays off while cross-server.redis.password is empty. TLS is available with redis.ssl: true. |
| MySQL or MariaDB | Every backend uses the same database. SQLite cannot be shared, so cross-server refuses to start with storage.type: sqlite. |
| Velocity 3.4 or newer | Modern forwarding is the usual choice for backends behind Velocity. |
| MineDuels on every backend | The same MineDuels version on every lobby and duel server. |
| MineDuels-Velocity on the proxy | The same version as the backends. Update the proxy and the backends together. |
Content that must match
| Content | Rule |
|---|---|
Kits (plugins/MineDuels/kits/) | Identical on every backend. A match uses the kit of the duel server it runs on, and the queues list the kits of the lobby. |
Arena templates (plugins/MineDuels/arenas/) | Required on the duel servers. A lobby does not need them for the global queue. |
| Ranking and matchmaking files | Keep matchmaking.yml and ranks/ identical on all lobbies, because any lobby can become the matchmaker. |
| Secret | The same cross-server.secret on every backend and in the proxy config.properties. |
| Clocks | Keep every server on synchronized time (NTP). Messages older than window-seconds (default 30) are refused. |
Names
Each backend has a cross-server.server-name. It must be spelled exactly like its entry under [servers] in velocity.toml. See Roles and common terms.
Continue with the Setup checklist.