Chat filters: profanity, advertising, spam
Setting up chat automoderation: word lists, anti-advertising with server addresses, anti-spam, caps, and false positives.
Updated August 13, 2026
Automoderation takes the routine off your moderators' hands, but a badly configured one is a source of complaints.
What it filters
| Type | What we catch |
|---|---|
| Profanity | Word lists and their workarounds |
| Advertising | Other servers' addresses, IPs, domains |
| Spam | Repeated messages, frequency |
| Caps | Share of capital letters |
| Links | Everything outside the allowlist |
Anti-advertising
The most useful and the most dangerous filter. A good rule catches play.example.ru, 192.168.1.1, example.ru:25565 but doesn't cut off:
- numbers with dots (coordinates, versions — “join 1.20.1”);
- links to your site and Discord;
- discussion of versions and IPs in support.
Set up an allowlist of your own domains right away.
Profanity
Word lists are always bypassed by swapping letters. In practice: catch only the blatant cases and hand the rest to your moderators. An aggressive filter annoys people more than the profanity itself.
Spam
antispam:
similar-messages: 2
cooldown-seconds: 3
max-caps-percent: 60
Punishment
The first trigger is a warning and message removal, a repeat is a mute. An auto-ban for profanity is overkill: Bans and mutes.
Testing
Run a dozen ordinary messages from your players through the filter: if even one normal message gets cut, your threshold is too strict — Chat formatting.
