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 Mar 9, 2013@Siickest
Are you using my language filter or one of your own?
-
View User Profile
-
Send Message
Posted Mar 9, 2013Why can people type bastard?!
-
View User Profile
-
Send Message
Posted Mar 8, 2013@EpicATrain
Doing cmdchain will execute a normal set of commands that the player should have permission for. Instead, since you are doing console commands, use conchain. Also in the conchain, you dont need to specify "console" each time.
This is the end result:
Which works how you wanted it to. :)
-
View User Profile
-
Send Message
Posted Mar 8, 2013Can you make: - Check for Commands - Prevent Spamming (Second message is denyed)
-
View User Profile
-
Send Message
Posted Mar 8, 2013Here's what I want to do but only one works:
The cmdchain won't work for the console commands. Ideas?
-
View User Profile
-
Send Message
Posted Mar 7, 2013Please add support for EssentialsChat ASAP!
-
View User Profile
-
Send Message
Posted Mar 6, 2013Wtf?
-
View User Profile
-
Send Message
Posted Mar 6, 2013Could the developer please look at this... http://forums.bukkit.org/threads/cancelling-a-command.100345/
Commands with curses in them NEED to be censored and I know very well that it is possible....
-
View User Profile
-
Send Message
Posted Mar 5, 2013@PuremineServer
Are you using my language filter?
-
View User Profile
-
Send Message
Posted Mar 5, 2013I was hoping that this could work for all commands in general. For example, faction names. Players are allowed to make a faction called bi* on my server, this plugin should prevent that from being used in commands =D
Also, I seam to have an error. When a player says even part of a blocked word Example Our faction has many assets Displays as Our server has many *ets and then it kicks them.
I do not have it set up as a+s+s if you were going to ask that Please fix, thanks!
-
View User Profile
-
Send Message
Posted Mar 4, 2013I have released my latest version of my language filter! Version 8.3 is live and as far as I can tell, we have rid of most of the bugs. As always, PLEASE let me know if you have any problems with it. Thanks!
https://www.facebook.com/LanguageFilter (Link to the files is in the description)
-
View User Profile
-
Send Message
Posted Mar 1, 2013@Europia79
It doesnt. Or at least not yet. We already know about this problem, and tremor might add it to this plugin later on, or as part of a new plugin in the near future. Sorry.
-
View User Profile
-
Send Message
Posted Mar 1, 2013is this not supposed to work for /tell /msg /r /whispers ? ...Or is it some kind of bug or conflict with another plugin ? (i use EssentialsChat atm).
is this supposed to work on whispers also ? (private messages)
-
View User Profile
-
Send Message
Posted Feb 28, 2013@deleted_9935739
The "+" character means one or more of the symbol/letter/number preceeding it. So for example. say you wanted to catch LOL repeated one or more times, you would do:
The "*" character means zero or more of the symbol/letter/number preceeding it. so for exmaple, say you wanted to catch FUCK but also FUC and FUK and FU, you could do:
The "?" characther means zero or one of the symbol/letter/number preceeding it. I have no example for that, but it can be useful as well.
Make sense?
If you are interested in learning RegEx, here are two pages that might help:
http://www.zytrax.com/tech/web/regex.htm
http://www.regular-expressions.info/
-
View User Profile
-
Send Message
Posted Feb 28, 2013How can i make it block repeated use of a character in a word for example "tttttest" for "test"
-
View User Profile
-
Send Message
Posted Feb 27, 2013@awesomestmason
Uh yes actually!
Anybody want to do it?
-
View User Profile
-
Send Message
Posted Feb 27, 2013Hey Is There A Way I Could Make It So It Capitalizes The First Letter Of Every Word? Sort Of Like This? Thanks xD
EDIT: Please tell me how
-
View User Profile
-
Send Message
Posted Feb 24, 2013@DreamPhreak
Wow, thanks for the ultra fast response! Seriously, great work guys! Looking forward to the upcoming update :)
-
View User Profile
-
Send Message
Posted Feb 24, 2013@deleted_9935739
Ok sorry, i'm so confused. I'm going to be releasing the next version of my language filter here sometime in the next week which will pretty much have every type of word known to man. I haven't actually created anything that takes words and plugs them into code (which would be very nice). I've been terribly sick the last few days so I'm not at my best yet.
-
View User Profile
-
Send Message
Posted Feb 24, 2013@EpicATrain
"Is there any chance of creating a regex word filter generator? I'd like to have a huge list of words that also blocks out number/letter and s p a ced out variations but I'm quite confused on how to myself."
"Hello! I am currently working on this. I'm having beta testers test this out. it'll be ready soon."