Proxy Dungeons

Proxy Dungeons

Added in v2.2.0.

With MythicProxy on a Velocity network, lobby servers can send dungeon runs to separate dungeon servers. Players start a dungeon on the lobby as usual, play it on a dungeon server, and go back to the lobby when they leave.

Requirements

  • MythicProxy on the Velocity proxy and on every lobby and dungeon server. MythicProxy needs MythicMobs (the free version works).
  • bungee-plugin-message-channel = true in velocity.toml. This is Velocity's default.
  • A copy of each dungeon on the lobby and on every dungeon server, see Dungeon files.
  • inventory-sync: true in plugins/MythicProxy/config.yml on the lobby and every dungeon server, so inventories carry over. Leave it off if another plugin already syncs inventories.

Dungeon files

Mythic Dungeons does not copy dungeons between servers. Copy each dungeon folder from plugins/MythicDungeons/maps/ to the lobby and to every dungeon server, with everything in it (region files, functions.yml, config.yml) and under the same folder name.

  • The lobby never builds the dungeon world, but it needs the folder for /md play, requirements, keys, costs and menus.
  • A dungeon server without the folder is skipped. If no dungeon server has the dungeon, players are told the instances are full and wait in the queue.
  • /md edit saves the dungeon on that server only. Copy the folder to the other servers again afterwards.

Setup

Lobby, plugins/MythicDungeons/config.yml. Write the server names exactly as in velocity.toml:

MythicProxy:
  Mode: LOBBY
  DungeonServers:
  - dungeons-1
  - dungeons-2

Each dungeon server, plugins/MythicDungeons/config.yml:

MythicProxy:
  Mode: DUNGEON
  DungeonServers: []

Each dungeon server, plugins/MythicProxy/config.yml. A new server only connects to MythicProxy after a player joins it, so list the hub address the proxy prints after announcing hub:

proxies:
- "10.0.0.5:25580"

Restart the servers. Each one logs a MythicProxy found! line with its role. If MythicProxy is missing, the server logs a warning and runs its dungeons itself.

How it works

  • On the lobby, /md play and the other ways to start a dungeon run the usual checks and the ready check. Keys and money are taken on the lobby.
  • The lobby sends the party to the dungeon server with the fewest running dungeons that still has room, going by General.MaxInstances on that server and in the dungeon's config. If no server has room, the player waits in the normal queue.
  • The whole party plays in one instance. A player who leaves the dungeon goes back to the server they came from.
  • Lobbies never run dungeons, so General.PreGenerateInstances and ContinuousDungeons.LoadAtStart do nothing there. /md edit works on any server.
  • Persistent worlds are the exception. They run on the lobby and players enter them there. A dungeon server does not load them, so their folders don't need to be copied to the dungeon servers. With more than one lobby, each lobby has its own world and they are not synced.
  • The player messages are under instance.proxy in the language file.

Shared data

Access cooldowns, completed dungeons, loot cooldowns, the /rewards bag and saved player variables are stored through MythicProxy, so every server sees the same values. Exit locations and save points stay on each server.

When two servers change the same data, the later change wins, so keep server clocks in sync. With more than one proxy, MythicProxy needs MySQL storage.

Limitations

  • The built-in party system only works within one server. A lobby party is disbanded once all its members are on a dungeon server. Use a network party plugin to keep parties, see Party Plugins.
  • A player who disconnects during a run reconnects to the lobby and cannot rejoin it.
  • inventory-sync moves the inventory, armor and offhand. Ender chests, XP and potion effects stay on each server.
  • If every dungeon server turns the party away after the lobby took keys or money, they are not refunded.
Updated Nov 26, 2026