Skip to content

Messages & languages

deveriku edited this page Apr 7, 2026 · 1 revision

Messages & Languages

All plugin messages are stored in plugins/VexoraVeinMiner/messages.yml, separate from the main config. This makes translation easy without touching gameplay settings.


Changing Language

Vexora ships with 9 pre-made language files in the languages/ folder on GitHub:

File Language
messages_en.yml 🇬🇧 English (default)
messages_hu.yml 🇭🇺 Magyar (Hungarian)
messages_de.yml 🇩🇪 Deutsch (German)
messages_es.yml 🇪🇸 Español (Spanish)
messages_fr.yml 🇫🇷 Français (French)
messages_ru.yml 🇷🇺 Русский (Russian)
messages_zh.yml 🇨🇳 简体中文 (Chinese Simplified)
messages_pt.yml 🇧🇷 Português (Portuguese)
messages_tr.yml 🇹🇷 Türkçe (Turkish)

Color Codes

Vexora supports both legacy and hex color codes in all messages:

Legacy codes:

&0 Black       &1 Dark Blue    &2 Dark Green   &3 Dark Aqua
&4 Dark Red    &5 Dark Purple  &6 Gold         &7 Gray
&8 Dark Gray   &9 Blue         &a Green        &b Aqua
&c Red         &d Light Purple &e Yellow       &f White
&l Bold        &o Italic       &n Underline    &m Strikethrough
&k Magic       &r Reset

Hex colors:

&#FF5555  — Red
&#55FF55  — Green
&#5555FF  — Blue
&#FFD700  — Gold
&#FF69B4  — Pink

Example:

prefix: "&8[&#55FF55✦ Vexora&8] &7"
enabled: "&#55FF55VeinMiner &#00AA00enabled&#55FF55!"

Custom Translation

You can edit messages.yml directly. Every key is optional — if a key is missing, the plugin falls back to the default English value.

Tips:

  • Keep the %placeholder% values unchanged
  • Test color codes with /vm info after reloading
  • Use hex colors for gradient effects
  • Don't remove the prefix key

Contributing Translations

Want to add a new language? Create a messages_xx.yml file following the English template and submit a Pull Request on GitHub.

# Messages & Languages

All plugin messages are stored in plugins/VexoraVeinMiner/messages.yml, separate from the main config. This makes translation easy without touching gameplay settings.


Changing Language

Vexora ships with 9 pre-made language files in the languages/ folder on GitHub:

File Language
messages_en.yml 🇬🇧 English (default)
messages_hu.yml 🇭🇺 Magyar (Hungarian)
messages_de.yml 🇩🇪 Deutsch (German)
messages_es.yml 🇪🇸 Español (Spanish)
messages_fr.yml 🇫🇷 Français (French)
messages_ru.yml 🇷🇺 Русский (Russian)
messages_zh.yml 🇨🇳 简体中文 (Chinese Simplified)
messages_pt.yml 🇧🇷 Português (Portuguese)
messages_tr.yml 🇹🇷 Türkçe (Turkish)

To switch language:

  1. Download the desired language file from [GitHub](https://github.com/VexoraStudios/Vexora-VeinMiner/tree/main/languages)
  2. Rename it to messages.yml
  3. Replace the existing messages.yml in plugins/VexoraVeinMiner/
  4. Run /vm reload

Message Keys

Key Default (English) Placeholders
prefix &8[&a✦ Vexora&8] &7
enabled &aVeinMiner &2enabled&a!
disabled &aVeinMiner &cdisabled&a.
reloaded &aConfig reloaded successfully!
no-permission &cYou don't have permission.
blacklisted &cYou are blacklisted from using VeinMiner.
world-disabled &cVeinMiner is disabled in this world.
region-denied &cVeinMiner is not allowed in this region.
cooldown &cVeinMiner on cooldown! &7(%remaining%s remaining) %remaining%
stats &7You have vein-mined &a%total_blocks% &7blocks total. %total_blocks%
stats-reset &aYour stats have been reset.
update-available &aNew version available! &fv%new_version% %new_version%, %current_version%

Multi-line messages: info and help are lists with additional placeholders:

Placeholder Description
%version% Plugin version
%status% ON/OFF status
%max_blocks% Max block limit
%require_sneak% Yes/No
%cooldown% Cooldown value or OFF
%animation% ON/OFF
%player_blocks% Player's total blocks mined

Color Codes

Vexora supports both legacy and hex color codes in all messages:

Legacy codes:

&0 Black       &1 Dark Blue    &2 Dark Green   &3 Dark Aqua
&4 Dark Red    &5 Dark Purple  &6 Gold         &7 Gray
&8 Dark Gray   &9 Blue         &a Green        &b Aqua
&c Red         &d Light Purple &e Yellow       &f White
&l Bold        &o Italic       &n Underline    &m Strikethrough
&k Magic       &r Reset

Hex colors:

&#FF5555  — Red
&#55FF55  — Green
&#5555FF  — Blue
&#FFD700  — Gold
&#FF69B4  — Pink

Example:

prefix: "&8[&#55FF55✦ Vexora&8] &7"
enabled: "&#55FF55VeinMiner &#00AA00enabled&#55FF55!"

Custom Translation

You can edit messages.yml directly. Every key is optional — if a key is missing, the plugin falls back to the default English value.

Tips:

  • Keep the %placeholder% values unchanged
  • Test color codes with /vm info after reloading
  • Use hex colors for gradient effects
  • Don't remove the prefix key

Contributing Translations

Want to add a new language? Create a messages_xx.yml file following the English template and submit a Pull Request on [GitHub](https://github.com/VexoraStudios/Vexora-VeinMiner).

Clone this wiki locally