AntiSwear Config
Source file:
modules/chat/Moderations/config.yml
Notes from source comments
- Blocks configured badwords in chat, commands, and signs.
- Source comments say advanced regex should use explicit
regex:prefix.
Main keys
antiswear:
words: []
replace: {}
censor:
enabled: false
word: "***"
spy:
chat: "..."
command: "..."
sign: "..."
settings:
ignore-case: true
map-unicode-confusables: true
collapse-repeated-characters: false
repeated-character-limit: 3
Target sections
The source file contains three targets:
chatcommandssigns
Each target includes:
enabledmessagetitleactionbarsoundwhitelist
The signs target also includes:
break-signdrop-item-on-break
Spy placeholders from source comments
%player%%world%%input%%location%%module%%type%
Source examples
The source file includes sample blocked words and regex examples directly in comments.
Page note
This page is source-backed and includes a short callout so the content reads like a guide instead of plain reference text.