Docs

Languages

PulsePrison ships in English (messages.yml) and Spanish (messages_es.yml), selectable per player. Translating into another language is optional: any missing key is shown in English.

Configuration

yaml
# config.yml
language:
  default: en
  available:
    - en
    - es
  allow-player-selection: true   # false forces the default language for everyone

Adding your own language

  1. Add the code to language.available, for example pt.
  2. Restart the server: PulsePrison creates messages_pt.yml by copying messages.yml.
  3. Translate whatever you want in that file. Anything left untranslated stays in English.
  4. Players pick it with /language pt.

Commands

CommandAliasesPermissionDescription
/language/langpulseprison.languageShow available languages
/language <code>pulseprison.languageChange language

How it works

  • The change applies instantly and only for that player; no restart needed.
  • The choice is saved and restored on the next join.
  • Every menu in menus/ and pmines/menus/ uses @message.key keys, so it shows in each player's language.
  • Actions with @key too: a [broadcast] @key reaches each player in their language.
  • Players can also change language from /settings.
  • A missing key is looked up in this order: player language → default language → English.
  • When you update the plugin, new keys are added to your files without overwriting what you changed.

Some texts of older commands (robots, cells, seasons, pets and part of the rank mines) are still written in code and show in English. Translating them is optional and does not affect functionality.

Languages | PulsePrison Core Docs