Flectone Logo FlectonePulse

/nickname

Command to change a nickname

  • To change another player's nickname, use /nicknameother player
  • To reset a nickname, type clear i.e. /nickname clear

command nickname


🌍 Localization

Path localizations → language.yml → command.nickname
nickname:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This player does not exist"
  null_nickname: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This nickname cannot be used"
  display: "<value><gray>~</gray>"
  display_see: "(<player>) <value><gray>~</gray>"
  format: "<fcolor:1>✎ Nickname was changed to <fcolor:2><nickname>"
nickname:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Игрок не найден"
  null_nickname: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Этот ник нельзя использовать"
  display: "<value><gray>~</gray>"
  display_see: "(<player>) <value><gray>~</gray>"
  format: "<fcolor:1>✎ Ник был изменён на <fcolor:2><nickname>"

null_player

Message if the specified player is not found

null_nickname

Message if the specified nickname cannot be used

display

How the changed nickname will be displayed to everyone

display_see

How the changed nickname will be displayed to a player with the see permission

format

Message when changing a nickname


⚙️ Setting

Path command.yml → nickname
nickname:
  enable: true
  allowed_input: ""
  aliases:
  - "nickname"
  destination:
    type: "CHAT"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

allowed_input

Allowed regular expression for the nickname

aliases

A list of aliases for using the command

ALIASES CAN BE ANYTHING

For example newcommand, newcommand_ru, ban, me etc.

destination

Where the message will be sent

TypeExplanationRequires additional configuration?
ACTION_BARMessage above the player's inventoryYes
BOSS_BARMessage at the top of the screenYes
BRANDMessage in F3No
CHATMessage in chatNo
TEXT_SCREENMessage anywhere on the screenYes
TITLEFull-screen messageYes
SUBTITLEFull-screen message (bottom line)Yes
TAB_HEADERMessage in TAB (top)No
TAB_FOOTERMessage in TAB (bottom)No
TOASTMessage in the top right corner (achievement)Yes

cooldown

Usage delay

sound

Sound playback


🔐 Права

Путь permission.yml → command.nickname
nickname:
  name: "flectonepulse.module.command.nickname"
  type: "OP"
  see:
    name: "flectonepulse.module.command.nickname.see"
    type: "FALSE"
  other:
    name: "flectonepulse.module.command.nickname.other"
    type: "OP"
  cooldown_bypass:
    name: "flectonepulse.module.command.nickname.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.nickname.sound"
    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

see

Permission to see the player's real nickname

other

Permission to change another player's nickname

cooldown_bypass

Permission to ignore the cooldown between uses

sound

Permission to use the sound

Last updated on

Edit on GitHub

On this page

Authors of page