Steal a Brainrot

Messages & Language

Switching between English, French and Spanish, editing messages, and making your own language file.

Every message players see lives in a language file under plugins/StealABrainRot/language/. English, French and Spanish ship with the plugin.

Picking a language

Set the language option in config.yml and reload:

language: en   # or fr, es

The console confirms which one loaded, for example Using bundled language: fr.

Editing messages

Open the active file (say language/en.yml), change any line, and run /brainrot admin reload. Each message is one line:

mob-secured: "&a✔ %mob% secured in slot %slot%! &7(+$%income%/s)"
  • & color codes, hex (&#FF8800), gradients, rainbow and the named palette all work, see Colors & Formatting.
  • Keep the %placeholders% in your text, the plugin fills them in.
  • prefix at the top of the file is put in front of most messages.
  • When an update adds new messages, they are merged into your files on their own, in English, ready to translate. Your edits are kept. Leave file-version alone, it is what makes the merge work.

Your own language file

Want German, Hindi, or a full rewrite in your server's voice? Set any name you like:

language: custom

Reload, and the plugin creates language/custom.yml as a copy of the English file with a note at the top telling you to translate it. The console says Created language/custom.yml for you to translate. Any message you delete or miss falls back to English, so a half-finished translation never breaks anything.

Player messages all come from the language file. The admin setup commands (the /brainrot admin replies) are in English only.

Translations you would like shipped with the plugin are welcome on the Discord.

On this page