Skip to content
Rosti Studios

RS-Economy documentation · v2.0.0

Languages and wording

Seven languages, one per player, and how to rewrite any message without losing it on update.

#One language per player

Every message follows the player's own Minecraft client language. On a mixed community nobody is stuck with a language they do not speak, and there is no server-wide language setting to maintain.

Built in:

Language File
English (fallback) locale_en_US.properties
German locale_de_DE.properties
Spanish locale_es_ES.properties
French locale_fr_FR.properties
Italian locale_it_IT.properties
Dutch locale_nl_NL.properties
Brazilian Portuguese locale_pt_BR.properties

A player whose language is not in the list gets English.

#Rewrite any message

On first start the mod copies the files to config/rs_economy/locales/. Edit them with any text editor (save as UTF-8).

Properties
balance.info=Your current balance is: §a{0} §6{1}§f.
  • Change only the part after =. Never rename a key.
  • Keep every placeholder that is in the original ({0}, {1} …). You may reorder them. The top of each file lists what every placeholder means.
  • Colours and styles use the § sign: §a green, §6 gold, §l bold, §r reset. A full table is in the file header.
  • Apply the change with /rs:economy reload or a restart.

#Updates keep your wording

The mod keeps a pristine copy of each shipped file in config/rs_economy/locales/.defaults/. On update it compares your file with that copy:

Your line On update
never touched refreshed to the new shipped wording
edited by you left alone
new in this release added to your file
removed from the mod dropped, if you never edited it

Editing is line-based, so your comments and the order of the lines survive. If an old install has no copy yet, every existing value counts as yours and only missing lines are added.

#Add your own language

  1. Copy locale_en_US.properties to locale_xx_XX.properties, e.g. locale_ja_JP.properties.
  2. Translate only the values.
  3. Players whose client language matches are served from it.

Translations you make or share must stay free, keep the non-commercial terms, credit Rosti Studios as the original author of the files, and not be presented as official. See Licence.

#Custom scoreboard lines

New scoreboard.line.<id> keys are your own lines. See Leaderboard and scoreboard.

Something missing or wrong? Tell us on Discord. This documentation describes v2.0.0.