/clearchat
Command to clear the chat

🌍 Localization
Pathlocalizations → language.yml → command.clearchat
clearchat:
null_player: "<color:#ff7171>This player does not exist"
format: "<fcolor:1>[!] Chat is cleared"clearchat:
null_player: "<color:#ff7171>Игрок не найден"
format: "<fcolor:1>[!] Чат очищен"null_player
Message if the entered player is not found
format
Message after clearing the chat
⚙️ Setting
Pathcommand.yml → clearchat
clearchat:
enable: true
length: 100
aliases:
- "clearchat"
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: falseenable
Enables or disables the functionality of the module
length
How many messages will be cleared
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
| Type | Explanation | Requires additional configuration? |
|---|---|---|
ACTION_BAR | Message above the player's inventory | Yes |
CHAT | Message to chat | No |
TITLE | Fullscreen message | Yes |
SUBTITLE | Fullscreen message (top line) | Yes |
TOAST | Notification in the bottom right corner | Yes |
cooldown
Usage delay
sound
Sound playback
🔐 Permissions
Pathpermission.yml → command.clearchat
clearchat:
name: "flectonepulse.module.command.clearchat"
type: "TRUE"
other:
name: "flectonepulse.module.command.clearchat.other"
type: "OP"
cooldown_bypass:
name: "flectonepulse.module.command.clearchat.cooldown.bypass"
type: "OP"
sound:
name: "flectonepulse.module.command.clearchat.sound"
type: "TRUE"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 |
other
Permission for use on another player
cooldown_bypass
Permission to ignore the cooldown between uses
sound
Permission to use the sound
Last updated on
Edit on GitHub
FlectonePulse