Messages and Language
Editing player-facing text and switching or adding a translation.
Every player facing message in RegenZones lives in a language file. Nothing is hardcoded, so you can reword, restyle or fully retranslate anything the plugin says.
Shipped languages
Three languages ship in the lang folder:
French and Spanish are full translations, not the English file copied with the values
left alone. The language key in config.yml picks which file is active:
language: en_USAdding your own translation
Drop a new file into the lang folder and set language in config.yml to its name
(without the .yml). RegenZones loads whatever file that key points at, so a custom
translation works the same way as the three shipped ones.
Editing messages
Every language file is grouped by area: general, wand, selection, region,
block, protection, help, gui. Open the file, find the line, edit the text, then
run /rz reload to pick up the change without restarting.
Placeholders
Messages use curly bracket placeholders, for example:
region:
created: "&aRegion &f{region} &acreated."Do not remove a placeholder or the message will be missing that piece of information. Reordering the surrounding text around a placeholder is fine.
Colour codes in the language files use Prism syntax (legacy codes like &a, hex,
gradients and the named palette). This is the same syntax used throughout RegenZones,
not MiniMessage tags.