SwearingBlocker
SwearingBlocker
We all have trouble with those annoying pests on our server: players swearing all the time. If you are sick of them, then SwearingBlocker is right for you. This lightweight plugin stops their messages from appearing, and can also smite players who swear. It works instantly, no additional setup required!
How to Install
- Drag and drop the .jar file into your plugins folder
- Stop and restart your server
- Set up the config.yml however you want
- Add your own words in the config.yml
Features
- Blocks swear messages from all players
- Smites (sends lightning down upon) players who swear
- Sends a private message to the player who swears: [Server] Hey, [player], do not swear!
- option to add your own words in config
- after a custom amount of warnings a player gets banned
Permissions
- sb.* - includes all permissions
- sb.reload - allows /sb reload
- sb.list - allows /sb list
- sb.addword - allows /sb addword
- sb.rmword - allows /ab rmword
- sb.bypass - bypasses swearing
- sb.warnings.create - create a warning sign
- sb.warnins.payoff - use warning signs (typo on this permission will be fixed in next version)
- sb.admin - checks for updates each time you join
Warning system
this feature lets you give warnings to swearing people
if they got max warnings they get banned (you can unban with /unban <name>)
if they want to get rid of a warning admins can create signs like this:
- line 1 : [warning]
- line 2: <price>
Commands
/sb - SwearingBlocker help
/sb info - SwearingBlocker info
/sb reload - reload config
/sb addword <word> - add a word
/sb rmword <word> - remove a word
/sb list - view all listed words
Forum
Visit our forum at our Bukkit forum page
You can report typos or bugs, ask questions, and check for developer build information.
To-do List
- make feature to let it replace the wrong word wih: *
- Deduct a specified amount of money from a player's Vault balance when they swear
complete warning system
Known Bugs
by typing: /sb without arguments, it gives an error(fixed in 1.4.1)
Download
- v1.5.6 - Download (1.4.2-R0.2)
Donate
if you want to support me and help me bringing out new and better releases faster
please donate, it helps me out so much, if you donate ill add you to the donor list below here
just send me a pm that you donated, and say how much you did
if you want to donate click Donate at the right top of this page
or just click: here
Donors:
- merlinshaw - $20
@exload
warnings get stored in wanring.yml not config.yml, but ok. ill do that
@TeamCobalt
If you do add this feature I would recommend that you log the messages to a separate file (maybe log.yml). This will prevent the config from becoming polluted with information that does not pertain to the configuration of the plugin.
@GumbyDammit
ill do it tomorrow, ill add a option to log messages :P
@TeamCobalt
I'm not making myself clear. I don't want an SB command that retrieves this information. I just want it written into the warnings file.
Here is an example:
Player 'MisterX' says "Your house is shitty" and the next day says "Your skin is bullshit." Since I have the string 'shit' in my config file, his chat text should be blocked, he should be zapped and warned by text, and lastly the warnings file should be updated to add MIsterX:
That is kind of what I mean.
@GumbyDammit
i might make it sort warnings on days, but the point is that looking up would take longer because i ahve to amke a loop to check all data
@joshwenke
im terrible at grammar :P
@joshwenke
Some of my users are on every day for hours and are quite chatty. I'm aware of how to search text in a document. What I was requesting was something to spare me from having to scan through gobs of chat text. Simply logging the offending text string in the warnings file would be very useful. At the very least, logging the exact date and time of the offending text would help in chat log searches.
@GumbyDammit
I'm very sorry about the bad grammar, I think you use Control-F to find words in the log document.
We're also working on a global list of words that include the exceptions... expect that to be out soon.
@GumbyDammit
ctrl + f is a way to search a document/file for text matching a user's input.
@TeamCobalt
I'm sorry but I don't understand you. Ctrl-f? This is something I press or the swearing user presses? When I try both ctrl-f and the sign, nothing happens.
btw your update msg has a typo. It talks about a new version being 'avaible' when it should say 'available'.
If I get banned (I talk a different language and it recognises that language some stuff from it as swear words how long do I get banned)
permanent
@GumbyDammit
control "f"
or jsut place a warning sign at put: 0.0 on teh 2nd line
let them right click it
@TeamCobalt
Thank you. For my next suggestion, could you write the offending line of text to the warnings file, perhaps beside the player name or stacked underneath if multiple entries? I have users claiming they didn't swear and I can't easily check without going through miles of chat logs.
@GumbyDammit
uploaded v1.5.5
:D
@TeamCobalt
Awesome. I don't care which method is used as long as there are no false positives and I don't have to maintain a 10,000-word exception list ;)
Oh, don't forget to account for punctuation! A match for the whole word " ass " should trigger on " ass....", " ass," etc etc. Basically, strip all non [a-z|A-Z] characters.
Again, thanks for your efforts.
@GumbyDammit
ill be doing a option for this
but i dotn use your method, if you understand java just a little little bit, you should understand this.
so that is already tracking word by word
if you want to ill be making it: "equels" instead of: "contains"
but this will only and only block that one word.
@TeamCobalt
Hi,
I'm saying that you might want to consider a modifier that determines whether the blocked string is a substring of the word or not. My comment from Oct 5 shows a workable system that handles whole words and substrings.
@GumbyDammit
so what you want is, only if the word is exactly the blocked word it blocks it?
@TeamCobalt
I appreciate your efforts but I'm not sure a whitelist is the way to go. Now you would have to maintain a config with every exception, so the list for 'ass' would include, 'mass', 'crass', 'glass', 'pass', 'lass', 'bass', 'lassie', 'gassy' etc.
@coletam
v1.5.4 is out now :D
@GumbyDammit
i added exeptions to the config, for example:
this will block ass, and ass* and -ass etc.
but not: glass