summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2009-04-09 12:53:21 +0000
committerJared Adams <jaxad0127@gmail.com>2009-04-09 07:02:14 -0600
commit665e0ea53edaf2d7501b00510ac93701e3c84c0d (patch)
tree3cc8d7c4d9810316b940da83388aed28b6be7dbb /conf
parent89a1ee9df93ec822a75f29fc71773f4dd38ed135 (diff)
downloadserverdata-665e0ea53edaf2d7501b00510ac93701e3c84c0d.tar.gz
serverdata-665e0ea53edaf2d7501b00510ac93701e3c84c0d.tar.bz2
serverdata-665e0ea53edaf2d7501b00510ac93701e3c84c0d.tar.xz
serverdata-665e0ea53edaf2d7501b00510ac93701e3c84c0d.zip
Config entries for new anti-spam system
Diffstat (limited to 'conf')
-rw-r--r--conf/battle_athena.conf21
1 files changed, 11 insertions, 10 deletions
diff --git a/conf/battle_athena.conf b/conf/battle_athena.conf
index a4806bec..a28ce9c1 100644
--- a/conf/battle_athena.conf
+++ b/conf/battle_athena.conf
@@ -708,18 +708,19 @@ max_cloth_color: 4
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
+// More than flood lines in threshold milliseconds gets a ban
+// More than warn lines in threshold milliseconds gets a warning
+chat_spam_flood: 10
+chat_spam_warn: 8
+chat_spam_threshold: 10000
-// how many hours to auto ban spammer, 0 to disable [0-32767]. Default 6.
-spam_ban: 1
-
-// how many ms must the message be within to hit threshold counter [1-32767]. Default 3000.
-spam_time: 3000
+// How much to increment the line count if the content is lame.
+// Lameness is defined as mostly caps, punctuation, or a repeat of the last line.
+// Set to 1 or 2 depending on how much you hate hearing "ITEN PLZ!" 3 times in a row..
+chat_lame_penalty: 2
-// how many unpaused lines/repeats in a row before ban trigger [1-32767]. Default 10.
-spam_threshold: 10
+// how many hours to auto ban spammer, 0 to disable [0-32767]. Default 6.
+chat_spam_ban: 1
// Maximum line lengt, if a message is above chat_maxline, its dropped [1-512]. Default 255.
chat_maxline: 512