Anti-Advertising Config
Source file:
modules/chat/Moderations/config.yml
Notes from source comments
- Blocks server advertising in chat, commands, and signs.
- Matching uses rules from
words. - Source comments say plain words should be used first, with explicit regex only for advanced cases.
Main keys
anti-adv:
words: []
spy:
chat: "..."
command: "..."
sign: "..."
Detection notes from source comments
The source file includes default regex examples for:
- IPv4 with optional port
- URLs with protocol
- common domains with optional port and path
- Discord invite links
- Telegram links
Target sections
The source file contains three targets:
chatcommandssigns
Each target includes:
enabledmessagetitleactionbarsoundwhitelist
The signs target also includes:
break-signdrop-item-on-break
Permissions documented by source comments in target blocks
| Permission | Purpose |
|---|---|
fiochat.chat.antiadvertising.bypass | Bypasses anti-advertising checks in chat. |
fiochat.command.antiadvertising.bypass | Bypasses anti-advertising checks in commands. |
fiochat.sign.antiadvertising.bypass | Bypasses anti-advertising checks on signs. |
Page note
This page is source-backed and includes a short callout so the content reads like a guide instead of plain reference text.