OvercastNetwork/ChatModerator — pull request #3 by ttaylorr (2013-12-06 06:44:52+00:00)
Title: Major refactor of ChatModerator

## Things Changed:

- Refactor ChatModeratorPlugin.java for clarity

- Move Filter and IPFilter around into new packages

- Move Filter back (oops)

- Refactor ViolationSet and PlayerManager for different data storage

- Fix deadlock on IPFilter, some refactoring

- Set reasonable defaults for Violation level

- Temporary value until we can determine how to calculate the violation score

- Change InetAddress[] to Set

- Add helper method to declare all violations and their respective values

- Minor cleanup on IPFilter to reflect recent changes

- Call the event in addViolation()

- Moved around Violation and ServerIPViolation (into tc.oc.violations.core)

- Move fixed from Violation into Filter

- Make the fixed state configurable via config

- Fix spelling on enabled

- Change tc.oc --> tc.oc.chatmoderator

- Rename tc.oc.tests and various other packages

- Adds permission to exempt specific players from filters

- Update pom.xml to reflect change in package names

- Remove permission based exemption (Bukkit bug, afaik)

- Fixed extra tab for @rmsy's 'pedantic self'

- Refactor on fixed to Violation

- Remove 'fixed' from ViolationAddEvent (oops)

- Add defaults for fixed in Violation

- Remove configurable option for fixed from config

- Remove whitespace

______________

Tested and built, everything works as intended.