pottyMouth - Anti-swearing language filter for Skript
Built and tested on
Skript version 2.7.0 and Minecraft 1.20.1
Likely to work on many other combinations.
Features
Language filters based on sophisticated regex filters which will catch many common "workarounds", e.g. if "duck" was a swear word then pottyMouth would catch duck, d-u-c-k, d.UUUUUUU_c.k etc etc
Chats that match a recognised swear word are cancelled and do not appear in game
Matched chats logged to a file with the offending player and logged to console
Version 1.0 includes pre-built regex filters for 59 offensive words
Easily extendable / modifiable after learning a bit of regex
Future Features
Notify players with specific permission of offending chat activity (i.e. to alert server moderators)