Spam filter

Should help against teamgamerfood, next up might be fixing the password authentication since some people say it's ineffective.
This commit is contained in:
juanjp600
2016-08-28 09:58:30 -03:00
parent 712953cc9e
commit 88facd65de
3 changed files with 134 additions and 12 deletions

View File

@@ -30,6 +30,11 @@ namespace Barotrauma.Networking
public string version;
public bool inGame;
public List<string> ChatMessages = new List<string>();
public float ChatSpamSpeed = (float)0.0;
public float ChatSpamTimer = (float)0.0;
public int ChatSpamCount = 0;
private List<Client> kickVoters;
public bool ReadyToStart;