summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuzanna K. Filutowska <platyna@users.sourceforge.net>2008-04-16 12:15:37 +0000
committerZuzanna K. Filutowska <platyna@users.sourceforge.net>2008-04-16 12:15:37 +0000
commit9941fb6ea07939d6e469654c827c47b7fa8dc110 (patch)
treec553ebf66aa23b2674e00730ae97b9b016b4c9d9
parent64dfea6a916685600cd1876f6357fdb27ac19dcd (diff)
downloadserverdata-9941fb6ea07939d6e469654c827c47b7fa8dc110.tar.gz
serverdata-9941fb6ea07939d6e469654c827c47b7fa8dc110.tar.bz2
serverdata-9941fb6ea07939d6e469654c827c47b7fa8dc110.tar.xz
serverdata-9941fb6ea07939d6e469654c827c47b7fa8dc110.zip
Committed spam protection configuration.
-rw-r--r--conf/battle_athena.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/battle_athena.conf b/conf/battle_athena.conf
index a272a603..57a6fc0d 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: 1
+
+// 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: 512
+
+
import: conf/import/battle_conf.txt