Reload vs restart
What /md reload applies, what needs a full server restart, and how running matches behave.
Use /md reload after most YAML or GUI edits. Use a full server restart when startup-only wiring changes (database, arena grid world, cross-server, or files the reload path never reads).
Permission: mineduels.admin (same as other /md admin commands).
How /md reload works
- You run
/md reload. - Work runs on the global scheduler (not blocking chat, but the server still does real work).
- Each part reloads independently. If one file fails YAML parse, that part keeps the previous value and adds a warning (console + message to you).
- Kit editor sessions are ended first so open editors do not sit on old GUI definitions.
- When finished, chat summarizes how many kits loaded and reminds you what still needs a restart.
The in-game summary matches the code path: merged split config sections that reload, display files, kits, and ranks reload; arena templates, storage, and some leaderboard settings do not.
Quick decision
| You changed | Apply |
|---|---|
| Messages, GUIs, kits, scoreboard, tab, nametags, knockback, loot, animations | /md reload |
| Queue, match flow, party, duel, friends, clans, tournament, spectate, lobby, worlds (split YAML) | /md reload |
arena.world-protection only | /md reload |
arena grid world, spacing, budgets, edit world | Restart |
database.yml → storage or cross-server (including cross-server.chat-server-name) | Restart |
webhook.yml | /md reload on a backend, /mdproxy reload on the proxy |
webapi.yml | Restart for every setting except keys. /md web key ... changes keys at once |
Proxy config.properties → gate.*, drain.no-alternative, balance-first-join | /mdproxy reload |
database.yml → performance.async-displays | Restart |
matchmaking.yml → leaderboard.size or refresh-seconds | Restart (see partial reload below) |
matchmaking.yml → leaderboard.overall-min-games | /md reload |
arenas/*.yml or .cda, new template, copies.min / max | Restart (or use /md arena workflow; disk edits are not picked up on reload) |
locations.yml (lobby / region); use /md setlobby when possible | Restart if hand-edited; /md setlobby writes live |
holograms.yml (physical leaderboard displays) | Restart |
license.key | Restart |
| Jar upgrade | Restart |
Catalog of every path: Configuration catalog. Split files: Split config.
Reloaded by /md reload
These files are read again (strict parse on reload; broken file keeps previous state).
| File or folder | What updates |
|---|---|
messages.yml | All chat and notice strings |
webhook.yml | Webhook address and events. A broken file keeps the previous settings |
icons.yml | <icon:name> registry |
sounds.yml | Shared sound ids |
dialogs.yml | Dialog definitions (1.21.6+ UI) |
nametags.yml | Nametag modes, lines, timers |
scoreboard.yml | Sidebar layouts |
tab.yml | Tab header, footer, sorting |
guis/ | All menus and lobby hotbar layouts (including guis/custom/) |
guis/ reload also calls lobby.refreshAll() so lobby items match new YAML | |
ranks/ | Rank tiers and per-kit ranking ladders (also re-reads elo from merged config) |
knockback.yml | Knockback profiles |
animations.yml | Titles, sounds, boss bars on triggers |
loot.yml | Loot tables for supported modes |
kits/*.yml | Kit loadouts and rules for new matches |
Split config (six files merged, then sections applied)
On reload the plugin re-merges all six split files, then applies only the sections below. Editing a merged file and reloading does not re-read startup-only sections from disk into live services (even though the merged YAML was parsed).
| Section(s) | Source file(s) | Reloaded? |
|---|---|---|
queue, queue-signs | matchmaking.yml | Yes. Queue settings apply at once; queue signs re-read queue-signs.* from merged config on the next refresh tick |
match, post-match, death-messages | config.yml | Yes |
lobby, lobby.region (rules) | config.yml | Yes; spawn cache refreshed |
worlds | config.yml | Yes |
spawn | config.yml | No on reload |
arena (grid, paste, worlds) | config.yml | No (except arena.world-protection, yes) |
license | config.yml | No |
setting-sounds, locator-bar | config.yml | No |
match-start | match-start.yml | Yes |
kit-editor | kit-editor.yml | Yes (active editor sessions ended) |
elo | matchmaking.yml | Partial: ranks/ reload re-reads elo (defaults and bonus). Global profile service still uses ELO values from startup for some internal defaults |
history | matchmaking.yml | Yes |
leaderboard.overall-min-games | matchmaking.yml | Yes |
leaderboard.size, leaderboard.refresh-seconds | matchmaking.yml | No (leaderboard cache refresh runs, but board size and timer stay from startup) |
duel | matchmaking.yml | Yes |
party, friends, clans, tournament, spectate | social.yml | Yes |
performance | database.yml | No (async-displays thread mode is startup only) |
storage, cross-server | database.yml | No |
After queue YAML changes, the queue timer restarts so tick-interval changes take effect.
Leaderboard text for holograms refreshes once via leaderboards.refreshNow() even when size or refresh interval did not change.
Restart required (startup-only)
| Area | Examples |
|---|---|
| Database | storage.type, SQLite path, MySQL host, credentials, pool, autosave-minutes |
| Cross-server add-on | cross-server.enabled, Redis, server-name, role |
| Arena infrastructure | arena.world, arena.grid, budget-ms, parallel-work, edit world |
| Arena templates | arenas/*.yml, arenas/*.cda, new template id, copy pool counts on disk |
| World bootstrap | Creating the arena grid world (required on Folia before boot) |
| Physical holograms | holograms.yml positions and entries (in-world TextDisplays) |
| License | license.key validation runs on enable |
| Display performance mode | performance.async-displays |
| Leaderboard service | leaderboard.size, leaderboard.refresh-seconds |
First-time enabling cross-server or switching SQLite to MySQL always needs a planned restart and migration, not just /md reload.
Bundled files and reload gaps
The jar ships items.yml and limits.yml. They are documented for server owners, but /md reload does not load them in 0.10.0. Treat edits there as restart to apply until a future version wires them into reload (or move the same keys into a reloaded split file if the plugin reads them from merged config).
If unsure, change the setting, run /md reload, and test; if nothing changes, restart.
In-game and runtime data
| Path | How it applies |
|---|---|
/md setlobby, /md lobbyregion | Writes locations.yml; lobby service reads on save path (restart if you hand-edit the file while running) |
/md arena save, wand workflow | Updates arenas/*.yml + .cda; pool picks up on restart (not /md reload) |
instances.yml | Internal copy pool; do not edit |
tournament-cooldowns.yml | Written by plugin |
editor-room.yml | Kit editor room; in-game |
data.db | Lives for restarts; type or path change needs restart |
Workflow detail: Creating kits and arenas.
Running matches and players
| Situation | Behaviour |
|---|---|
| Match in progress | Keeps the kit snapshot from when the match started. /md reload does not reshape an active arena or swap rules mid-fight. |
| Players in kit editor | Reload ends editor sessions (by design). |
| Players in queue | Generally keep queue state; queue settings may change for new pairing behaviour. |
| Lobby players | After guis/ reload, lobby hotbar items refresh. |
YAML errors
Broken YAML on reload:
- That part keeps the previous in-memory settings.
- Other parts still reload.
- Warnings list in chat and console (
Reloaded ... N warning(s)).
On startup, a fatal parse in critical files can disable the plugin (for example messages.yml).
Performance note
/md reload re-parses many files and rebuilds displays. Expect a short MSPT spike and a burst of work on the display thread. Do not profile Spark during reload if you are measuring steady-state hubs. See Performance and Spark.