Merge pull request #1310 from Simon311/general-devel
Fix for HealOtherPlayer exploit, also fix #1309
This commit is contained in:
commit
dce26d6928
4 changed files with 53 additions and 3 deletions
|
|
@ -295,6 +295,10 @@ namespace TShockAPI
|
|||
[Description("Disable a player if this number of projectiles is created within 1 second.")]
|
||||
public int ProjectileThreshold = 50;
|
||||
|
||||
/// <summary>HealOtherThreshold - Disables a player if this number of HealOtherPlayer packets is sent within 1 second.</summary>
|
||||
[Description("Disables a player if this number of HealOtherPlayer packets is sent within 1 second.")]
|
||||
public int HealOtherThreshold = 50;
|
||||
|
||||
/// <summary>ProjIgnoreShrapnel - Whether or not to ignore shrapnel from crystal bullets for the projectile threshold count.</summary>
|
||||
[Description("Ignore shrapnel from crystal bullets for projectile threshold.")]
|
||||
public bool ProjIgnoreShrapnel = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue