PwnFilter
Update: 2023-04-20 - PwnFilter EOL Statement
Major changes to chat from Mojang that include chat reporting and signed messages may render PwnFilter no longer usable. The developers of PwnFiilter have not maintained the plugin since 2016, and it has continued to work up until now. We don't see a new version coming out anytime soon and urge server owners to find an alternative. We hear good things about VentureChat - https://www.spigotmc.org/resources/venturechat.771/
-tremor.
About PwnFilter
PwnFilter is way more than just your average word-blocking plugin, PwnFilter uses the power of Regular-Expressions ("RegEx") to give you a highly effective and highly configurable plugin to filter anything you want from chat! Matching words can be rewritten, logged, blocked, and managed, depending on the rules you define. Use PwnFilter for:
- Extremely effective chat/command filtering: Filter anything you want with RegEx!
- Extremely effective curse/swear word filtering, warn users who use bad language, turn their profanities into harmless language, or just deny their message entirely!
- Assign appropriate punishment levels based on severity.
- Anti-Advertisement: IP/URL filtering
- Make fun chat replacements for your server's inside-jokes.
- Single line spam filtering: Remove repetitive characters like hiiiiiiiiiiiii to hi.
- CAPS Blocking capability
- Typo correction: Replace common and annoying typos like "teh" to "the" or "u" or "you"
- Customizable warning messages
- Command aliases: Automatically recognize a !command and change to /longer command, Stop yourself from accidentally sending those embarrassing .commands to chat for everyone to see.
- A few built-in punishments like burn, kill, fine (charge money!), warn, kick, and ban. Or simply utilize the "then console" action to make your server console execute almost any command from any other plugin as if you typed it yourself in the console window, especially if you use a plugin that adds a plethora of punishments, like PunishMental, or use it to make PwnFilter send the appropriate commands to your favorite ban-management system to let it handle what to do!
Think of this plugin as a platform for the power of RegEx, the matching rules are 100% entirely up to you, and there are a hundred ways to do something. The possibilities are endless, the power is as dynamic as you want it to be depending on how much effort you put into having the best RegEx rules.
PwnFilter is a revival and complete rewrite of the RegexFilter plugin by FloydATC. Thanks to DreamPhreak for helping with this Bukkit page, to Sage905 for taking over the latest branch of development making PwnFilter even better than ever, and to EpicAtrain for developing comprehensive regex rules for server owners to use.
Features:
- Filter Chat! (of course)
- Filter Item Names! (Anvil)
- Filter Signs!
- Filter Commands!
- Filter Console!
- Filter Books! (Coming in next version!)
- Filter Nametags!
- Built-in anti-spam feature can be enabled in config.
- Commands for OP or by permission node.
- Supports color message replacement.
- Globally clear all player's chat windows with "/pfcls".
- Global mute with "/pfmute" - stops all server chat and commands for making admin announcements.
- Command typos beginning with certain characters can be stopped (like . and 7, accidentally instead of / and &).
- Optionally recover those typos and execute the command as intended.
- Define your own macros or command aliases.
- Simple but powerful configuration with built-in debugging.
- Each regular expression is compiled only once => very fast.
- Able to reload all your PwnFilter rules & config files without needing to restart the server with "/pfreload".
- Optionally kick or warn players on rule matches AND/OR:
- Execute commands from console or other plugins.
- Use randrep action to replace swears with a random multiple option.
- Use lower action to replace text to all lowercase (great for those CAPS chatters).
- True command aliases, link faux commands like /wave to /me waves at you.
- Customizable 'permission denied' messages
Issues & Conflicts
Plugin Conflicts: If you notice that PwnFilter conflicts/interferes with another chat-related plugin, edit your config.yml, go to the "ADVANCED" section at the bottom, unhide the priority you want to change (by removing the # in front of the line), and change the priority from the default setting "Lowest" to another setting like "Highest". This can sometimes resolve conflicts, otherwise ask on our forum or create a ticket.
Permission Bypass: The permission node pwnfilter.bypass is automatically granted to OP and players with * permission nodes. If you do not want these players bypassing the filter at all, you must negate this permission node for them in your Permissions Plugin's files.
Plugin Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that some information is collected and sent to mcstats.org. If you wish to disable this feature, you can do so by opting out, which you can do in the PluginMetrics' config file under /YourServer/plugins/PluginMetrics/
Links & Info
- PwnPlantGrowth - Customize, modify, block all plant growth with varying configurations, including biome based and light level based farming.
- PwnChickenLay - Configure or block how fast chickens can lay eggs, or replace eggs with other items like diamonds, bricks, anything you can think of.
- ResPwn - Configure useful and fun player respawn options like temporary forcefields, armor and weapons.
- PwnPvpBalance - Balance the tide of uneven game mechanics with options to help players with poor PvP skills be more competitive, and give good players a better challenge.
- PwnFilter Regex Forum - Have questions about using RegEx or want to show your rules.txt off? Visit our RegEx forum here on DBO!
- Pwn9.com - Visit the Pwn9 Gaming Community, the place we call home. Check out our Minecraft servers, other game servers and fun gaming community.
- Discord Server: Join us @ https://discord.gg/qde6rVn - feel free to ask PwnFilter or RegEx questions on the channel or just come hang out with us.
- Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk. ci.sagely.ca
Donate
All of our "Pwn-" plugins are completely free of charge. We work hard to bring you the best, powerful, and up-to-date plugins. If we have helped you in any way, please consider a donation of any amount (Using the "Donate" button on the top-right of this page, or clicking HERE). All donations are GREATLY appreciated for all of the time that goes into this plugin and support.
EpicATrain's version 10.0 filter has been temporarily removed, due to a few issues. The classic language filter is still available here: http://pastebin.com/u/EpicATrain
-
View User Profile
-
Send Message
Posted Jan 5, 2014Extremely useful plugin in so many ways. Best chat filter I have seen yet. Now if I could get advertising filter sorted I will be good to go.
-
View User Profile
-
Send Message
Posted Jan 4, 2014@Bombing56
make sure u are not op :) ops can override everything
-
View User Profile
-
Send Message
Posted Jan 2, 2014The filtering chat feature doesnt work so it will still let you say fuck for example
-
View User Profile
-
Send Message
Posted Jan 2, 2014@Mcraftpete
I just pushed another build. This one works on my server. Make sure that you're using "then rewrite" and not "then replace". The former preserves colors, the latter decolors the whole string.
Please let me know if this works.
-Sage
-
View User Profile
-
Send Message
Posted Jan 2, 2014@Mcraftpete
I'm still working on this. I'm re-writing the sign handler, as it has some other problems as well. I'll post an update here when I've got it fixed.
-Sage
-
View User Profile
-
Send Message
Posted Jan 2, 2014@MachoMancha
Sure. Give the group a permission, eg: pwnfilter.noob
Then:
Or... Give members the perm, and do the opposite:
The permission can be anything. It doesn't have to start with pwnfilter. You could use an existing perm, or make something up.
-Sage
-
View User Profile
-
Send Message
Posted Jan 2, 2014Is there a way to make warning only for specific groups? I like to use this system for people who use phrases such as "Member" to tell them how to become a Member, but this would get a little annoying for someone who wants to use the phrase but is already a Member.
-
View User Profile
-
Send Message
Posted Jan 1, 2014@Sage905
my error , once I did /pfreload no one can color signs still , I used build 59 , I did same as before and set signs to false , /pfreload and again could color I tried changing sign priority to highest too.
Sorry :(
Pete
-
View User Profile
-
Send Message
Posted Jan 1, 2014@Sage905
Thats awesome and works perfectly :)
Mine is still black but I assume that's 1 of the perms , every player can now used colored signs :)
Thanks, Pete
-
View User Profile
-
Send Message
Posted Dec 30, 2013@Mcraftpete
I had disabled the color option for signs. I have re-enabled it to see if it works. Would you be able to test it for me? The latest (just pushed a minute ago) Dev build on the CI server has this change. http://ci.toal.ca (Development builds have not been screened by Bukkit staff. Use at your own risk)
-Sage
-
View User Profile
-
Send Message
Posted Dec 30, 2013Hi, I have noticed sign filter is preventing me using colors on signs , I disabled just the sign filter , /pfreload and then used colors on sign , then I reenabled and /pfreload again and the colors stopped working :( Is this a setting I have to change or is it that it is how this works , I ahev the very latest build that includes the books. Any info would be great :)
Thanks, Pete
-
View User Profile
-
Send Message
Posted Dec 28, 2013@PhanaticD
Sorry... I'm still confused... the "then lower" shouldn't have any affect on the color. All it does is convert the matched string to lowercase.
Are you stripping color by using the "decolor: true" config option? Perhaps you could open a ticket with more details, such as your config.yml, rules file and the relevant section of your pwnfilter.log.
-
View User Profile
-
Send Message
Posted Dec 28, 2013@Sage905
yes, i dont expect people to be able to use color just because they are talking in caps.
&c THIS IS RED
match (\p{Lu}|\s){6,120} then lower
-
View User Profile
-
Send Message
Posted Dec 28, 2013@PhanaticD
Sorry.. I don't understand the problem... Do you expect that "then lower" also strips color? Or is there something else wrong?
@Mcraftpete
The latest development version of PwnFilter now has a Book filter. You can find it here: http://ci.toal.ca/ NOTE Files downloaded from our CI server have _not_ been screened by the bukkit team.. Use of these builds is at your own risk.
-Sage
-
View User Profile
-
Send Message
Posted Dec 28, 2013Hi, I like this tool , seems to work well and can be stup in so many ways which is really cool. 1 Method ppl use to advertise now is books , duplicating and giving them to popl , I was considering blocking books but they seem usefull for many things , is there anyway to detect ips written in books ?
Any tips apart from don't allow usage of books would be great :)
Thanks, Pete
-
View User Profile
-
Send Message
Posted Dec 24, 2013for some reason the caps lowering filter isnt blocking color, some people were doing it on my server they said by &\cTHIS IS RED
-
View User Profile
-
Send Message
Posted Dec 23, 2013@PERSON1572
Nope, We have a "Perms" page which lists all the permissions @ http://dev.bukkit.org/bukkit-plugins/pwnfilter/pages/pwn-filter-permissions/
But here you go:
-
View User Profile
-
Send Message
Posted Dec 23, 2013Is pwnfilter.bypass the only permission?
-
View User Profile
-
Send Message
Posted Dec 21, 2013@Sage905
Thanks :)
-
View User Profile
-
Send Message
Posted Dec 21, 2013@gepardo43
It's just simple anti-repeating. Honestly, I consider it not very useful, but I haven't got around to making it more intelligent.
-Sage