MoneyRace

Messages and language

Change the language, edit any message and style text with MiniMessage

Every message a player sees comes from a lang file in plugins/MoneyRace/lang. Menus come from menus.yml and item names from items.yml. Nothing is hardcoded in the plugin.

Pick a language

en_US, fr_FR and es_ES are included. Set it in config.yml and reload:

language: fr_FR

Run /moneyrace admin reload after changing it.

Write your own

  1. Copy en_US.yml to a new name in the lang folder, for example hi_IN.yml.
  2. Edit the text.
  3. Set language: hi_IN in config.yml and reload.

Any key missing from your file falls back to English, so you can translate a bit at a time.

MiniMessage

Text uses MiniMessage. A few examples:

You writeYou get
<#55FF55>green</#55FF55>Green text with a hex colour
<b>bold</b>Bold text
<gradient:#FFD54F:#FF8A3D>Finale</gradient>A colour gradient
<prefix>The message prefix

Words in angle brackets like <player>, <amount> and <team> are placeholders that the plugin fills in. Keep them in your translation. The comment above each key says which ones it uses.

Other text

  • The server name in messages is server-name in config.yml.
  • The money format is economy.format (<symbol><amount>) with economy.currency-symbol and economy.number-pattern.
  • Sidebar, tab and hologram text are lang keys under hud and holograms.
  • Help lines are under help in the lang file, so you can reword or translate commands.

Keep it readable

Most players use a dark background. Money works well in green and losses in red. Avoid dark blue and dark grey for anything important.

On this page