WordPunishments (WP) blocks cusswords and punishs the player who used a cussword with the following things:
Everything is toggleable!
it replaces them with a custom message
it sends a public message
it sends a message to the player, who used the cussword
it takes money from the player who used the cussword
it kicks the player
it kills the player
it performs a command
You need Vault if you enable paying!
Help for the commands and the permissions is at the top of this page.
The config contains a very detailed description of every property.
In the config you could use <player> for the player, <word> for the word and <price> for the price in the privatemessage, publicmessage, replacement and command
Example:
This is what happens if someone uses a cussword and doesn't has the permissions to bypass it with the default config(things you could change are marked):
Someone types: "you bollox!"
punishmenttype: replace
It'll be changed to: "you ***!"
punishmenttype: pay
The plugin takes the money that's defined for the word in the config from the player
punishmenttype: privatemessage
The player gets a message (edit it in the config): You used "bollox" and payed 500 Dollars as penalty!
punishmenttype: publicmessage
Everybody gets a message (edit it in the config): Player PLAYERNAME payed 500 Dollars for using a cussword!
<big>The following punishment types are not enabled by default:</big>
punishmenttype: command
clearinventory PLAYERNAME command will be executed (edit the command in the config)
punishmenttype: kill
The player will be killed
punishmenttype: kick
The player will be kicked from the server. The privatemessage is shown as 'kick message'
Installation:
Simply put the "WordPunishments.jar" in your "plugins" folder and reload or restart the server.
It'll generate two config files:
config.yml
Open it at first and change what you want. Every setting is described in the config file
WordList.yml
Edit this file via the ingame commands or if you want to edit the file read the notes at the top of it.
Language files:
If you send me a pm with your language file I'll add it to the list.
If you want to use one of these files download it, rename it to "WordList.yml" and copy it in plugins/WordPunishments.
The automatic error reporting function sends a message to the plugin manager if an error occurs. If you don't like it you could disable it in the config if you set "enableLogging" to "false".
I just made a new testserver and didnt notice a issue with 1.7.2, but you have to add kick in the config! Please add it yourself or try this config.
I made it inactive, because I had problems with the word filtering: E.g glass is detected as "ass" :( But you can get over this issue by changing - ass to - " ass" so words starting with ass get blocked, but not those starting with other letters
@yanniclord if you describe the error and paste a log I can try to make a quick fix although the project is inactive, or you use NoSwearing, which is linked at the top of the page too
im using this because i would use explosiveswearing but since the creator is abanding it im using next best thing i try discouraging cussing by killing those who cuss
bug report
i have it set to kill private message public message and replace
it wont replace or send private message
it still kills i checked logs no errors
also you need to modify the word filter it is killing on normal words like glass and asset and assist and so on.
I'll add this in the next version: There will be a whitelist with allowed words were you could add something like glass... I'm home again around next week then I'll add it.
For now you could change your WorldList.yml : change - ass to - ' ass' and glass wouldn't be blocker because of the space but asshole etc would be blocked.
I'm in winter vacation tomorrow. After vacation I'll create a github account to share the source code.
If you need a special extract of the code I could pm it to you now.
@yanniclord
I just made a new testserver and didnt notice a issue with 1.7.2, but you have to add kick in the config! Please add it yourself or try this config. I made it inactive, because I had problems with the word filtering: E.g glass is detected as "ass" :( But you can get over this issue by changing - ass to - " ass" so words starting with ass get blocked, but not those starting with other letters
@slowbuild
Well no swearing doesnt kick people instantly :( I LOVE THIS SO MUCH :( WHY is it inactive :(
@yanniclord if you describe the error and paste a log I can try to make a quick fix although the project is inactive, or you use NoSwearing, which is linked at the top of the page too
Is there a replacement for this plugin? It doesnt work anymore on 1.6.4 (for me atleast)
@adamwbb
Which chat plugins do you use? And which build of bukkit?
I'll look for this tommorow :D @adamwbb
im using this because i would use explosiveswearing but since the creator is abanding it im using next best thing i try discouraging cussing by killing those who cuss
@adamwbb
also pay doesnt work and i have latest vault
bug report
i have it set to kill private message public message and replace
it wont replace or send private message
it still kills i checked logs no errors
also you need to modify the word filter it is killing on normal words like glass and asset and assist and so on.
@CJHacker
I'll add this in the next version: There will be a whitelist with allowed words were you could add something like glass... I'm home again around next week then I'll add it. For now you could change your WorldList.yml : change - ass to - ' ass' and glass wouldn't be blocker because of the space but asshole etc would be blocked.
Is there a way to use only a specific word without the partial? My players are getting fined for saying glass because it sees ass.
@QuickWango
I'm in winter vacation tomorrow. After vacation I'll create a github account to share the source code. If you need a special extract of the code I could pm it to you now.
Where is the source code?