Picking a language
plugins/rLogin/messages/, one per language:
The language is server-wide: every player sees the same one.
/rlogin lang
exists only to remind you which setting to change.Adding a language
Copy anylang_<code>.yml, translate the values, save it in the same folder,
and name it in general.language. No code change, no restart of anything but
rLogin — /rlogin reload picks it up.
Translations are welcome as pull requests on
GitHub. If you add one, please keep
the key list identical to
lang_en.yml.Editing messages
The files are plain YAML, grouped by area:Colours
Three formats work, and you can mix them freely in the same string:- Hex
- MiniMessage
- Legacy
§x§R§R§G§G§B§B and a bare #RRGGBB. This is what the bundled
files use.Placeholders
{prefix} works in every message. The rest depend on the message and are
listed in the comment at the top of each file:
Use
\n for a line break — useful in the kick screens, which are the only
multi-line messages.
Applying changes
config.yml and the language files without restarting the server.