Flectone Logo FlectonePulse

Translate

A module responsible for translating messages and the `<translation>` tag

translate


🌍 Localization

Path localizations → language.yml → message.format.translate
translate:
  action: " <click:run_command:\"/translateto <language> <language> <message>\"><hover:show_text:\"<fcolor:2>Translate message\"><fcolor:1>[<~>]"
translate:
  action: " <click:run_command:\"/translateto <language> <language> <message>\"><hover:show_text:\"<fcolor:2>Перевести сообщение\"><fcolor:1>[<~>]"

action

The display format for the <translation> tag


⚙️ Setting

Path message.yml → format.translate
translate:
  enable: true

enable

Enables or disables the functionality of the module


🔐 Permissions

Path permission.yml → message.format.translate
translate:
  name: "flectonepulse.module.message.format.translate"
  type: "TRUE"

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSEAvailable to no one, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to NON-operators of the server

Last updated on

Edit on GitHub

On this page

Authors of page