From 665e0ea53edaf2d7501b00510ac93701e3c84c0d Mon Sep 17 00:00:00 2001 From: MadCamel Date: Thu, 9 Apr 2009 12:53:21 +0000 Subject: Config entries for new anti-spam system --- conf/battle_athena.conf | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'conf') 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 -- cgit v1.2.3-60-g2f50