-
Notifications
You must be signed in to change notification settings - Fork 1
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.
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) |
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
7FF55 — Green
ᖳFF — Blue
&#FFD700 — Gold
&#FF69B4 — Pink
Example:
prefix: "&8[7FF55✦ Vexora&8] &7"
enabled: "7FF55VeinMiner �AA00enabled7FF55!"
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 infoafter reloading - Use hex colors for gradient effects
- Don't remove the
prefixkey
Want to add a new language? Create a messages_xx.yml file following the English template and submit a Pull Request on GitHub.
All plugin messages are stored in plugins/VexoraVeinMiner/messages.yml, separate from the main config. This makes translation easy without touching gameplay settings.
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:
- Download the desired language file from [GitHub](https://github.com/VexoraStudios/Vexora-VeinMiner/tree/main/languages)
- Rename it to
messages.yml - Replace the existing
messages.ymlinplugins/VexoraVeinMiner/ - Run
/vm reload
| 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 |
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
7FF55 — Green
ᖳFF — Blue
&#FFD700 — Gold
&#FF69B4 — Pink
Example:
prefix: "&8[7FF55✦ Vexora&8] &7"
enabled: "7FF55VeinMiner �AA00enabled7FF55!"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 infoafter reloading - Use hex colors for gradient effects
- Don't remove the
prefixkey
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).