LPC Pro · Moderation
Anti-Caps
Documents LPC Pro 4.0.0 · mirrored from the product wiki, updated 2026-02-07 · GitBook version
The anti-caps filter prevents excessive use of capital letters in chat messages. Configuration is in moderation/moderation.yml.
Configuration
anti-caps:
enabled: true
# Minimum message length to check (short messages are ignored)
minimum-length: 5
# Maximum percentage of caps allowed (0-100)
caps-threshold: 70
# Action to take
action: LOWERCASE # CANCEL, WARN, or LOWERCASE
# Bypass permission
bypass-permission: "lpcpro.bypass.caps"
How It Works
- Messages shorter than
minimum-lengthcharacters are ignored (e.g., "OK" or "GG" won't trigger the filter). - For longer messages, the filter calculates the percentage of uppercase letters.
- If the percentage exceeds
caps-threshold, the configured action is applied.
Example with default settings (70% threshold, 5 char minimum):
HELLO EVERYONE— 100% caps, exceeds 70% → action takenHello EVERYONE— ~57% caps, below 70% → allowedHI— Only 2 characters, below minimum length → ignored
Actions
| Action | Description |
|---|---|
CANCEL |
Block the message entirely |
WARN |
Send a warning but allow the message |
LOWERCASE |
Automatically convert the message to lowercase (default) |
Bypass
Permission: lpcpro.bypass.caps (default: op)