Skip to content

Languages

Spolzer edited this page Sep 26, 2026 · 1 revision

English and Russian are included. By default every player sees messages and menus in the language of their game client. Other players get the default-language.

language: auto
default-language: en

To use one language for everyone, set it directly:

language: ru

Changing texts

Texts are in plugins/InTrade/lang/en.yml and ru.yml. Edit them and run /trade reload.

Formatting uses MiniMessage: <red>, <bold>, <gradient:#7aa2f7:#bb9af7> and so on. Words in angle brackets that aren't colors, like <player> or <amount>, are filled in by the plugin, keep them as they are.

An empty text turns a chat message off:

request:
  expired: ""

If you delete a line, the default text is used. After an update new lines are also taken from the defaults, you don't have to copy them over.

Adding a language

  1. Copy en.yml to a new file named after the language code: de.yml, uk.yml, pt_br.yml.
  2. Translate it and run /trade reload.

With language: auto players whose game is set to that language will see it right away. Lines you haven't translated yet stay in English.

Clone this wiki locally