Skip to content

Language

Niklas Eicker edited this page Nov 17, 2018 · 2 revisions

GameBox organizes messages, inventory titles and other Strings in language files. These files are located in the folder language inside the GameBox folder. Which file from the folder will be used to load the messages, can be configured in the configuration file with the option langFile.

Possible options are:

  1. langFile: default
    • With this option set, the plugin will load messages from the lang_en.yml file inside the .jar file
    • With this option set, messages are not configurable
    • This is the default option
  2. langFile: lang_xx.yml
    • GameBox will use messages from the file lang_xx.yml
    • You can name your files whatever you want
    • You can customize a default file or create your own one from scratch

Missing messages

If you use any other option then langFile: default and a plugin update introduces a new message, this message will be missing in your file. On startup, GameBox will tell you about any modules (GameBox or any game) that have missing messages in their language files. To get more detailed information about the missing keys, run gba language in the console.

Clone this wiki locally