Skip to Content
MineDuels

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

  1. You run /md reload.
  2. Work runs on the global scheduler (not blocking chat, but the server still does real work).
  3. Each part reloads independently. If one file fails YAML parse, that part keeps the previous value and adds a warning (console + message to you).
  4. Kit editor sessions are ended first so open editors do not sit on old GUI definitions.
  5. 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 changedApply
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 worldRestart
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.ymlRestart 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-displaysRestart
matchmaking.yml → leaderboard.size or refresh-secondsRestart (see partial reload below)
matchmaking.yml → leaderboard.overall-min-games/md reload
arenas/*.yml or .cda, new template, copies.min / maxRestart (or use /md arena workflow; disk edits are not picked up on reload)
locations.yml (lobby / region); use /md setlobby when possibleRestart if hand-edited; /md setlobby writes live
holograms.yml (physical leaderboard displays)Restart
license.keyRestart
Jar upgradeRestart

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 folderWhat updates
messages.ymlAll chat and notice strings
webhook.ymlWebhook address and events. A broken file keeps the previous settings
icons.yml<icon:name> registry
sounds.ymlShared sound ids
dialogs.ymlDialog definitions (1.21.6+ UI)
nametags.ymlNametag modes, lines, timers
scoreboard.ymlSidebar layouts
tab.ymlTab 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.ymlKnockback profiles
animations.ymlTitles, sounds, boss bars on triggers
loot.ymlLoot tables for supported modes
kits/*.ymlKit 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-signsmatchmaking.ymlYes. Queue settings apply at once; queue signs re-read queue-signs.* from merged config on the next refresh tick
match, post-match, death-messagesconfig.ymlYes
lobby, lobby.region (rules)config.ymlYes; spawn cache refreshed
worldsconfig.ymlYes
spawnconfig.ymlNo on reload
arena (grid, paste, worlds)config.ymlNo (except arena.world-protection, yes)
licenseconfig.ymlNo
setting-sounds, locator-barconfig.ymlNo
match-startmatch-start.ymlYes
kit-editorkit-editor.ymlYes (active editor sessions ended)
elomatchmaking.ymlPartial: ranks/ reload re-reads elo (defaults and bonus). Global profile service still uses ELO values from startup for some internal defaults
historymatchmaking.ymlYes
leaderboard.overall-min-gamesmatchmaking.ymlYes
leaderboard.size, leaderboard.refresh-secondsmatchmaking.ymlNo (leaderboard cache refresh runs, but board size and timer stay from startup)
duelmatchmaking.ymlYes
party, friends, clans, tournament, spectatesocial.ymlYes
performancedatabase.ymlNo (async-displays thread mode is startup only)
storage, cross-serverdatabase.ymlNo

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)

AreaExamples
Databasestorage.type, SQLite path, MySQL host, credentials, pool, autosave-minutes
Cross-server add-oncross-server.enabled, Redis, server-name, role
Arena infrastructurearena.world, arena.grid, budget-ms, parallel-work, edit world
Arena templatesarenas/*.yml, arenas/*.cda, new template id, copy pool counts on disk
World bootstrapCreating the arena grid world (required on Folia before boot)
Physical hologramsholograms.yml positions and entries (in-world TextDisplays)
Licenselicense.key validation runs on enable
Display performance modeperformance.async-displays
Leaderboard serviceleaderboard.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

PathHow it applies
/md setlobby, /md lobbyregionWrites locations.yml; lobby service reads on save path (restart if you hand-edit the file while running)
/md arena save, wand workflowUpdates arenas/*.yml + .cda; pool picks up on restart (not /md reload)
instances.ymlInternal copy pool; do not edit
tournament-cooldowns.ymlWritten by plugin
editor-room.ymlKit editor room; in-game
data.dbLives for restarts; type or path change needs restart

Workflow detail: Creating kits and arenas.


Running matches and players

SituationBehaviour
Match in progressKeeps the kit snapshot from when the match started. /md reload does not reshape an active arena or swap rules mid-fight.
Players in kit editorReload ends editor sessions (by design).
Players in queueGenerally keep queue state; queue settings may change for new pairing behaviour.
Lobby playersAfter 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.


On this page