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 - German

  • es.yml - Spanish

Setting the Language

In config.yml, set your preferred language:

general:
  language: "en"  # Options: en, de, es

Message 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:

  1. Backup the original file

  2. Edit the message text - Change the text after the colon

  3. Keep the structure - Don't change the message keys

  4. Test your changes - Use /bw reload to 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: true in config.yml

  • show-durability: true in config.yml

  • Player 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 reload after making changes

  • Check YAML syntax (proper indentation)

  • Verify message keys are correct

Color codes not working:

  • Ensure you're using & not §

  • 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