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 Sep 25, 2013@Sage905
I have a really weird bug. Here is something in my rules:
match test
replace Fish!
then kick
Thats only a test example. When sometime types Fish! they are kicked. When thats the replace not the match. They aren't typing Test. They type Fish! and it kicks them.
Please fix.
-
View User Profile
-
Send Message
Posted Sep 25, 2013I had to remove the Anti Advertising feature because ppl can't do /pay 100.1 or for example i have a rank named "Jr.Mod" and when they say Jr.Mod in the server it says they are advertising (there are many other examples) How I make the anti advertising feature a little less annoying but withouth stoping to deny the advertisers? Also, IPS with letters like hivemc.eu or mc.happy-hg.com aren't detected by the anti advertiser...
-
View User Profile
-
Send Message
Posted Sep 25, 2013I'm having a issue I've tried
However it comes out like this.
How the <red>* are you</red> when it should be How the <red>*</red>are you
Is this a bug with PwnFilter handling color codes? I tried with other colors, nothing. It just continues the first color and doesn't end.
-
View User Profile
-
Send Message
Posted Sep 24, 2013people say f.uck or n.igga or b.itch and it works! How do i block that too? Thank you!
-
View User Profile
-
Send Message
Posted Sep 20, 2013@Sage905
That works, thanks a ton :D
-
View User Profile
-
Send Message
Posted Sep 20, 2013@cheracc
Can you please try the latest Build (#43) on the Jenkins repo? (Click the Jenkins button at the top of this page).
If that fixes it, I will release v3.1.2 as a bugfix release.
-Sage
-
View User Profile
-
Send Message
Posted Sep 20, 2013I am using BanManagment with Spigot and PwnFilter.
When I attempt to do:
then console bmban &player
I get an "Asynchronous player kick!' error in console, and the match does not get filtered:
Is there some way around this that I could use to make it work?
Thanks for any advice.
-
View User Profile
-
Send Message
Posted Sep 17, 2013@emfjop
In your rule, do something like this:
This will restrict the rule to only chat events. (private messages aren't chat events, they are command events). The other option is you could use the "ignore command" condition.
-Sage
-
View User Profile
-
Send Message
Posted Sep 17, 2013Greta plugin! One question: if i block ips, for example, can a player send an IP via /msg, for example? Or it is also blocked there?
Thanks!
-
View User Profile
-
Send Message
Posted Sep 17, 2013@BlazedChromis
This is a change in the default logging behaviour, to reduce clutter in the main console log.
To get these messages back in the main server.log, you need to either put "then log" action on the rules you want logged, or, if you want them for all messages, put "debug: low" in your config.yml
-Sage
-
View User Profile
-
Send Message
Posted Sep 17, 2013@Eelviny
The error says PwnFilter, but the problem is a "Runaway Regex" in your rules.txt.
If you download the latest development build from the Jenkins repo above, it has a new feature that should tell you what rule caused the problem, instead of crashing the server.
-Sage
-
View User Profile
-
Send Message
Posted Sep 17, 2013Hey, just got this rather large crash with Spigot #1100 and Pwnfilter 3.1.1. Got Pwnfilter's name and regex thingy all over it. Never seen it happen before, but here it is anyway in case it's important: http:pastebin.com/7MPvm6Fg Hope it doesn't happen again. Might just be some infinite loop or something that I've never had happen before.
-
View User Profile
-
Send Message
Posted Sep 16, 2013I used to get alerts in the console when someone said a word. It would say what they originally said, then show the corrected version. It is no longer doing that. How do I enable that again? Thanks!
BTW, best word-filter plugin out!
-
View User Profile
-
Send Message
Posted Sep 13, 2013@ThaSourceGaming
@NoHoPeLess Is Ultrabans still active and up to date? Also, which PwnFilter version are you using.
The PwnFilter anti-spam is very basic, I've always looked at as a mini extra that, if you had a better antispam you should use. Set PwnFilter antispam to false and use other, personally I use NoCheatPlus antispam feature as an alternative.
-
View User Profile
-
Send Message
Posted Sep 13, 2013@Sage905
Sounds great :)
I don't know how to use the anti-spam feature tho :S
-
View User Profile
-
Send Message
Posted Sep 11, 2013Well, folks... I've been terribly busy the past month, and haven't worked on PwnFilter much. I have good news, though. I just wrapped up another project I was working on, and have started working on PwnFilter 3.2. Among the features I'm looking into:
This is just a list of thoughts at this point. No idea what 3.2 will actually contain. :)
-Sage
-
View User Profile
-
Send Message
Posted Sep 9, 2013Hello i have a issue, or not?!
i have spamfilter: true, but the users can chat multiple... looks like:
HI
HI
HI
HI
etc. ...?!
I am using UltraBans...snip from UltraBans config:
Can u please help me?
-
View User Profile
-
Send Message
Posted Sep 4, 2013@Siickest
haha poor guy.
Yeah, that's from my language filter but I'm not sure why it's preventing players from talking normally when saying donate. I'll look into see if that's an error on my part. Anybody that donates has the ability to remove the donation links - they just need to let me know. =)
-
View User Profile
-
Send Message
Posted Sep 1, 2013If possible add a Chat Anti Flood!
However great plugin!
-
View User Profile
-
Send Message
Posted Aug 31, 2013@Siickest
Was that from EpicATrain's filter? But to remove it entirely: