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 5, 2014Is there any way I can "rewrite" or "warn" in cyrilic or any UTF8 symbol?
-
View User Profile
-
Send Message
Posted Mar 26, 2014@tremor77
Thanks for considering.
-
View User Profile
-
Send Message
Posted Mar 26, 2014@Nickbbeezy Replied in the forum with answer.
@Marium0505 Not that I know of at this time, I see you created a ticket from our conversation on IRC. Hopefully we can get some time soon to look into that, thanks for your patience.
@jjkrause I don't think so, but i'm not positive. I know we can override some messages, but in the case of console there might be an issue of how bypass permissions are setup. Console is technically like OP, and in this case might be bypassing pwnfilter. Some investigation is required.
-
View User Profile
-
Send Message
Posted Mar 25, 2014Can this plugin be used to remove messages returned from running commands? For example, running "clear playername -a" from the console will display "Your inventory has been cleared by *Console*" in the player's chat window. Is there a way of blocking this message entirely?
-
View User Profile
-
Send Message
Posted Mar 23, 2014Hello everyone,
can i add more as 3 threshold parts? or only this 3?
Thanky you.
-
View User Profile
-
Send Message
Posted Mar 21, 2014Any help with this? http://dev.bukkit.org/bukkit-plugins/pwnfilter/forum/regex-discussion/64529-detecting-multiple-words/
-
View User Profile
-
Send Message
Posted Mar 18, 2014Is it possible to delay console|player commands?
-
View User Profile
-
Send Message
Posted Mar 17, 2014@zaino60
I have seen this before. I think I fixed it in my latest dev builds. Get the most recent from the link in Links & Info section above.
@Bron4
This isn't hard-coded behaviour. Are you using EpicATrain's language filter? I think his rules file does this. It's not built-in.
@zaino60
Not at the moment, but we're looking at improving the spamfilter in the future.
@diannetea
It shouldn't block the original chat request. Are you sure you don't have "then deny" somewhere in the rule?
@kikotte
This is due to be fixed in the next build, which, sadly, I haven't had time to make.
-Sage
-
View User Profile
-
Send Message
Posted Mar 17, 2014hey, the plugin is spamming all my console with the error "[PwnFilter] Cached Player List is not equal to actual online player list!" Any Help?
-
View User Profile
-
Send Message
Posted Mar 16, 2014Is there a way to turn or or even change the word "donate" to not change it to a donation link for you? I understand donations believe me, heck ill even donate to you to remove the link,
But i have a /warp donate and everytime staff has to say /warp donate , your donation link comes up.
-
View User Profile
-
Send Message
Posted Mar 7, 2014Is there a way to make with Pwnfilter so it just lets you to write 1 message every X amount of seconds? Thank you!
-
View User Profile
-
Send Message
Posted Feb 25, 2014I'm trying to have it run a ping command when someone says lag, however it is removing their original sentence instead of just also running the command. Is there a way to do this? I tried then replace before the command, but that still didn't work.
-
View User Profile
-
Send Message
Posted Feb 24, 2014@TheJamiePatrol
Found the answer, I was trying to use the * from RegEx but if you just only put in the letter once and put a + after it it works.
-
View User Profile
-
Send Message
Posted Feb 24, 2014Found a problem and i can't find its solve with RegEx. My problem is in the filter for example the "n" word this is my config
match n[^a](gg|99)+(a|er|uh)|n[^a](gg|g|99|9) rule HS1 Nigger then deny then warn Swearing is not allowed. then log
the problem is that is I add lets say either 3 g's or 2 i's it will not block me from using the word. Other then typing out every possible number of combinations of disallowed letters? I would rather not have to write options for any number of i,g or e's to prevent the n word being used. Thanks in advance for any and all help given.
-
View User Profile
-
Send Message
Posted Feb 24, 2014Will report this plugins hope everyone is doing it with. I update to the new version but now, nothing works as it should.
decolor: true
This would not work.
-
View User Profile
-
Send Message
Posted Feb 23, 2014Damn the new so they can write things to the commands without the stops it.
/msg test neger
-
View User Profile
-
Send Message
Posted Feb 23, 2014How to do it so they can just write this stuff?
[a-รถ] [0-9] [.|,]
-
View User Profile
-
Send Message
Posted Feb 17, 2014is there any way to add unicode characters so I could, say, make :circle: correspond to U+2B24
http://pastebin.com/AXDn9AE1
-
View User Profile
-
Send Message
Posted Feb 13, 2014Howdy. I love this plugin to death, but I have a question about a command. Normally, users can type /nick blahblahblah to give themselves a really long, obscene nickname. Would it be possible to limit the length of the nickname to, say 6 characters? And force it to only be one color?
-
View User Profile
-
Send Message
Posted Feb 13, 2014ive tried the alias but cant get it to work here is my example in the command.txt
But if im op then this don't work, any solution?