WorldGuard-Customize is a fork of WorldGuard 7.0.17 whose main goal is fully configurable, color-aware plugin messages.
The gameplay behavior of WorldGuard is preserved. The internal plugin name remains
WorldGuard so existing addons and depend: [WorldGuard] declarations continue to work.
- Every player-facing message can be edited in
plugins/WorldGuard/messages.yml. - The messages file is generated automatically on first startup.
/wg reloadreloads both the plugin configuration andmessages.yml.- The default messages file is English. A Russian translation is generated as
messages_ru.yml. - Messages support:
- legacy ampersand colors:
&c,&l,&o, ... - HEX colors:
&#ffaa00 - Spigot-style HEX colors:
&x&f&f&a&a&0&0 - already serialized section codes:
§c,§x§f§f§a§a§0§0
- legacy ampersand colors:
- Placeholders use the
{name}syntax, for example{player},{region},{world},{amount}, and{prefix}. - Covers command output, errors, region info/flags/list interfaces, protection notices, default flag deny/entry/exit/teleport messages, blacklist notifications, and listener messages.
- Region greeting, farewell, deny, and teleport messages also support HEX colors.
- Built for Paper 1.21.11 and Java 21 on top of WorldGuard 7.0.17.
- Java 21
- Paper 1.21.11 (or a compatible Bukkit server)
- WorldEdit 7.3.18
- Download
WorldGuard-Customize-7.0.17.jarfrom the Releases page or build it from source. - Place the jar in your server's
plugins/directory. - Install WorldEdit.
- Start the server.
- Edit
plugins/WorldGuard/messages.ymland run/wg reload.
messages.yml is created in English on first startup:
language: en
prefix: "&8[&6WorldGuard-Customize&8]&r "
general:
no-permission: "{prefix}&cYou don't have permission to do that."
protection:
chest:
protected: "{prefix}&4This chest is protected."
# HEX colors are supported as well:
# protected: "{prefix}&#ff5555This chest is protected."A Russian translation is generated as messages_ru.yml.
To use it, replace messages.yml with messages_ru.yml (or copy its contents into
messages.yml) and make sure the file contains:
language: ruThen run /wg reload.
| Format | Example | Notes |
|---|---|---|
| Legacy ampersand | &c, &l, &o |
Standard Minecraft color codes |
| HEX | &#ffaa00 |
Full RGB color |
| Spigot HEX | &x&f&f&a&a&0&0 |
Full RGB color |
| Section codes | §c, §x§f§f§a§a§0§0 |
Already serialized codes |
Placeholders are written in braces:
commands:
god:
enabled-by: "{prefix}&aGod mode enabled by {sender}."The prefix value can be referenced anywhere with {prefix}. Set it to an empty string
to disable the prefix.
/wg reload
This reloads config.yml, per-world configuration, region data, and messages.yml.
Changes to messages do not require a server restart.
- The plugin name in
plugin.ymlisWorldGuard, so plugins that depend on WorldGuard keep working. - The build, version string, description, and messages are branded as WorldGuard-Customize.
- The build version is based on WorldGuard 7.0.17.
The project uses the Gradle wrapper:
./gradlew :worldguard-bukkit:build -x checkThe distributable jar is written to:
worldguard-bukkit/build/libs/worldguard-bukkit-7.0.17-Customize-dist.jar
worldguard-core— platform-independent WorldGuard code and the messages system.worldguard-bukkit— Bukkit/Paper implementation and the final shaded jar.worldguard-libs— bundled libraries.worldguard-core/src/main/resources/messages.yml— English default messages.worldguard-core/src/main/resources/messages_ru.yml— Russian translation.
- Exact HEX colors are preserved in normal chat messages. Interactive components that use WorldEdit's legacy text API (for example some hover/click labels in region menus) approximate HEX colors with the closest legacy color.
- Command descriptions and usage annotations are part of WorldGuard's command metadata
and are not stored in
messages.yml.
WorldGuard-Customize is licensed under the GNU Lesser General Public License v3.0 or later.
See LICENSE for the full license text. The original WorldGuard copyright notices and the bundled Priority R-Tree license notice are retained.
- WorldGuard by sk89q and contributors.
- WorldEdit by EngineHub and contributors.
- All upstream WorldGuard contributors.