Skip to Content
MineDuels

messages.yml

Chat output, prefixes, and MiniMessage templates.

Path: plugins/MineDuels/messages.yml
Reload: yes

What it supports

  • MiniMessage (<red>, <gradient>, <click>, <hover>)
  • Legacy & colour codes in many lines
  • <prefix>, <admin-prefix>, <kit>, <kit_display> replacement (full list: Message placeholders)
  • Nested sections: queue.*, party.*, duel.*, match.*, tournament.*, etc.
  • Empty string "" to disable a line

What it does not do

  • Scoreboard or tab lines (use scoreboard.yml / tab.yml)
  • Inventory menu titles (use guis/)
  • PlaceholderAPI keys (use %mineduels_...% only where the line is processed through PAPI; most messages use angle-bracket tags)

Prefixes

prefix: "<gradient:#ff5f6d:#ffc371><bold>Duels</bold></gradient> <dark_gray>»</dark_gray> "
admin-prefix: "<gold>[MineDuels]</gold> "

Examples

Disable a notice:

queue:
  already-in-match: ""

Stats line (uses internal tags, not PAPI):

stats:
  line: "<dark_gray> • </dark_gray><white><kit></white> <rank> <yellow><elo> ELO</yellow>"

Duel request with click tags (defaults in jar):

duel:
  received: "... <accept><green>[Accept]</green></accept> ..."

Cross-server chat

Show the server in front of lines from other servers, or hide it with cross-server.chat-server-name: false in database.yml:

cross-server:
  global-chat: "<server-tag><white><player></white><dark_gray>:</dark_gray> <gray><message>"
  global-chat-server-tag: "<dark_gray>[<gray><server></gray>]</dark_gray> "

Drain messages:

queue:
  draining: "<prefix><red>This server is about to restart and takes no new matches."
cross-server:
  server-draining: "<prefix><red><white><server></white> is about to restart."

Party messages for players on another server

Parties belong to one server. These lines are shown when a player tries to invite or join someone who is online on another server of the network. See Parties.

KeyShown whenPlaceholders
party.other-regionThe player is in a different region<player>, <region>, <server>, <own_region>
party.other-serverThe player is on another server, in the same region or with no regions<player>, <server>, <region>, <own_region>
party:
  other-region: "<prefix><red><white><player></white> is in the <white><region></white> region, so you cannot join or invite their party from here. <gray>Parties only work between players on the same server."
  other-server: "<prefix><red><white><player></white> is on another server (<white><server></white>). <gray>Parties only work between players on the same server: ask them to join yours."

Existing servers get the two new lines the next time messages.yml is updated (its config-version is now 18), with a backup. A line you already changed is not touched.

Match found message

The message shown in the lobby when a queue match is found. It is sent before the delay set by queue.match-found.delay-seconds.

KeyUsed for
match.foundA 1v1
match.found-teamA team match
match.found-party-split, match.found-party-ffa, match.found-party-teams, match.found-party-duelParty events

Placeholders: <opponent>, <opponents>, <team>, <side>, <players>, <kit>, <kit_display>, <mode>, <match_type>.

match:
  found: "<prefix><green>Match found! <gray>You face <white><opponent></white> in <yellow><kit_display></yellow>"
  found-team: "<prefix><green>Match found! <gray>You and <white><team></white> face <white><opponents></white> in <yellow><kit_display></yellow>"

Silence the chat line and keep only the animation:

match:
  found: ""
  found-team: ""

Tags in messages

Common placeholders are documented on each line in the bundled file. Match-related death text can be overridden per kit with /md kit deathmessage.

Does not hot-reload for players mid-message; new text applies on the next event.

On this page