about summary refs log tree commit diff
path: root/src/game/variables.h
diff options
context:
space:
mode:
authorTeetime <anton.tsoulos@yahoo.de>2011-10-22 20:02:41 +0200
committerTeetime <anton.tsoulos@yahoo.de>2011-10-22 20:02:41 +0200
commit22dc341f791627ceead61d0d31d06ce1b1edbff8 (patch)
tree84b181c7b009971f7e0e65fcc94cad353afc1f54 /src/game/variables.h
parent505c0606ea7c93f0440394131722a31e6c1bcfe9 (diff)
downloadzcatch-22dc341f791627ceead61d0d31d06ce1b1edbff8.tar.gz
zcatch-22dc341f791627ceead61d0d31d06ce1b1edbff8.zip
added automated mute on spamming
Diffstat (limited to 'src/game/variables.h')
-rw-r--r--src/game/variables.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/variables.h b/src/game/variables.h
index 3166bc84..b2ed91d6 100644
--- a/src/game/variables.h
+++ b/src/game/variables.h
@@ -96,4 +96,8 @@ MACRO_CONFIG_INT(SvAllowJoin, sv_allow_join, 2, 1, 2, CFGFLAG_SERVER, "Allow new
 MACRO_CONFIG_INT(SvColorIndicator, sv_color_indicator, 1, 0, 1, CFGFLAG_SERVER, "Color tees apropriate to the number of currently catched players")
 MACRO_CONFIG_INT(SvBonus, sv_bonus, 0, 0, 10000, CFGFLAG_SERVER, "Give the last player extra points")
 MACRO_CONFIG_INT(SvFollowCatcher, sv_follow_catcher, 1, 0, 1, CFGFLAG_SERVER, "If a victim should follow his catcher")
+
+MACRO_CONFIG_INT(SvChatValue, sv_chat_value, 250, 100, 1000, CFGFLAG_SERVER, "A value wich is added on each message and decreased on each tick")
+MACRO_CONFIG_INT(SvChatThreshold, sv_chat_threshold, 1000, 250, 10000, CFGFLAG_SERVER, "If this threshold will exceed by too many messages the player will be muted")
+MACRO_CONFIG_INT(SvMuteDuration, sv_mute_duration, 60, 0, 3600, CFGFLAG_SERVER, "How long the player will be muted (in seconds)")
 #endif