summaryrefslogtreecommitdiff
path: root/consts.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-27 17:31:40 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-27 17:31:40 -0300
commitddbf494719658dbb421401f2bdc2429db0df5a2d (patch)
tree4cb7f80ddad6d8b166f4ebfb221cfd3d02809651 /consts.py
parentf0a170e4a61e34ff13475c4ebb4638204db9a993 (diff)
downloadserver-ddbf494719658dbb421401f2bdc2429db0df5a2d.tar.gz
server-ddbf494719658dbb421401f2bdc2429db0df5a2d.tar.bz2
server-ddbf494719658dbb421401f2bdc2429db0df5a2d.tar.xz
server-ddbf494719658dbb421401f2bdc2429db0df5a2d.zip
Disclose about automatic bans, and make score rule read from consts.py
Move the TODO about dropping already established connections from server.py to security.py
Diffstat (limited to 'consts.py')
-rw-r--r--consts.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/consts.py b/consts.py
index 0446c09..cab36f1 100644
--- a/consts.py
+++ b/consts.py
@@ -94,6 +94,8 @@ CONN_CLEANUP =900.0
SQL_PINGTIME =1200.0
BL_UPDATETIME =30.0
BAN_TIME =180.0
+BAN_UNAUTHED =5
+BAN_AUTHED =30
CLIENTVERSION ="2.0.12.15"
MAX_CLIENTS =2500