PwnFilter is a JAVA Plugin for Bukkit, a multiplayer server API for the game Minecraft. Pwnfilter implements Regular Expressions created in a user defined "rules.txt" as an in-game chat filter to remove profane language, spam and caps, for fun and as an effective command alias creator.
Split messages containing players username into two strings around the first instance of the username. Process both parts separately to prevent names being filtered causing issues.
Split messages containing players username into two strings around the first instance of the username. Process both parts separately to prevent names being filtered causing issues.