Forget about the hassle of translating WorldGuard. With this plugin, you can easily translate and customize messages from the WorldGuard plugin without modifying the JAR file, for example, using InJarTranslator.
Translation of English action keys (e.g., break that block to your own language)
Modify messages directly in-game
Compatibility with any WorldGuard version
Automatic downloading of pre-made translations
Send messages via Actionbar
How does the plugin work?
WorldGuard-Translator modifies WorldGuard's code directly in
RAM during server startup or plugin reload.
The plugin intercepts the original deny messages (
deny-message) and dynamically replaces English technical strings with your translated equivalents.
Configurations
Code (YAML):
# Pre-made WorldGuard translations. # Downloaded from https://github.com/SuperCHIROK1/WorldGuard-Translator/tree/main/translations # You can add your own languages. Create a file inside "translations" folder and name it in <language>.yml format. # All you need to do is customize the message style to fit your server. lang: en
# Prefix for WorldGuard-Translator plugin messages. # Used in local messages, replaced via %prefix% prefix: "bafb6&l[WG-Translator]&f" # Text formatting serializer. # #: LEGACY_AMPERSAND - Traditional legacy color codes (e.g., &c, &l) #: MINI_MESSAGE - Modern MiniMessage formatting (Paper 1.18+) # Learn more about formatting here: https://docs.papermc.io/adventure/minimessage/format/ serializer: LEGACY_AMPERSAND
# Check for WorldGuard-Translator plugin updates. # If an update is available, the plugin will notify administrators in the console and chat. check_updates: true
# Permission settings. permissions:
admin_command: "wgtranslator.admin" update_log: "wgtranslator.update"
Code (YAML):
# Deny message template. # %what% is automatically replaced with the translated string from the "components" section. deny_message: "&#ff5400&l❌ Hey! &fSorry, but you can`t &#ff5400%what% &fhere!" # Translations of specific actions. # Inserted instead of %what% in deny_message. # You can add your own translations using /wgt component add <key>; <value> components: # Block place "place that block": "place blocks" "place fire": "ignite the ground" "use frostwalker": "use Frost Walker"
Set temporary denyMessage until the next server reload
Support & Links
• Leave a Star on the
GitHub Repository • Rate the resource and leave a review/feedback based on your experience
•
Join our Discord server (you can submit your translations here)
Found a bug or need help? Please do not report issues or bugs in the reviews section. It is much better and faster to contact the developer directly via: Our Discord Server / Discussion Thread / GitHub Issues