Language

Customize messages and add translations.

Selecting a Language

config.yml
lang: 'en_US'
FileLanguage
lang/en_US.ymlEnglish
lang/es_ES.ymlSpanish

Message Keys

General

KeyDescriptionPlaceholders
prefixPlugin prefix

Commands

KeyDescription
command.only-playersNon-player runs player-only command
command.no-permissionMissing permission
command.reload-successConfig reloaded

Market

KeyDescriptionPlaceholders
market.sell-successSuccessful sale{sold_amount}, {money}
market.sell-nothingNothing to sell
market.sell-errorTransaction error

History

KeyDescriptionPlaceholders
history.invalid-timeInvalid time format
history.emptyNo records found{player}
history.displayPage layout (list){entries}, {previous_page}, {next_page}, {player}, {page}, {max_page}
history.entrySingle record line{player_head}, {recipe}, {quantity}, {quality}, {total}
history.entry_hoverHover tooltip on a record{player}, {time_ago}, {exact_date}
history.navigation.*Prev/Next buttons{page}
Note: All messages use MiniMessage formatting. See the Adventure documentation for the full tag reference.

Adding a Language

Copy a file

Duplicate lang/en_US.yml and rename it (e.g., fr_FR.yml).

Translate

Translate the values. Keep keys and placeholders unchanged.

Set in config

Set lang: 'fr_FR' in config.yml and reload.