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 Apr 21, 2013When you updated PwnFilter to new version. I found way you can create your own commands. and now I can change command or bind it with other. But because I am OP it doesn't work for me. I would like to create broadcasted message when using /reload command. Can you create new permission for bypassing commands and not default bypassing for OPs. It would be great, thank you.
-
View User Profile
-
Send Message
Posted Apr 20, 2013@DreamPhreak
Thanks!
-
View User Profile
-
Send Message
Posted Apr 20, 2013@DeanUKMC
The \b (Word Boundary) makes it capture only the exact word. Put one in the beginning of the word and one at the end. http://www.regular-expressions.info/wordboundaries.html
@NeedPlugins
http://dev.bukkit.org/server-mods/pwnfilter/pages/configuration/
-
View User Profile
-
Send Message
Posted Apr 20, 2013I have "lag" filtered and denied on my server. The problem is it also blocks words like "villager" and "flag". Is there any way I can make the filter only deny it if it is exactly "lag"?
Thank you.
-
View User Profile
-
Send Message
Posted Apr 20, 2013@tremor77
Hey can u help me i really dont understand how to make config ... my skype name is niktoma3 ... add me soon thx
-
View User Profile
-
Send Message
Posted Apr 20, 2013Since you can make Your own command with your plugin I like it the most. Can you make option to Not bypass OPs. Because then you could be able to Short command and everything. And Add Limits and Cooldown for spam and I will say this is 1. Plugin for Chat! Limits: Let say 3 messages allowed. 4th is spam (config). Cooldown: You can rewrite message in 30 seconds
-
View User Profile
-
Send Message
Posted Apr 19, 2013How would I go about blocking anything people say? Like absolutely anything? EDIT, I think I got the first one. match (?s).* )
Also, how can I allow commands to go through? Not so good at RegEx yet, thanks for the help ;)
-
View User Profile
-
Send Message
Posted Apr 18, 20131. What criteria causes a sign to 'break'? 2. Im getting reports that people are having issues with making chest shops because their signs keep breaking. But I can't find anyone who listens well enough to help me test it out.
-
View User Profile
-
Send Message
Posted Apr 18, 2013-
View User Profile
-
Send Message
Posted Apr 17, 2013Hey everyone, I'm back from vacation, so I'll read through the comments when I get a chance and catch up on everything and the questions/bugs that have been posted. But first I'm going to take a really long nap..
-
View User Profile
-
Send Message
Posted Apr 16, 2013Hey... glitch
Whenever somebody uses an apostrophe, it counts the word as 2 separate entities, thus causing headaches for my filter.
Can you fix this?
For example... one of my filters filters out teet and teat but has \b before and after the word BUT if somebody types "don't eat it", it comes out as donhairy (because my filter replaces teat with hairy), which is hilarious but annoying.
Can you please fix this?
-
View User Profile
-
Send Message
Posted Apr 16, 2013@omega12345
If you don't people bypassing the filters, don't give them op or the '*' node - simple as that...
@deleted_9935739 Add this to the rule:
ignore command r|er-
View User Profile
-
Send Message
Posted Apr 14, 2013@tremor77
Towny channels (are) channels you use a focus such as "/tc" or "/nc" for town and nation chat.
-
View User Profile
-
Send Message
Posted Apr 14, 2013I'm having a peculiar problem where I'm not 100% certain it's PwnFilter causing it, but it seems likely. I use Mini-Game Mod for Bukkit (http://dev.bukkit.org/server-mods/minigames). It's a mod that relies on automated signs for flags, where a player right clicks a certain sign to pick up a flag, capture it, etc. The problem becomes that when a flag is returned/dropped/or otherwise relocated, Mini-Games Mod creates a new sign in the place where it was dropped and automatically puts the appropriate text on it, marking it as a [MGM] Flag for that certain team. Through PwnFilter possibly, the text is getting prevented from being put on the flag sign, leaving the sign blank and destroying the entire game in the process, making it unable to be played. I only suspect it was PwnFilter because the latest version that I downloaded and use, 2.4.1, has a Sign filter (which I have turned off on the console). I'm going to revert PwnFilter to 2.4.0 and see if that fixes the problem.
-
View User Profile
-
Send Message
Posted Apr 14, 2013@omega12345
You can negate the permission to stop admins also swearing.
-
View User Profile
-
Send Message
Posted Apr 13, 2013Found a bug. The chat somehow still gets through to a "then console say" filter when the player is muted with Essentials.
-
View User Profile
-
Send Message
Posted Apr 13, 2013Could You please Get rid of The Bypass Permission?
So no one can swear?
-
View User Profile
-
Send Message
Posted Apr 13, 2013Just a random question. Can you use $1 and so on with pwnfilter? How about stuff like [^abc^de]?
-
View User Profile
-
Send Message
Posted Apr 13, 2013@tremor77
might try that with match /op and then burn burn burn lol Great plugin :)
One other thing...I noticed that our players can still spam the chat with the same chat message over and over....I have just checked the configuration file against your one on the main page and mine is missing alot of those configuration set ups ? I have your latest version too :)
-
View User Profile
-
Send Message
Posted Apr 13, 2013I'm using EpicATrain's filter which replaces r to are but the only problem is it also replaces the Essentials /r command with /are. How can I fix that? I still wan't the /r command to work with the filters though.