Home›Java›Mods›⭐ WorldGuard-Translator ⭐ [1.16 - 26.x] | Translate & Customize WorldGuard messages quickly & easily
⭐ WorldGuard-Translator ⭐ [1.16 - 26.x] | Translate & Customize WorldGuard messages quickly & easily
ModsJava

⭐ WorldGuard-Translator ⭐ [1.16 - 26.x] | Translate & Customize WorldGuard messages quickly & easily

Java mod listed for Minecraft 1.16–26.x. Download on the author's site.

⬇ Download on Spigot
WorldGuard-Translator

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.

demo.png
(View the current list of translations)

Features

  • High performance and lightweight
  • MiniMessage formatting support
  • 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

Spoiler: config.yml
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
: "&#2bafb6&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"

Spoiler: Example of localization file (en.yml)
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"

  # Block break3
  "break that block"
: "break blocks"
  "use dynamite"
: "use dynamite"

  # Block / entity interact
  "use that"
: "use this"
  "open that"
: "open this"
  "sleep"
: "go to sleep"
  "use anchors"
: "use respawn anchor"
  "use explosives"
: "use explosives"

  # Entity spawn / drop
  "place things"
: "place items"
  "place vehicles"
: "place vehicles"
  "drop items"
: "drop items"
  "drop XP"
: "drop XP"
  "use lingering potions"
: "use lingering potions"

  # Entity destroy / pickup
  "break things"
: "break items"
  "break vehicles"
: "break vehicles"
  "pick up items"
: "pick up items"

  # Entity damage / mount
  "change that"
: "modify this"
  "ride that"
: "ride this"
  "hit that"
: "attack this"
  "damage that"
: "damage this"
  "harm that"
: "harm this"
  "PvP"
: "fight players"

messages
:
  reloaded
: "%prefix% &#70e000Plugin successfully reloaded! &#e2eafcNew messages/translations have been applied to WorldGuard. &7(Time: %s ms.)"
  deny_message
:
    installed
: "%prefix% &#70e000Successfully set deny_message!"
    installed_temp
: "%prefix% &#70e000Successfully set temporary deny_message &7(lasts until server or plugin restart)"
  component
:
    added
: "%prefix% &#70e000Successfully added translation: &#2bafb6%s &#a1a8b8-> &#2bafb6%s"
    usage
: "%prefix% &#e2eafcPlease use the format &#2bafb6<key>;<translation>&#e2eafc. Example: &#2bafb6break that block;break blocks"
    list
:
      header
: "&#a1a8b8----- &#2bafb6&lWG-T : Components &#a1a8b8-----\n"
      # {0} - key | {1} - translation
      format
: "&#a1a8b8• &#2bafb6{0} &#a1a8b8-> &#e2eafc{1}"
  help
: |-
    &8 ----- &3&lWorldGuard Translator &8 -----

    &8• &e/ %cmd% &6<reload | restart> &7- &#e2eafcReload the plugin.
    &8• &e/ %cmd% &6component <add | set | list> &7- &#e2eafcManage translations.
    &8• &e/ %cmd% &6denyMessage <set | setTemp> &7- &#e2eafcSet deny_message.

Commands & Permissions

To use any of the commands listed below, you must have the wgtranslator.admin permission (or the custom one specified in your config file).
Click to expand...
Command Argument Description
/wgt reload / restart / r Reload the plugin
/wgt help Get the help menu
/wgt component add / set <key>;<value> Add or modify a translation string
| list Get a list of all translated strings
/wgt denyMessage set <message> Set <message> as the global denyMessage
| setTemp <message> 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

Tags: How to translate WorldGuard
[​IMG]​
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

⭐ WorldGuard-Translator ⭐ [1.16 - 26.x] | Translate & Customize WorldGuard messages quickly & easily is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 386 times (via Spigot). Download it and open it directly in the game.

Explore more