SwearReplacer
SwearReplacer!
AUTOMATICALLY Replace swear words in chat with other words of your choice!
(Imagine the following, but without the * s)
Player types:
"F* you."
Plugin changes message to:
"[Whatever you've told it to replace "f*" with] you."
Are you like me, in that you see people who constantly swear as utterly delinquent or juvenile? Well this plugin is for you! You can make them seem like complete fools by replacing their cusses with ridiculous other statements or words! xD
One of the funniest uses of this plugin so far was on my server, some guy came on, clearly just to insult the server and all admins, and he said something rather vulgar. My plugin corrected him, and he came out as having said:
"Engage with my Male Chicken you Cigarette!"
I'll leave you to figure out what he actually said..
Commands!
- /swear add [WordToBeReplaced] [WordToReplaceItWith]
Adds a new word to be replaced, and its replacement to the replacement dictionary. Note with this, you can only add ones with multiple words in the config. With the in-game commands, you can only use single words for each.
- /swear remove [WordBeingReplaced] [WordReplacingIt]
Removes a word and its replacement from the replacement dictionary
- /swear change [WordBeingReplaced] [WordReplacingIt] [NewOrSameWordToBeReplaced] [NewOrSameWordToReplaceIt]
Changes that entry in the replacement dictionary to whatever you put in the last 2 fields.
- /swear help
Shows plugin help if you're stuck :)
Permission!
- swearreplacer.manipulate
Allows full usage of the plugin.
The replacements I talked about above aren't in the config by default. You have to put in your own. However I will post a link to my config here soon if you want to get all my approximately 100 replacements that I've added.
To-Do:
- Add ability to add colored replacements
- Add ability to define punishments on individual words (like lightning strike for example)
- Add a configurable option for it to differentiate between words on their own and words connected to other words.
- Make the plugin understand "_"s as spaces so you can add multiple word replacements in-game
If you have any funny experiences with imbeciles coming on your server, spouting vulgar drivel and then this plugin wreaking havoc on their messages, please do post below!
I'd also just like to thank woutwoot for helping me get started with Bukkit and Java. He is the reason I was able to develop the skills to make this plugin for you guys in the first place.
By the way, if you see me on Minecraft do say Hi! (My Minecraft name is Warby579) :)
Any questions? Post them in the comments below and I'll try and respond :D
Please update and make it compatible with minecraft 1.4.7 too
Still waiting for an update.
@woutwoot Please update soon, it doesn't work with the latest version. By the way I like your work. I am using 3 of your plugins on my server. Keep up the good work! :)
@Vikingboy9 @ManBeastPigDev
Sorry, we will try to fix this issue. In the meantime, stopping the server, and then editing the file, saving it, and starting it back up should work fine!
Hi, when does it write the file to the hard drive? I have it working but the config isn't updated. If the server reboots i'll loose everything, is it a time period? There is no /swear save or anything like that i could find.
Every time I reload/stop the server, the config file completely wipes itself. Everything in the config is set back to how it looked when the config was fresh and new, EXCEPT if the replacement was added in-game. This is way too frustrating, as I want to add replacements that have more that one word. Please help?
@woutwoot
An ArrayIndexOutOfBoundsException on any thread should freeze the thread that it is running on.
@Enkious
No, you probably have the word "fuck" 2 times. (I might be wrong though, I need to get the latest code to check what the issue is) We will fix this in the next version. For now, just delete the duplicate.
So.. plugin broke?
Im sorry if this offends anyone. Don't read if you get offended easily. I made a small list. My wife and I thought it would be funny. Then after a while, we got lazy, so i Got a macro to repeat a few.
I said I would upload my config file which contains over 100 replacements. I'm sorry I haven't posted it yet. It all needs re-formatting, and I have a very large amount of studying I need to do for upcoming exams which is taking up most of my time. :(
For now, just add your own replacements. I'll try and get it done and up when I have time, but I'm not guaranteeing that will be soon :/
@UltiByte
awesome! i really am too lazy to wirte out my own :/
wish this was for 1.2.5 sick plugin man.
Maybe you could put in an AntiCaps feature?
@mohawkguy360
And yes, a default replacement list is coming :D
I'll be uploading my config soon which contains over 100 replacements :)
@mohawkguy360
I'd strongly suspect so yes. I haven't coded anything specifically for compatability with that plugin, so it probably is yes.
For me this plugin is not working at all. None of the words are being censored, could it be my chat channels? I use Darmok plugin for chat.
Awesome. I would love to see a default list of word replacements for ideas if it doesn't come with that ;D
first download :D works great so far
@mister_sneaky19
Sure :D I've submitted the file, just waiting for Bukkit to approve it now :)