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 Aug 31, 2013HOW CAN I REMOVE THE STUPID (DONATE) THING.. When people try to say donate they can't type it and comes up with another link and when they type /donate (to recive the link for my donation) it does not come up. WTF.. I REMOVED IT FROM THE RULES BUT WHY IS IT STILL THERE?!!!
-
View User Profile
-
Send Message
Posted Aug 30, 2013@YiveMe
nope. but I like that idea :)
-
View User Profile
-
Send Message
Posted Aug 30, 2013Is it possible to make it so that filters can log to different files such as advertising.log
-
View User Profile
-
Send Message
Posted Aug 28, 2013@DreamCastNetwork
it's only about how good regex you can make. rules on my my server block also if number is used instead of letter, or even if player use diacritics (very common in my language)
-
View User Profile
-
Send Message
Posted Aug 27, 2013@DreamCastNetwork
If you don't want all of this, put a # before every line, then remove the # on lines you want to use. Works great. I however have about 90% of this disabled. :)
http://pastebin.com/Z7yFci59
-
View User Profile
-
Send Message
Posted Aug 27, 2013Hey, I got a request for this plugin because I got a problem. this plugin doesn't censor numbers, so if they are not allowed to type Bitch, they can type B1tch with the number: 1.
More examples: Faggot:F4ggot using a 4 Faggot:fagg()t using brackets. Faggot:Fagg0t using a zero asshole:Asshol3 using number 3
Maybe you can add this in the next updates.
Also when I type Fag.got it still displays.
-
View User Profile
-
Send Message
Posted Aug 26, 2013@Swords761
Sage said he will probably add the fix into the 3.1.2 version, need to wait and see what happens. I have no idea why it was 'declined' though.
-
View User Profile
-
Send Message
Posted Aug 26, 2013@DreamPhreak
http://dev.bukkit.org/bukkit-plugins/pwnfilter/tickets/1-server-lag-on-spigot/
What's the status on this ticket? I'm really relying on this commit because my server suffers from the occasional crash on behalf of what I believe to be PwnFilter.
-
View User Profile
-
Send Message
Posted Aug 25, 2013@DreamPhreak
I does not work!
-
View User Profile
-
Send Message
Posted Aug 24, 2013@Siickest
Yes, as PwnFilter doesn't currently have a "mute" feature.
-
View User Profile
-
Send Message
Posted Aug 24, 2013Do I have to use then console /mute name ?? .. To be able to mute em?!
-
View User Profile
-
Send Message
Posted Aug 23, 2013@DreamPhreak
I've thought of that, though I was hoping to be able to have [HAL_9000]: for the beginning part and not broadcast or console... I'll see if I can find something around that though...
-
View User Profile
-
Send Message
Posted Aug 23, 2013@Liger_XT5
What if you used a "then console say Message" or "then console broadcast Message" line?
-
View User Profile
-
Send Message
Posted Aug 23, 2013I think I'm overlooking a feature similar to the warn option. I'd like to replace the Noobresponse plugin I'm using with pwnfilter, but the option I'm looking for I can't find.
If someone says a phrase, I can easily set warn to answer back. For some phrases, I'd like it to announce in public chat to all users.
-
View User Profile
-
Send Message
Posted Aug 19, 2013@Bobcat00
For now there isn't a notification system in PwnFilter, but since you have Essentials you can have a post-match action that executes /helpop to notify your operators.
There might possibly be a notification system later on though: http://dev.bukkit.org/bukkit-plugins/pwnfilter/tickets/8-notify-post-match-action-suggestion/
-
View User Profile
-
Send Message
Posted Aug 17, 2013How can I add an action to send a message to all operators? e.g., similar to the message operators get when someone is added to the whitelist. I have Essentials, if that helps.
-
View User Profile
-
Send Message
Posted Aug 12, 2013read my post in actions pls :-/
-
View User Profile
-
Send Message
Posted Aug 9, 2013@Freddie1282
I run a "Family Friendly" server and have spent considerable effort building up my filter list - you are welcome to use it (as is anyone else).
http://pastebin.com/N9CTUWDe
Hope it helps you.
-
View User Profile
-
Send Message
Posted Aug 9, 2013Just saw that you need to add filters. How in the world do you do this? Can you make a version of this for noobs?
-
View User Profile
-
Send Message
Posted Aug 9, 2013Why are all commands filtered automatically if there is no blacklist? I think this is kinda dumb. Otherwise, I LOVE this plugin, been looking for one.