diff options
author | Dennis Friis <peavey@placid.dk> | 2008-04-10 01:04:30 +0000 |
---|---|---|
committer | Dennis Friis <peavey@placid.dk> | 2008-04-10 01:04:30 +0000 |
commit | a870845a71dbe1879d6d316f0726c3f75e38249c (patch) | |
tree | ec1321e701bd8a821ed4ff2346533f948a794ab6 /conf | |
parent | 41b5cece10fb9b59e2b05796c54c4008b523f5b3 (diff) | |
download | tmwa-a870845a71dbe1879d6d316f0726c3f75e38249c.tar.gz tmwa-a870845a71dbe1879d6d316f0726c3f75e38249c.tar.bz2 tmwa-a870845a71dbe1879d6d316f0726c3f75e38249c.tar.xz tmwa-a870845a71dbe1879d6d316f0726c3f75e38249c.zip |
Add configurable anti spam system, with possible auto ban.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/battle_athena.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/battle_athena.conf b/conf/battle_athena.conf index a272a60..e456003 100644 --- a/conf/battle_athena.conf +++ b/conf/battle_athena.conf @@ -707,5 +707,23 @@ max_cloth_color: 4 // Visible area size (how many squares away from a player can they see) area_size: 14 +// chat system: +// 2 anti spam systems works together, one is a time based system and the +// other is a repeat based system. Both count up individually, and if one +// surpasses the spam_threshold, players is auto-banned for spam_ban hours + +// how many hours to auto ban spammer, 0 to disable [0-32767]. Default 6. +spam_ban: 6 + +// how many ms must the message be within to hit threshold counter [1-32767]. Default 3000. +spam_time: 3000 + +// how many unpaused lines/repeats in a row before ban trigger [1-32767]. Default 10. +spam_threshold: 10 + +// Maximum line lengt, if a message is above chat_maxline, its dropped [1-512]. Default 255. +chat_maxline: 255 + + import: conf/import/battle_conf.txt |