Simple P-Chat Filter
P-Chat Filtering, for the fun server.
Have you ever wanted to filter out or censor words in chat? Make regular chat more fun? Use your power to control the population of your server's words? Now you can!
What it does:
With P-Chat Filtering, you can exchange any word a user says, with another word. For instance:
You can configure the chat to change "everyone" to "everypony" and "administrator" to "god". (Just examples)
Example.
The user says: Hello everyone, what's going on? Is the Administrator on right now?
What everyone sees: Hello everypony, what's going on? Is the God on right now?
How to use it:
Say /filter to reload!
Edit filter.yml in the pChatFilter folder to change the words you want, some examples are already in there. The format is:
Replace:
originalWord: newWord
If you want to replace something, but it isn't working, like having the newWord contain a symbol, put quotes around it. The format is:
Replace:
originalWord: "newWord"
I ran into this guy in the Terraria section of Twitch.tv. He was hacking the game while claiming to be a dev running around using Red's Wings. i made a joke about his name because its spelling is Gam3r_Pon3 which he claimed was Gamer Pony. I decided to mess with him by pointing out that 3 does not equal Y. At this point the guy flips out and start bragging about how much he knows about My Little Pony and how much of an asshole I was being and got the streamer to ban me.
The funny part is that i still have my cassette tapes siting in a drawer from when i was a kid in the 80s.
In short, this guy is a real piece of work. Most immature person I have ever had the displeasure of meeting on twitch.tv.
Don't download his stuff, don't support anything he does. Personalities like that don't deserve our attention.
I tried installing this on my server. the first thing i noticed was that /filter was being overridden by ProtocolLib's /filter command. I don't need that command and barely need ProtocolLib since the only plugin I'm using that uses it (as far as I know) is DisguiseCraft, which uses it to detect melee attacks on disguised players. it's still annoying to not be able to have the full functionality of both plugins, though.
Second, the fact you can't use most characters on the key side of the filter mapping (We both program, so let's call it what it is: a mapping mechanism) is REALLY limiting on what can be done
still, it's a fun plugin and there doesn't appear to be any others which work on a "word is replaced by newword" concept
The fact that I can't use anything but letters (and spaces?) on the key side of the filter mapping (We're both programmers so let's call it what it is: a mapping mechanism) is SEVERELY limiting on how much fun I can have with this. I can't think of any particular examples that actually hold water at the moment (i had one but then i tested it), but really any time you want to filter an exact quote that includes punctuation, you run into a problem.
also, the filter command was overridden by ProtocolLib's /filter command, at least when the two were installed in the order that they were.
not a bad plugin though. it's rather basic but it will take care of those that require soap for their minds...
filters I have:
admin: "bad wolf entity"
administrator: "bad wolf entity"
cooler: "twenty percent cooler" (I'm a brony, too)
I love it, but it REALLY need permissions..
Maybe PChatFilter.ignore
I like this plugin, but please add Permissions?
@slimedog007
It won't have that issue, but to go over how it works... :U It checks each word in a sentence individually, but it counts symbols as a word separator, so when it checks words it looks at say half&half and it would see the whole word "half" twice, and only compare the entire word. So if you set it to filter ass to horse, then it would still let you say class and things like that.
Does this use RegEx to recognize words inside of words and not filter them?
Like, "Class" There's "ass" in Class, and if the filter blocks "ass" then it would make class look like "Cl*"
@Clmcd42
I just added that after he said that. xD
@kuwoobie
"Say /filter to reload!"
This is awesome! I just wish there was a reload command.
@ststeppat
No it is not! It also takes care of grammar, if you say "HELLO" and it's set to replace "hello" with "hi" it will say "HI" It tries to match the capitalization that you say the word with. :)
is it case sensetive ?