Flectone Logo FlectonePulse

Caps

This formatting removes caps in messages

caps


🌍 Локализация

Путь 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

Path message.yml → format.moderation.caps
caps:
  enable: false
  violation_limit: 5
  violation_reset_time: 200
  trigger: 0.7

enable

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

Path permission.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

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

bypass

Permission to ignore the formatting

On this page

Authors of page