Caps
This formatting removes caps in messages

🌍 Локализация
Путьlocalizations → language.yml → message.format.moderation.caps
caps:
format_restrict: "<color:#ff7171>🔒 You cannot communicate because you often used all caps (<time_left> remaining)"caps:
format_restrict: "<color:#ff7171>🔒 Ты не можешь общаться, потому что часто писал капсом (<time_left> осталось)"format_restrict
Message if the player wrote in caps too often
⚙️ Setting
Pathmessage.yml → format.moderation.caps
caps:
enable: false
violation_limit: 5
violation_reset_time: 200
trigger: 0.7enable
Enables or disables the functionality of the module
violation_limit
How many times in a row a player must write in caps to receive a chat restriction
violation_reset_time
How long each violation will be valid in ticks (20 ticks = 1 second)
trigger
The percentage of uppercase letters required for the message to be modified
How to correctly write the percentage
0.7 is 70%, and 1.0 is 100% (the entire message)
🔐 Permissions
Pathpermission.yml → message.format.moderation.caps
caps:
name: "flectonepulse.module.message.format.moderation.caps"
type: "TRUE"
bypass:
name: "flectonepulse.module.message.format.moderation.caps.bypass"
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 |
bypass
Permission to ignore the formatting
FlectonePulse