moderationBeginnermc 1.20.x – 1.21.x6 lines
anti-swear chat filter
blocks chat messages containing banned words. replaces matches with asterisks instead of cancelling the message.
vanilla Skriptno addons required.
anti-swear.sk6 lines
on chat: loop "darn", "heck", "frick": if message contains loop-value: replace all loop-value with "***" in message send "&7Your message was filtered." to player
get it running
anti-swear.sk · 6 lines · vanilla Skript- 1
copy or download
grab the .sk file with the buttons up top.
anti-swear.sk· ready to drop in - 2
drop it in your scripts folder
save it exactly here on your server — no typos, just copy the path:
…/plugins/Skript/scripts/anti-swear.sk - 3
reload in-game
run this in chat or console — your script goes live instantly:
/sk reload anti-swear
that's it — your script is live. hop in-game to try it.
/ related templates
more moderation templates
moderation
chat ranks (/setrank)
custom chat prefix per player. /setrank <player> <rank>. visible in chat as colored brackets before the name.
moderationjail system (/jail /unjail)
admin command to jail a player for a duration. auto-releases on timer. teleports to a set jail location.
moderationmute & warn system
/mute /unmute /warn /warns. warns stack and auto-mute at 3. mutes block chat with a server message.