Roles and common terms
Lobby vs game servers, and other settings people often mix up.
Use this page when a config value has a name that sounds obvious but means something specific in MineDuels.
cross-server.role: lobby vs game
Set in database.yml on each backend behind Velocity. This is not a LuckPerms group and not the same as guis/lobby-items/ hotbar files.
role: lobby | role: game | |
|---|---|---|
| Purpose | Hub: queue, menus, parties, duels UI | Runs matches pasted on this node |
| Players | Wait here; use /queue, /settings, parties | Sent here only for an assigned match (or staff setup) |
| Arenas | Kits load, but no arena pool required for queues to work network-wide | Must have ready arenas for kits this node hosts |
| Matchmaking | Can become the network matchmaker (one lobby elected; failover if it dies) | Does not pair the network queue; accepts assignments |
| After match | Players return here (/lobby picks least-full lobby if home is down) | Match players go back to a lobby when done |
| Typical count | 1 to 2 lobbies | As many as you need for concurrent matches |
Example network
velocity.toml
lobby-1 → role: lobby (EU hub)
lobby-2 → role: lobby (NA hub)
game-1 → role: game (arenas for all kits)
game-2 → role: game (extra capacity)Wrong setups
| Mistake | What happens |
|---|---|
Every server is lobby | No node runs matches; assignments fail |
| Game server without arenas | Matchmaker skips it or matches cancel |
role: game on your only server | No hub to queue on (use single-server mode instead) |
Paid add-on required. Overview: Cross-Server. Backend yaml: Backend config.
cross-server.server-name (network id)
| Detail | |
|---|---|
| What | This JVM’s name on the proxy |
| Must match | The key under [servers] in velocity.toml (exact spelling) |
| Unique? | Yes, one name per backend |
| Example | server-name: lobby-1 ↔ velocity.toml → lobby-1 = "..." |
This is not the text players see in the queue action bar (that is a different key, see below).
queue.server-name in matchmaking.yml (label only)
cross-server.server-name | matchmaking.yml → queue.server-name | |
|---|---|---|
| File | database.yml | matchmaking.yml |
| Used for | Velocity, Redis, redirects | Optional queue action bar text |
| Example | game-2 | "Singapore" or "EU" |
| Can be empty? | No on networked servers | Yes ("" = omit) |
Single-server owners often only care about queue.server-name for cosmetics.
storage.type: sqlite vs mysql
| sqlite | mysql | |
|---|---|---|
| Best for | One Paper/Folia server | Multiple backends + cross-server |
| Cross-server | Not supported (add-on refuses to enable) | Required for shared stats/ELO |
| Connection | File data.db on disk | Host, user, password, database name |
| Change type | Needs restart | Needs restart + migration plan |
Nametag mode: vanilla vs hologram
In nametags.yml (not cross-server):
| vanilla | hologram | |
|---|---|---|
| Platform | Paper only (scoreboard teams) | Paper or Folia |
| Extra plugin | None | packetevents |
| Conflict risk | TAB / other team plugins | Lower team conflict |
worlds.enabled vs worlds.disabled
In config.yml:
| Key | Meaning |
|---|---|
disabled: [world_a] | MineDuels off in those worlds |
enabled: [world_b] | If non-empty, MineDuels only in listed worlds (allowlist) |
Leave enabled: [] to only use the deny list.
Ranked kit vs unranked
| Unranked | Ranked | |
|---|---|---|
| Kit flag | ranked: false | ranked: true |
| ELO | No change on win/loss | Changes; uses matchmaking.yml + ranks/ |
| Queue | Unranked queue GUI / signs | Ranked queue; ELO range widens over time |
| Leaderboard | Kit stats still exist | Appears on ranked boards |
guis/lobby-items/ “roles” (hotbar states)
Files like lobby.yml, party-leader.yml, post-match.yml are UI layouts, not Velocity roles:
| File | When the player gets this hotbar |
|---|---|
lobby.yml | Idle in hub |
queue.yml | In queue |
party-leader.yml | Leading a party |
post-match.yml | Post-match stay enabled |
Do not set these filenames from cross-server.role.
Cross-server keys quick reference
| Key | Who cares | Meaning |
|---|---|---|
assign-timeout-seconds | Game + lobbies | Cancel match if not everyone arrives on game server in time |
party-away-minutes | Lobbies | Drop party members still on a game server after N minutes |
global-chat | All nodes that set true | Broadcast chat across those servers |
enabled | Each backend | Turn network mode on (needs MySQL + add-on) |
Full table: Backend config.