BadWords
DO NOT INSTALL / UPGRADE TO VERSION 1.5 (or above) OF BADWORDS UNLESS YOU ARE RUNNING CRAFTBUKKIT 1.7 OR GREATER
An auto censor plugin that enables you to stop worrying about players swearing on your server. The number of warnings can be specified, as can the action that is taken once the warnings are expired (kick or ban).
For Portuguese speaking users, user AbsintoJPl has very kindly provided a video tutorial for Badwords. Thanks AbsintoJ!
Features:
- Individual words or entire phrases supported
- Regular expression support
- Banned words can be substituted for less offensive words
- Admin can define how many warnings players get
- Admin definable punishment (kick or ban)
- Case insensitive matching
- Only whole words or phrases are matched (i.e. "the" would not match in "tether")
- Admin can define who gets notified of profanities
- Nominated players (and op) can be ignored by BadWords
What's new?
- New to 1.52 - Hopefully fixed async kicking bug (Tickets 31, 33 & 34)
- New to 1.52 - Added UUID support (when you first start this version it will migrate your config file to using UUIDs instead of usernames)
- New to 1.52 - Added "reload" command to reload BadWords config
- New to 1.52 - Added "ignore.op" config option which makes BadWords ignore swearing by ops
- New to 1.52 - Added ability to tell BadWords to ignore swearing by nominated players
- New to 1.52 - Added optional auto-update of plugin
- New to 1.52 - Added "update" command to update plugin (if available)
- New to 1.52 - Added "banreason" config option
- New to 1.41 - Fixed bug in warning timestamps
- New to 1.40 - Added functionality that unbans a player when their warnings are reset
- New to 1.40 - Fixed bug that broke update checking enabling/disabling
- New to 1.40 - Fixed bug in "warnings" that would give remaining warnings for non-existant players
- New to 1.40 - Fixed bug preventing commands from being issued on the console
- New to 1.31 - Update checking can now be disabled
- New to 1.30 - Warnings can now be reset by an op
- New to 1.30 - Warnings can be configured to expire after a set time
- New to 1.24 - Fixed bug causing players to be warned of remaining warnings, when warnings -1 was set in config
- New to 1.23 - Fixed bug causing sporadic exception when adding or delete word from banned list in game
- New to 1.22 - Banned words can now be substituted for less offensive words
- New to 1.22 - Changed command from /bw to /badw to avoid collisions with other plugins (e.g. ButtonWarp)
- New to 1.2 - Various admin commands now available in game (see details below)
- New to 1.2 - Log censored messages
- New to 1.2 - Server logs and Ops are now notified when an update to BadWords is available
- New to 1.2 - Permission support
Can you make this Plugin work with special Characters? Cause the problem is for me I need not in english :) Thank you
MindEngineer:
Liking the suggestion of assignable actions per warning (have created a ticket) :-)
@ ChuckHunky Thanks for checking into! Let me know if you need additional information,
Your matching is the best out there...being able to eliminate bum, buuuum, b u m, b uuu m with one line line is amazing...I see you have a ticket for customized warnings - looking forward to it. I would love to be able to give them 3 strikes your out.
1-warn and lightning (or other configurable command) 2-warn and kick 3-warn and ban
Thanks
MindEngineer:
Hmmm, banning stuck on my test server, I'll test some more (I've added a ticket to remind me)
For spaces in the filter, if you wanted to catch: "wtf", "w t f" or any number of spaces between the letters, you could use: w\s*?t\s*?f
The \s means a space character, the * means "appears 0 or more times", so you're saying:
"w" then 0 or more spaces, "t" then 0 or more spaces, "f"
Have a Google for a regular expression tutorial for more info.
I'm testing now...
ban = true ->It seems to indicate banned but I can log back on right away and go through multiple warnings again
ban=false ->Kick me and then each time I say bum it kicks me so this works good...
Is there anything you are aware of that may prevent banning from sticking?
@seanmrice or ChuckHunky how are you adding spaces to the filter?
seanmrice:
Good idea, I've opened a ticket to remind me for the next version
would it be possible to add a log of chats that have been blocked? it would make any troubleshooting easier.
works great, especially for when people add spaces between letters :D
MindEngineer: Yes, when a player is banned a server notice is sent to all players saying "XXX has been banned for repeated bad language" Currently the message is not customisable, something for a future release maybe.
ludo0777: I'd looked at a number of autocensor plugins before deciding to create one myself as none of them did exactly what I wanted. My main requirement was that substrings were not automatically matched so, for example, "ass" is not matched in "glass", maintaining a word whitelist just felt too arduous. I'm hoping that including regular expression support will enable server administrators to have very versatile control over what is and isn't matched.
This sounds promising...I'm looking for more auto-ban type plugins to make admin life easier.
I use mcbans does this allow you to give reason with ban "/ban player Profanity (attempted at least x times)?
Will it announce when a player is banned?
I already made a censor plugin with configurable punishments etc.