Flectone Logo FlectonePulse

/deletemessage

Command for deleting a message in chat, used automatically when hovering over the delete icon

command deletemessage

Warning

The command will be useless if the main module Delete is disabled


🌍 Localization

Path localizations → language.yml → command.deletemessage
deletemessage:
  null_message: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This message does not exist"
  format: "<color:#98FB98>☒ Successfully deleted message"
deletemessage:
  null_message: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Сообщение не существует"
  format: "<color:#98FB98>☒ Сообщение успешно удалено"

null_message

Message if the message to be deleted does not exist

format

The format of the message that will be sent


⚙️ Setting

Path command.yml → deletemessage
deletemessage:
  enable: true
  aliases:
  - "deletemessage"
  destination:
    type: "ACTION_BAR"
    times:
      stay: 60
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

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


🔐 Permissions

Path permission.yml → command.deletemessage
deletemessage:
  name: "flectonepulse.module.command.deletemessage"
  type: "OP"
  cooldown_bypass:
    name: "flectonepulse.module.command.deletemessage.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.deletemessage.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

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