Languages and Messages
Language and Messages
BuildersWand supports multiple languages and provides extensive customization of all user-facing messages. This system allows you to tailor the plugin's communication to match your server's style and language preferences.
Language Files
The plugin includes language files in the lang/ directory:
en.yml- English (default)de.yml- Germanes.yml- Spanish
Setting the Language
In config.yml, set your preferred language:
general:
language: "en" # Options: en, de, esMessage Categories
All messages are organized into logical categories:
Command Messages
Usage Restriction Messages
Permission Messages
Feature Messages
GUI Messages
Statistics Messages
Integration Messages
Color Codes
All messages support Minecraft color codes:
Colors:
&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
Formatting:
&l- Bold&n- Underline&o- Italic&k- Obfuscated&m- Strikethrough&r- Reset
Placeholders
Many messages support placeholders that are automatically replaced:
General Placeholders:
{player}- Player name{count}- Number of blocks{mode}- Current wand mode{distance}- Current wand distance{max_range}- Maximum wand range{durability}- Current durability{wand}- Wand name{placed}- Blocks placed{broken}- Blocks broken
Example Usage:
Customizing Messages
Modifying Existing Messages
To customize messages for your server:
Backup the original file
Edit the message text - Change the text after the colon
Keep the structure - Don't change the message keys
Test your changes - Use
/bw reloadto apply changes
Message Prefix
The message prefix is configured in config.yml:
This prefix is automatically added to most messages. You can customize it to match your server's style:
Examples:
"&8[&bBuildersWand&8]"- Default style"&7[&aBW&7]"- Short and clean"&6[&lWand&6]"- Bold and golden""- No prefix (empty string)
Action Bar Messages
Some messages appear in the action bar (if your server version is supported by the Adventure API):
These messages are shown when:
show-wand-mode: truein config.ymlshow-durability: truein config.ymlPlayer is not in creative mode
Sound Messages
Sound effects are configured in config.yml but can be referenced in messages:
Help Messages
Command help messages are also customizable:
Troubleshooting
Messages not updating:
Use
/bw reloadafter making changesCheck YAML syntax (proper indentation)
Verify message keys are correct
Color codes not working:
Ensure you're using
¤Check that the color code is valid
Make sure the message is being sent to a player (not console)
Placeholders not replacing:
Verify placeholder syntax:
{placeholder}Check that the placeholder name is correct
Ensure the value is available when the message is sent
The language system is designed to be flexible and extensible, allowing you to create the perfect user experience for your server's community.
Last updated