SwearSlapper

Due to college and being extremely busy I am handing ownership of this project to killjoy64; should he decline then it is free to anyone who wants to take over the project and continue development - PWicks23

SwearSlapper

Tired of people coming on your server and disrespecting the rules by swearing and being rude to players? Have rules on no swearing, yet occasionally players do, and not sure how to punish them? Then this is the plugin for you.

This plugin will detect swear words in the chat events. If it finds a word that is blacklisted it will cancel the chat event so no one sees the nasty message. What more, it also slaps the player and warns them with a message! People with the SwearSlapper.notify node can see these swear attempts with a simple, clean and not-spammy message saying "(playername) attempted to swear!" in dark gray. You can also edit the config so they can see what it was the player attempted to say! I have done a lot of testing with this message to make it as least interrupting as possible, although still visible for your staff to notice. You can also choose who the plugin ignores with the SwearSlapper.canswear node, so with this given to any mods or other staff they can still swear (Implemented mainly so staff can still swear in staff channels, this node is really subject to your creativity).

SwearSlapper Version 2.0.0 is released!!

Thanks to the major help of killjoy64, another admin and coder of the Fantasia server, the release of SwearSlapper 2.0.0 is finally here! This update is a huge leap forward and I am very excited to announce it! With this update you can now add, remove, check and get a list of all the blacklisted words from in-game, console, or straight from the BlackListedWords.txt file! This allows a complete control over what people can and can't say on your server, you can either use the predefined starter list of words included in the ZIP, or you can create your very own blacklist from scratch. The in-depth help.txt file will guide you through how to set this all up.

Default message for players trying to swear:

swear_attempt

Default message sent to players with SwearSlapper.notify permission:

swear_alert_message

Permission nodes:

  • SwearSlapper.* - Contains all permissions!
  • Swearslapper.admin - All the /ss commands.
  • SwearSlapper.caps - Manually slap people for excessive caps!
  • SwearSlapper.language - Manually slap for bad language. Slap with this then type the command to add the word that got through!
  • SwearSlapper.canswear - People with this permissions can swear.
  • SwearSlapper.notify - People with this get notified when people swear!

Commands

  • /ss add <word> - Add a word to the blacklist.
  • /ss remove <word> - Remove a word from the blacklist.
  • /ss check <word> - Check if a word is blacklisted.
  • /ss list - Shows a list of all the blacklisted words.
  • /ss reload - Reload the plugin's files.
  • /ss help - Shows the SwearSlapper help menu.
  • /caps - Manually slap a player for excessive caps.
  • /language - Manually slap s player for bad language.

To do:

  • Make the slap configurable.
  • Add more words
  • Add a configurable list of blocked words.
  • Add in-game config reload.
  • Add what the offender said in the alert message (will be configurable)

Install/Config:

Installation instructions and other help is all included in the help.txt file inside the SwearSlapper.zip!

Change Log:

v2.0.0

  • Almost completely recoded the plugin to work more efficiently.
  • Added a completely configurable list of blacklisted words.
  • Added commands in-game to control the blacklisted words by adding, removing, checking and getting a list of all blacklisted words.
  • Added a config and blacklist reload command.
  • Added a help file!
  • Added option in config to show the swear attempt.
  • Added filtering through CommandBook and HeroChat's /me command.
  • Fixed lightning strike

v1.1.5

  • Fixed the plugin being in a ZIP (Sorry!)
  • Added commands to the plugin

v1.1.2:

  • Added configurable lightning strike on offending players.
  • Fixed player's name not showing up on notify message.

v1.0.1:

  • Added configurable messages

Source Code

Both myself and Killjoy64 no longr develop Java plugins for Minecraft, so this project will no longer be continued. If any developers wish to continue this project you can fork the source on my GitHub here: https://github.com/JamoBox/SwearSlapper Thanks for anyone who decides to continue this!

Please comment below any bugs you find or plugins this won't work with. All comments are very much appreciated.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    39133
  • Created
    Apr 28, 2012
  • Last Released File
    Jul 17, 2012
  • Total Downloads
    6,720
  • License

Categories

Recent Files