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 May 15, 2013so im trying to get pawn filter to prevent domain names to be said such as example: mc.testcraft.net. but it wont work i tried all the default one and what people offer on the rule page. none of them seem to work for that. i can get it to block ips with just numbers but thats about it. if anyone as has one that works for domain names please send me a copy thank you!
-
View User Profile
-
Send Message
Posted May 13, 2013Replace F Bomb variants with fudge. Also catches ffffuuuccckkk
match h+e+i+l h+i+t+l+e+r|h+e+i+l+h+i+t+l+e+r|s+i+e+g h+e+i+l|s+i+e+g+h+e+i+l
then replace Ich wurde gebannt wegen Rasissmus... Bye
then console ban &player FOR (&rawstring)
then kick Keine Chance dem Rasissmus
then log
! This is ok... i need after the ban a relog/kick from the Player and hes ban :-)
Other Problem:
I have give the permission pwnfilter.bypass.*
My Supporters can not make the command /jail
My Jailplugin run over Bungee
-
View User Profile
-
Send Message
Posted May 13, 2013@xXSshadowXxThanks for confirming that Spigot works, although I do believe there are some scenarios (perhaps other spigot plugins) in which there are some incompatibilities.
@DoYouEvenDipI don't know how I feel about troubleshooting PwnFilter for Spigot on the Bukkit forums yet, but, does the crashes occur when this plugin is removed? Also a plugin list would help, might be able to find an incompatibility with something else. Things I would also check, make sure your don't have any bad rules (malformed regex) in your rules.txt.
@BuildingDave Do you have a plugin that performs bans installed and is "ban" the actual console command for it?
-
View User Profile
-
Send Message
Posted May 12, 2013@DreamPhreak
Working fine for us on multiple servers using Spigot. Only issue I have EVER run into with this plugin was with the latest update and commandspamfilter: true which is a simple fix.
@DoYouEvenDip
Have you tried removing this plugin to rule it in or out btw?
-
View User Profile
-
Send Message
Posted May 12, 2013DreamPhreak I need your help in the discussion forum, thanks.
-
View User Profile
-
Send Message
Posted May 12, 2013@DoYouEvenDip
Might not work with spigot or some spigot plugins, judging from a couple of comments earlier:
http://dev.bukkit.org/server-mods/pwnfilter/?comment=622
(Edit, changed "Doesnt work with spigot" to "might not work with spigot or alongside spigot plugins")
-
View User Profile
-
Send Message
Posted May 12, 2013Server keeps crashing with this error please help. I strongly think pwnfilter is involved with this too:
http://pastebin.com/kYpwvGcg
-
View User Profile
-
Send Message
Posted May 11, 2013Does this work with herochat?
-
View User Profile
-
Send Message
Posted May 10, 2013Pls help:
match h+e+i+l h+i+t+l+e+r|h+e+i+l+h+i+t+l+e+r|s+i+e+g h+e+i+l|s+i+e+g+h+e+i+l
then replace Ich wurde gebannt wegen Rasissmus... Bye
then console ban &player FOR (&rawstring)
then log
Make replace, no ban :-/
why?
-
View User Profile
-
Send Message
Posted May 9, 2013Is there a way to auto add a capital letter to the beginning of a chat and add a period to the end?
-
View User Profile
-
Send Message
Posted May 9, 2013@tremor77 I took your advice and set the priority to normal but now the original chat is able to go through even when it says it was blocked.
-
View User Profile
-
Send Message
Posted May 7, 2013@CVisionHere is your problem:
You're running spout/spigot, it's a plugin conflict.
-
View User Profile
-
Send Message
Posted May 6, 2013@Soledge777
Its not a filter, its in the config.yml:
Change to false.
-
View User Profile
-
Send Message
Posted May 6, 2013I have an issue where players cant use the same command twice in a row, Like /spawn, and then /spawn again. Im not which filter is causing it. heres my Pastebin
-
View User Profile
-
Send Message
Posted May 4, 2013My server crash sometimes with this report http://pastebin.com/Wj9iYAeu and it looks like pwnfilter cause this.
PwnFilter v2.4.1 and bukkit 1.5.2, but it happens also on 1.5.1
-
View User Profile
-
Send Message
Posted May 4, 2013@northmeister
IwannaDashInName is right. I used to think it reloaded the config too but I was wrong. On my server we use PluginManager to reload the plugin only without having to restart the whole server, and it works seamlessly with PwnFilter: http://dev.bukkit.org/server-mods/pm-pluginmanager/
-
View User Profile
-
Send Message
Posted May 4, 2013@northmeister
you can't reload the config.yml, you have to restart server.
-
View User Profile
-
Send Message
Posted May 4, 2013Hi there, PwnFilter is a great plugin, especially with all the new features you have added. However, like with some people below, repeating chat/commands doesn't work. Since /pfreload only reloads rules.txt, I can't reload the config to change the settings to false for commandspawnfilter and chatspawnfilter. I might just be being nooby, but any help? :P
-
View User Profile
-
Send Message
Posted May 3, 2013@EpicATrain
I agree. I would like to see it filter names from offensive to whatever "then replace" is set to, and probably specifically that filter for only the names (so it doesnt ban the player for having the name from some other match)
-
View User Profile
-
Send Message
Posted May 3, 2013@diannetea
I dont think there is any yet. tremor and sage have been thinking about adding a new second rules.txt (maybe called signs.txt) which would only filter signs specifically. But thats still coming soon.