CensorSmite
CensorSmite
This is a simple plugin that allows you to block certain words and smite players if they use the word.
Sorry! I have had to abandon this project, see the comment I left below!
Commands: /addcensoredword - Adds a censored word to the list. /deletecensoredword - Removes a censored word from the list. /reloadcensoredconfig - Reloads the configuration file. (Done automatically when adding/removing a word with the commands)
Permissions: censorstrike.addcensoredword - Allows the player to censor words. (Associated command(s): /addcensoredword) censorstrike.deletecensoredword - Allows the player to remove censored words. (Associated command(s): /deletecensoredword) censorstrike.reloadconfig - Allows the player to reload the plugin's configuration file. (Associated command(s): /reloadcensoredconfig)
Source code can be found here.
Very Good Plugin Blocks All Bad Words (You need to do /addcencorword or something on those lines anyway great plugin 5 out of 5 AMAZING!
Sorry!
I have had to abandon this project due to me having less time, mainly taken up by school but I have a staff rank on another server and I develop the odd plugin for them over there! Sorry for any inconvenience caused.
Hi, thanks for all the work. Something else. Would it be possible to write the cursing to a file? Like userx said x on date?
For 2 reasons really, it enables staff to check later and more importantly your plugin could reload past offenses. I have set my server to auto restart every 24 hours, to free up ram etc but that also means that strikes get reset.
06.09 05:35:48 [Server] ERROR The number of offences & muted players has been reset due to server restart/plugin reload!
@puckman1971
I can do the configuration of the damage & warning message. I think I would be able to do the kick and the mute but I can't do the banning (in case the server needs to have bans published to a panel or something or the server has a history lookup, etc.) and I can't do jailing because I don't know how to hook into Essentials and I don't want to have to deal with multiple configuration files as it would be a pain to manage, especially for 1.10.
EDIT: New source code and plugin available! See changelog for details.
Some features that would rock.
- configure damage of strike, how many hearts - change the warning message - set a treshhold where someone gets jailed, kicked or banned - being able to mute the player, to avoid having people curse for fun
DUDE, you rock, just tested it and it works flawless so far.