New anti spam for liquids and projectiles

Revamped anti spam systems
New liquid security
This commit is contained in:
Zidonuke 2011-12-27 14:06:06 -05:00
parent c11b944735
commit d01426e2b1
5 changed files with 118 additions and 43 deletions

View file

@ -193,6 +193,12 @@ namespace TShockAPI
[Description("Disable/Revert a player if they exceed this number of tile places within 1 second.")]
public int TilePlaceThreshold = 20;
[Description("Disable a player if they exceed this number of liquid sets within 1 second.")]
public int TileLiquidThreshold = 15;
[Description("Disable a player if they exceed this number of projectile new within 1 second.")]
public int ProjectileThreshold = 100;
[Description("Require all players to register or login before being allowed to play.")]
public bool RequireLogin = false;