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

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
Pathlocalizations → 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
Pathmessage.yml → format.moderation.delete
delete:
enable: false
history_length: 100enable
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
Pathpermission.yml → message.format.moderation.delete
delete:
name: "flectonepulse.module.message.format.moderation.delete"
type: "OP"name
Permission name
type
Permission type
| Type | Explanation |
|---|---|
TRUE | Available to any player |
FALSE | Available to no one, must be granted separately (e.g., using LuckPerms) |
OP | Available to server operators |
NOT_OP | Available to NON-operators of the server |
Last updated on
Edit on GitHub
FlectonePulse