messages.yml
The messages.yml file gives you full control over every string of text your players see. From simple chat notifications to complex game titles, everything is fully customizable.
MiniMessage Support
Section titled “MiniMessage Support”Santa Says utilizes the MiniMessage library, allowing you to create stunning visuals without the limitations of traditional legacy color codes. You can use HEX colors, gradients, and even hover/click events.
- Gradients:
<gradient:#ff3b3b:#ffd93b>Your Text Here</gradient> - HEX Colors:
<color:#55ff55>Solid Color Text</color> - Legacy Tags: Simple tags like
<red>,<b>(bold), or<underlined>are also supported.
Global Placeholders
Section titled “Global Placeholders”You can use your defined prefixes in any message to maintain a consistent look across the plugin.
%prefix%: Uses the primary prefix defined inconfig.yml.%prefix-2%: Uses the secondary prefix defined inconfig.yml.
Configuration Examples
Section titled “Configuration Examples”Here is how you can implement these features in your file:
# Example of using placeholders and simple color tagsplayer-joined: '<gray>%player% <yellow>has joined (<aqua>%players%<yellow>/<aqua>%max_players%<yellow>)!'
# Example of a clean, colored notificationnew-task-starting: "<green>Game ended! Next game is starting in 3 seconds."Applying Changes
Section titled “Applying Changes”One of the best features of the message system is that you don’t need to restart your server to see changes. Simply modify the file and use the reload command to see your updates instantly:
/santasays reload