DUXPLIMA Documentation

Languages and menus

The eight languages, the message file and the 13 menu files.

Everything players read lives under languages/<code>/: chat messages in messages.yml and every menu in menus/. Eight languages ship:

CodeLanguage
enEnglish
trTurkish
esSpanish
pt_brBrazilian Portuguese
deGerman
frFrench
ruRussian
plPolish

Set language in config.yml and run /sr reload. Each server of a network can use its own language. Event names, rewards and announcements are written in the event files, not here.

messages.yml

Every chat message, plus a few formats used across the plugin:

KeyWhat it sets
prefixThe <prefix> at the start of messages
date-formatHow dates appear, dd.MM.yyyy HH:mm:ss by default
format.rank-1, rank-2, rank-3, rankHow ranks are written in menus and placeholders
format.winner-separatorWhat separates tied players in announcements

Text uses MiniMessage: <#FFD166> for a colour, <bold> or <b> for bold, and so on.

FileMenu
tournament-main-menu.yml/sr: the running tournament, leaderboard, history
tournament-event-menu.ymlThe items players deposit
tournament-amount-menu.ymlChoosing how many to deposit
tournament-leaderboard-menu.ymlThe current standings
leaderboard-chooser-menu.ymlPicking which leaderboard to view
history-hub-menu.ymlServer History and My History
player-history-menu.ymlA player's past runs
run-summary-menu.ymlOne finished run
run-details-menu.ymlA player's deposits in one run
event-list-menu.yml/sr events: every event, and creating one
tournament-manage-menu.yml/sr manage: one event's settings and items
log-run-picker-menu.yml/sr logs: choosing a run
event-logs-menu.ymlThe logs of one run

Each button has a material, display-name, lore, slots and actions. You can move buttons, change their look and text, and add [sound] or [player_message] actions. Keep the button names (the keys under items:) as they are: the plugin looks them up by name.

If a menu file is broken, that menu does not open and the console names the file. There is no built-in fallback, so check the console after editing a menu.

Related: config.yml, Event files