HoeWars

Messages and Language

How to edit the chat messages HoeWars sends.

Every chat message HoeWars sends is in plugins/HoeWars/messages.yml. Edit the text to reword it, translate it, or change the colors.

How it works

Each message is a key paired with the text shown to players.

prefix: "&6&lHoeWars &8» &7"
queue-joined: "{prefix}&aYou joined the &e{mode} &aqueue. &7({players}/{max})"
  • Color codes use the legacy ampersand style, for example &a for green.
  • {prefix} inserts the shared prefix defined at the top of the file.
  • Curly-brace tokens like {mode} and {players} are placeholders the plugin fills in. Keep them if you want that value to appear.

Only change the text. Do not rename the keys on the left or remove placeholder tokens a message depends on, or that message will not work as expected.

Common placeholders inside messages

These tokens are replaced when a message is sent. Not every message uses every token.

TokenReplaced with
{prefix}The shared message prefix
{mode}The game mode
{players} / {max}Current and maximum queue size
{seconds}Countdown seconds
{player}A player name
{percentage}A floor share percentage
{position}A podium position
{name}An arena name
{slot}A spawn slot number
{rank}A rank display name

Message groups

The file is grouped by purpose: general, queue, match, claim, arena, stats, rank, and spectate, plus a couple of error messages. Find the key for the message you want to change and edit its text.

Translating

To run the plugin in another language, translate the text on the right of each key. Leave the keys and the curly-brace tokens as they are. There is one language file, so all players see the same messages.

Applying changes

After editing, run:

/hoe reload

On this page