From a870845a71dbe1879d6d316f0726c3f75e38249c Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Thu, 10 Apr 2008 01:04:30 +0000 Subject: Add configurable anti spam system, with possible auto ban. --- conf/battle_athena.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'conf') 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 -- cgit v1.2.3-70-g09d2