summaryrefslogtreecommitdiff
path: root/conf/battle_athena.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/battle_athena.conf')
-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