Skip to Content
MineDuels

Files per server

Which files to configure or copy on the lobby servers and on the duel servers.

Each backend has its own plugins/MineDuels/ folder. This page lists what each type of server needs in it. Setting values are in Backend config.

Lobby server

File or folderRequiredWhat to do
database.ymlYesMySQL, cross-server.enabled: true, its own server-name, role: lobby, Redis and the shared secret. Restart after changing it.
kits/YesThe same kit files as the duel servers. The queue menus list them.
matchmaking.ymlYesIdentical on every lobby, because any lobby can become the matchmaker.
ranks/YesIdentical on every lobby.
locations.ymlYesSet the lobby spawn in game with /md setlobby. Players returning from a duel server land here.
guis/lobby-items/YesThe hotbar items players see in the lobby.
guis/server-selector.ymlOptionalThe /servers menu.
messages.yml, config.ymlKeep default or match the networkWording and general settings.
webhook.ymlOptionalMessages when the server drains or stops. See Webhooks.
webapi.ymlOne server onlyTurn the web API on here, on one server of the network. Leave it off elsewhere.
arenas/NoA lobby does not host matches in the global queue.

Duel server

File or folderRequiredWhat to do
database.ymlYesThe same MySQL, cross-server.enabled: true, its own server-name, role: game, the same Redis and the same secret. Restart after changing it.
kits/YesThe same kit files as the lobbies. A match is built from the duel server's own kit file. If the kit is missing, the match is cancelled.
arenas/YesThe saved arena templates for every kit the server hosts. A kit can only be hosted when arenas exist for it.
config.ymlYesThe arena.* pool sized for the matches hosted at once. Optional: match.arrival-settle-seconds, match.arrival-wait-max-seconds and post-match.game-servers.
match-start.ymlOptionalarrival-box.* and elevator.preload.
database.yml cross-server.hold.*OptionalThe waiting platform for players who arrive before their opponent.
webhook.ymlOptionalMessages when the server drains or stops. See Webhooks.
matchmaking.yml, ranks/Keep identicalRanking data is shared, so keep the files the same as on the lobbies.
guis/lobby-items/NoPlayers are not given lobby items on a duel server.
locations.ymlOptionalA lobby spawn is not used by cross-server matches.

Proxy

FileWhat to do
velocity.tomlRegister every backend under [servers].
plugins/mineduels/config.propertiesRedis, the same secret and the proxy name. The gate.* keys are added on the first start of a new version. See Velocity plugin.
plugins/mineduels/webhook.ymlOptional. Messages when the proxy drains or the network is empty. See Webhooks.

Must be identical everywhere

  • The secret and the Redis connection.
  • The MySQL database.
  • The kit files.
  • The plugin version on the backends and the proxy.

Each backend keeps its own server-name and role. Players' inventories and positions are stored per server, so nothing else is shared between backends except the database.

On this page