Messages & Language
Every player-facing string lives in a language file under plugins/zResetMap/lang/. Nothing is hardcoded, so you can reword or translate all of it.
Pick a language
Set language in config.yml to one of the shipped files:
|
English |
|
French |
|
Spanish |
Then /zrm reload.
Edit messages
Open the file for your language, for example lang/en.yml, and change the values. Keys are grouped by area: reset, spawn, tp, rtp, schedule, command, lock, menu, and so on.
reset:
completed: "&aReset of &b{world}&a completed. New seed: &e{seed}"
|
Leave |
Placeholders
Messages carry placeholders in curly braces that the plugin fills in. Use the ones that already appear in a message; the common ones are:
|
The world’s config label. |
|
The world folder name on disk. |
|
A formatted duration, like |
|
The new seed after a reset. |
|
A player name. |
|
A number, for example players evacuated. |
Colors
Messages use & color codes, hex, gradients, and reusable style tags like <warning>. All of that is covered on its own page: Colors & Styles.
Duration labels
The time block sets the unit suffixes glued onto every duration the plugin prints:
time:
month: "mo"
week: "w"
day: "d"
hour: "h"
minute: "m"
second: "s"
separator: " "
now: "now"
The number sticks straight onto the suffix, so d gives 3d and ` jours` gives 3 jours. separator sits between parts (1d 2h), and now shows when there is no time left. French ships day: "j", Spanish ships day: "d".