Flectone Logo FlectonePulse

Name

Module responsible for the player's name

name tab
name display


🌍 Localization

Path localizations → language.yml → message.format.names
names:
  constant: []
  display:
  - "<click:suggest_command:\"/msg <player> \"><hover:show_text:\"<fcolor:2>Write to <white><player_head></white><player>\"><white><player_head></white><vault_prefix><stream_prefix><fcolor:2><player><afk_suffix><vault_suffix></hover></click>"
  entity: "<fcolor:2><hover:show_text:\"<fcolor:2><name> <br><fcolor:1>Type <fcolor:2><lang:'<type>'> <br><fcolor:1>ID <fcolor:2><uuid>\"><sprite:gui:icon/accessibility><name></hover>"
  unknown: "<fcolor:2><name>"
  invisible: "<fcolor:2>👻 Invisible"
names:
  constant: []
  display:
  - "<click:suggest_command:\"/msg <player> \"><hover:show_text:\"<fcolor:2>Написать <white><player_head></white><player>\"><white><player_head></white><vault_prefix><stream_prefix><fcolor:2><player><afk_suffix><vault_suffix></hover></click>"
  entity: "<fcolor:2><hover:show_text:\"<fcolor:2><name> <br><fcolor:1>Тип <fcolor:2><lang:'<type>'> <br><fcolor:1>Айди <fcolor:2><uuid>\"><sprite:gui:icon/accessibility><name></hover>"
  unknown: "<fcolor:2><name>"
  invisible: "<fcolor:2>👻 Невидимка"

constant

Messages that will be formatted from sender on server from where it was sent. They can be used in any message using <constant:index> (starting from 0). If an uncorrected index is specified or not, the first constant will be used

NOTE

If you are having issues with messages for Velocity or BungeeCord, this is the solution to your problem:

constant:
  - "%player_name%"
display: "<constant>"

display

Responsible for the player's name

name display

You can have any number of such name formats, and to use a specific one, you need to specify its index, starting from zero: <display_name:0>, <display_name:1>, etc.

In some messages, you may encounter <target>, which is the same as <display_name>; you can also use indices with it: <target:0>, <target:1>, etc.

If an incorrect index is specified, the first name will be used

entity

Responsible for the entity's name

unknown

Responsible for the entity's name if it could not be determined

invisible

Responsible for the player's name if they are under an invisibility potion


⚙️ Setting

Path message.yml → format.names
names:
  enable: true
  should_check_invisibility: false

enable

Enables or disables the functionality of the module

should_check_invisibility

Whether to check if the player is under an invisibility potion. If enabled, the invisible name will be used


🔐 Permissions

Path permission.yml → message.format.names
names:
  name: "flectonepulse.module.message.format.names"
  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