Pwn9 / PwnFilter

PwnFilter is a JAVA Plugin for Bukkit, a multiplayer server API for the game Minecraft. Pwnfilter implements Regular Expressions created in a user defined "rules.txt" as an in-game chat filter to remove profane language, spam and caps, for fun and as an effective command alias creator.
GNU General Public License v3.0
15 stars 25 forks source link

Then points without the message #8

Closed Eelviny closed 8 years ago

Eelviny commented 10 years ago

--We were unable to compile and test this ourselves, but this is a small change--

Basically, when using then points, it got slightly annoying how it had to include a message to be sent to the player. I wanted to apply this to every message sent, so as to act as a spam filter to stop too many messages in a certain amount of time. This small change just means that no message is sent if the string is empty. Personally, I don't know why then points needs to send a message to the player when then warn does exactly the same thing. But hey, not my plugin. If you have a different solution for this, feel free to say.

ptoal commented 8 years ago

Thanks for this. I have integrated the functionality into the latest PwnFilter, but I am not going to merge the PR because PwnFilter has been vastly re-written.

Eelviny commented 8 years ago

Haven't used this plugin in years, forgot this PR still existed! Cleared up eventually though.