Skip to main content
Every message rLogin sends is in a language file, and every one of them can be changed. Nothing is hardcoded.

Picking a language

The files live in 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 any lang_<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:
Also accepts §x§R§R§G§G§B§B and a bare #RRGGBB. This is what the bundled files use.
The palette the bundled files follow, if you want to stay consistent:

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

Reloads config.yml and the language files without restarting the server.