Flectone Logo FlectonePulse

Delete

This formatting replaces <delete> and allows for deleting messages in chat

delete

Warning

With a large number of players, this may cause slightly higher memory consumption due to message storage. Based on rough calculations, 100 players = 5-10 MB.

Warning

This module is incompatible with the InteractiveChat plugin.

🌍Localization

Path localizations → language.yml → message.format.moderation.delete
delete:
  placeholder: "<color:#ff7171><hover:show_text:\"<color:#ff7171>Нажми, чтобы удалить\"><click:run_command:\"/deletemessage <uuid>\">[x] "
  format: "<fcolor:3><i>Сообщение удалено</i>"
delete:
  placeholder: "<color:#ff7171><hover:show_text:\"<color:#ff7171>Click to delete message\"><click:run_command:\"/deletemessage <uuid>\">[x] "
  format: "<fcolor:3><i>Message deleted</i>"

placeholder

The placeholder that replaces each <delete> if the player has permission to delete the message; otherwise, it will be empty.

format

The format of the message that will be sent upon deletion.

⚙️Setting

Path message.yml → format.moderation.delete
delete:
  enable: false
  history_length: 100

enable

Enables or disables the functionality of the module

history_length

The maximum number of messages to be stored in the history for each player.

🔐Permissions

Path permission.yml → message.format.moderation.delete
delete:
  name: "flectonepulse.module.message.format.moderation.delete"
  type: "OP"

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