trc202/Combat-Tag — pull request #4 by shiinee (2012-06-16 22:08:32+00:00)
Title: Temporary ban for players who combat log

We added an option to temporarily ban players who log out while tagged. The length of the ban is configurable, and may optionally increase by a given multiplier for multiple instances of combat logging during a given time period.

For example, under the default configuration, a player who combat-logs three times during a single day is banned for 10s the first time, then 20s, then 40s. His ban duration is reset the next day back to 10s.

Temporary ban data is saved in the player's DataContainer which is persisted to a file, which allows for graceful recovery in case the server is restarted during a temporary ban.