Skip to main content

Language Files

All user-visible text strings are externalized into language files under lang/. Two languages are included out of the box:

  • lang/en_US.yml — English
  • lang/es_ES.yml — Spanish

Language Selection

The active language is selected in bootstrap.yml:

# bootstrap.yml
language: en_US # Available: en_US, es_ES

File Format

Language files use:

  • Minecraft color codes&6, &a, &c, etc.
  • Named placeholders{tps}, {playerName}, {action}, etc.

Custom Translations

Custom translations can be created by copying an existing file and modifying the string values:

cp plugins/auroraoptimizer/lang/en_US.yml plugins/auroraoptimizer/lang/pt_BR.yml
# Edit pt_BR.yml with strings in the new language

Then update bootstrap.yml:

language: pt_BR

Language changes require a full server restart.