Skip to content

messages.yml

The messages.yml file controls the text players and administrators see. It includes crown announcements, chat restrictions, setup validation, arena management, help menus, stop reasons, and statistics menu feedback.


KOTL uses Adventure MiniMessage.

  • Gradients: <gradient:#FFD700:#FF8F00>King</gradient>
  • HEX Colors: <#00E676>Success
  • Formatting: <bold>, <italic>, <underlined>, and <st>
  • Interactions: <click:run_command:/kotl list> and <hover:show_text:'Open arenas'>

PlaceholderDescription
%player%Player involved in a message.
%arena%Current arena ID.
%arena_id%Arena ID used by setup messages.
%id%Arena ID used by command messages.
%label%Root command label used by the sender.
%king%Current or new king name.
%time%Remaining crown cooldown time.
%progress%Rendered action bar cooldown progress.

Setup-specific messages also use %first_xyz%, %second_xyz%, %blocks%, and %material%.


The game section contains:

KeyUsed When
player-joinedA player enters an arena and join notifications are enabled.
player-leftA player leaves and leave notifications are enabled.
new-kingA different player successfully claims the crown.
king-retainedThe current king successfully claims again.
chat-disabled-in-gameArena chat sending is disabled.
command-disabled-in-gameThe player attempts a blocked command.
cooldown-formatThe crown cooldown action bar is rendered.

chat-format is used when arena chat formatting is enabled. It supports %sender% and %message%.


Separate message lists explain why an arena ended:

  • server-reload-detected
  • server-shutdown-detected
  • game-stopped-by-command
  • game-stopped-due-to-arena-deletion
  • game-stopped-due-to-arena-disable

These messages are sent before teleportation and state restoration.


The setup section reports:

  • Area selector delivery and both selected corners.
  • The selected block count.
  • Area outline enable and disable state.
  • King plate tool delivery, placement, material changes, and out-of-area warnings.
  • Arena record reset completion.
  • Arena enable and disable state.

The centered arena creation, registration, deletion, and validation messages support MiniMessage click and hover actions.


The default file contains separate lists:

  • help-message
  • admin-help-message
  • debug-help-message

KOTL chooses which sections to display based on the sender’s permissions and debug state.


Reload the plugin after editing messages:

Terminal window
/kotl reload