FAQ
Frequently asked questions about installing, configuring, and running MineDuels 0.10.0.
Questions are grouped by topic. Each answer links to deeper pages where useful.
Installation and first start
Why does nothing happen on the first server start?
MineDuels downloads database libraries (HikariCP, SQLite driver, MariaDB driver) from Maven Central on first enable. The server needs outbound HTTPS. If the plugin disables itself, read the console for database or library errors.
Do I need PlaceholderAPI?
No. PlaceholderAPI is optional. Install it only if you want %mineduels_...% in TAB, other plugins, or extended queue lore. Built-in scoreboard and tab placeholders work without it.
Do I put MineDuels-API.jar in plugins?
No. Compile your plugins against MineDuels-API-0.10.0.jar, but only ship MineDuels-0.10.0.jar on the server. The API classes are already inside the main jar.
What Java version do I need?
Java 21 or newer. Paper 26.x requires Java 25. Match your server's Paper requirements.
Players join but stay in the world spawn. What is missing?
Run /md setlobby where players should wait. Check worlds.disabled in config.yml does not list your lobby world.
Network and web API
I cannot join or invite a player to my party on a network.
Parties belong to one server. If the player is on another server you see which one, or which region, instead of "not in a party". Both of you have to be on the same lobby. See Parties.
How do I read stats or matches from my website or a Discord bot?
Use the web API. Turn it on in webapi.yml on one server, create a key with /md web key create <name> read, and call GET /v1/players/<name>/stats. It reads the shared database, so one server covers the whole network.
Do I enable the web API on every server?
No. Enable it on one server. It sees every server's players, matches and drain state through the shared database and Redis. It can only edit the config files of the server it runs on.
Is the web API safe to open to the internet?
It is off by default and listens on 127.0.0.1 only. Every request needs an API key, requests are rate limited, and secrets cannot be read or changed through it. For anything outside your private network put HTTPS in front of it: HTTPS with a reverse proxy.
How do I drain a server from a script?
POST /v1/drain/start with {"server":"game-1"}. See Drain.
Configuration and reload
I edited YAML but nothing changed. What should I do?
Run /md reload. If it still ignores changes, you may need a full restart (storage, cross-server, arena world). See Reload vs restart.
Where did my queue settings go?
0.10.0 splits config. Queue and ELO settings are in matchmaking.yml, not the main config.yml. See Split config.
What is the difference between config.yml and database.yml?
config.yml holds arena, lobby, match, worlds, spawn. database.yml holds storage (sqlite/mysql) and cross-server. Both merge at runtime.
My old gui.yml edits are gone.
Menus moved to guis/ (one file per menu). Example: unranked queue is guis/queue/unranked.yml. See GUI menus.
Can I turn off a message?
In messages.yml, set the message key to "" (empty string). Reload with /md reload.
Kits and arenas
Full command reference (wand, create, save, edit, every /md kit subcommand): Creating kits and arenas.
What is the correct order for a new arena?
/md arena wandand select corners./md arena create <name>./md arena setpoint <name> aandb(plus mode points if needed)./md arena save <name>.- Link the kit:
/md kit arenas <kit> <name>.
To change blocks later: /md arena edit <name>, then /md arena save (not another first-time save from the build world).
Why is my kit missing from the queue menu?
A kit appears only when at least one ready arena can host it:
- Arena is saved (
/md arena listshows a size, not "not saved yet"). - Points
aandbare set inside the arena. - Mode points exist if needed (
bed-a/bed-b, bridge goals, etc.). - The kit's
arenas:list includes that arena name (or is empty for all).
How do I make a kit ranked?
/md kit ranked <kit> trueOr in kits/<kit>.yml:
ranked: trueRanked needs two players whose ELO is within the widening window in matchmaking.yml.
Example minimal kit header
display-name: "<gold><icon:uhc> UHC"
icon: LAVA_BUCKET
ranked: true
priority: 10
arenas:
- uhc
rules:
build: false
natural-regen: false
hit-delay: 20Full rule reference: Kit rules. More samples: Kit examples.
How do I link a kit to one arena only?
arenas:
- my_uhc_arenaIf the list is empty, any valid arena for that kit's rules may be used.
What does priority on a kit do?
Higher priority sorts the kit earlier in menus and lists. Ties break by kit name.
Queue, duels, and matchmaking
Can one player queue for multiple kits?
Yes. Multi-queue is supported. Post-match can requeue all queues they had.
Match found shows in the arena instead of the lobby.
Update to a build that has queue.match-found.delay-seconds. The message and the match-found animation then show in the lobby, and players are teleported after the delay. On a network keep messages.yml and animations.yml identical on all lobbies. See Match found.
How do I give potion effects when a match is found?
Add entries to queue.match-found.effects in matchmaking.yml:
queue:
match-found:
effects:
- {type: speed, amplifier: 1, duration-seconds: 10, particles: false}The effects are removed when the fight starts. More examples: Match found.
Ranked queue never starts.
Check: kit is ranked, at least two players in queue, ELO within window, arenas READY for that kit.
How do I change queue menu text?
Edit guis/queue/unranked.yml (or ranked). Use %kit_display%, %in_queue%, %in_match%, and PlaceholderAPI after installing it. Example: Queue menu lore.
Icons and display names
Purple/black square next to kit name in lore?
The <icon:name> sprite in icons.yml is wrong for your Minecraft version. Use items atlas for normal items. Block items use blocks with a face texture (block/crafting_table_top). Shield has no flat sprite. See Icons and Icon examples.
What is the difference between icon: in kits versus icons.yml?
| Location | Effect |
|---|---|
kits/*.yml → icon: DIAMOND_SWORD | Material in the queue GUI slot |
kits/*.yml → display-name: "<icon:sword> ..." | Text sprite from icons.yml |
icons.yml → sword: | Defines the <icon:sword> sprite |
Icons show as emoji only.
Client below 1.21.9 cannot show object sprites, or icons.yml has mode: text. Both are valid fallbacks.
Scoreboard, tab, and nametags
Scoreboard never shows.
scoreboard.yml → enabled: true. Player may disable sidebar in /settings. Another plugin may conflict on Paper.
Tab list does not change in match.
Check tab.yml sections for match, queue, lobby. Confirm no other plugin overwrites the tab list.
Nametags look wrong on Folia.
Hologram nametags may need packetevents. Read startup console warnings in nametags.yml.
Kit editor
Kit editor only has one or two rows.
That kit has no kit room categories and no enchanter. MineDuels uses the compact layout. Add editor-extras and kit room, or tune guis/kit-editor/layout-editor.yml → layout-editor.compact.
Enchanter tab missing.
rules: editor-enchanter: true on the kit and enchanter enabled in kit-editor.yml. For all kits off: /md kit rule all editor-enchanter false.
Shield or trims button greyed out.
Permissions mineduels.editor.shield, mineduels.editor.trims, or set kit-editor.layout-editor.cosmetics-permissions: false in kit-editor.yml. Also config.yml / kit-editor.yml cosmetics and trims must be enabled.
Placeholders
Literal %mineduels_...% in chat or menu.
Install PlaceholderAPI, or use MineDuels-native %keys% in scoreboard/tab only. Queue menus need PAPI for %mineduels_lb_...%.
Empty winstreak line shows 3. :
No third player on the board. Use placeholders that fill empty slots, or a custom jar that returns No one. See Placeholders.
%kit% in queue lore does nothing.
Use %kit_display% for the pretty name. %kit% is the internal id (e.g. axe-and-shield).
Parties and social
Player cannot duel or invite.
They disabled duel requests or party invites in /settings. Staff may use bypass permissions where documented in plugin.yml.
Where are party settings?
social.yml → party:. Reload applies.
Post-match and arenas
Players stuck in arena after match.
Default post-match stay hotbar. Adjust post-match in config.yml. Set post-match.enabled: false for immediate lobby send after match.end-delay.
Arena copies stuck on PASTING.
Usually the server is still pasting, resetting, or relighting a copy, or the host is overloaded.
- Check console for world errors.
- Raise
arenas/<kit>.yml→copies.minfor busy kits so fewer pastes happen on match start. - Avoid mass queue bursts right after restart (chunk load + paste stack).
Full walkthrough: Performance and Spark. Settings: config.yml arena.
Cross-server (paid add-on)
Is cross-server included in the main plugin?
No. Cross-Server is a paid add-on purchased separately. Single-server networks do not need it.
Server selector says disabled.
database.yml → cross-server.enabled: true, MySQL storage, Redis, Velocity plugin jar, matching server-name. Restart all nodes after changes.
SQLite with cross-server enabled.
Cross-server refuses to start on SQLite. Use shared MySQL on every backend.
What is the difference between role: lobby and role: game?
lobby | game |
|---|---|
| Hub where players queue and use menus | Server that runs matches sent from the network |
| Needs kits; arenas optional on this node | Needs ready arenas for kits it hosts |
| Can be elected network matchmaker | Does not pair the global queue |
One or two lobbies plus one or more game servers is typical. Full explanation and other confusing names: Roles and common terms.
Is server-name in database.yml the same as queue.server-name?
No. database.yml → cross-server.server-name must match Velocity (velocity.toml). matchmaking.yml → queue.server-name is only optional text in the queue action bar.
Performance
spark shows MineDuels often.
Check the percentage of that tick, not just the plugin name in the tree.
Normal:
- Steady low single-digit % with scoreboard, tab, and nametags enabled.
- Bursts during
/md reload, first GUI open, or leaderboard refresh (matchmaking.yml→leaderboard.refresh-seconds).
Often not nametags:
- Multi-second MSPT max right after server
Done!(plugin enable, PacketEvents mappings, other heavy plugins). - Spikes when chunk count jumps and many players queue at once (arena teleports and paste).
Read: Performance and Spark. Nametag keys: nametags.yml.
MSPT spikes when players queue.
Matchmaking needs a READY arena copy. If the pool is empty, MineDuels pastes and teleports players into the grid world. That loads chunks and can stall ticks.
Fix copies.min and pre-warm copies during quiet hours before raising nametag update-ticks.
Should I disable hologram nametags?
Try tuning first: update-ticks, placeholder-cache-seconds, fewer PAPI expansions in lines, and async-displays: true in database.yml. Switch to mode: vanilla on Paper only if packetevents conflicts with another plugin.
Which worlds should be disabled?
Use worlds.disabled for survival worlds where you do not want lobby items or MineDuels logic. Arena worlds must stay enabled for matches.
Why am I matched on a far server?
You have that region switched on in /regions and its servers have the best score, or the nearer region has no free arena. Switch the far region off to wait for a near server instead. See Regions.
Why can't I switch off my own region?
The region of the proxy you joined through is always on, so you can always be matched near you. Only the other regions can be switched off.
Why does /regions show no regions?
Regions are optional and exist only when a proxy has region= in its config.properties. Set it on every proxy, restart the proxy, and name that proxy in proxy in each backend's database.yml (with one proxy you can leave proxy empty). Cross-server must also be on.
Still stuck?
- Read console on
/md reload(YAML warnings). - Compare your file to a fresh jar default in Configuration catalog.
- See Examples for copy-paste YAML.