diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 9e283a61..d0cb4a8a 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -252,8 +252,8 @@ namespace TShockAPI if (maxLife > Main.player[ply].statLifeMax + 20 || life > maxLife) if (players[ply].syncHP) { - if (maxLife > Main.player[ply].statLifeMax + 20 || life > maxLife) - Tools.HandleCheater(ply); + Tools.HandleCheater(ply); + Log.Info(Tools.FindPlayer(ply) + " had increased max life by more than 20 or increased life more than max"); } else players[ply].syncHP = true; @@ -271,8 +271,8 @@ namespace TShockAPI if (maxmana > Main.player[ply].statManaMax + 20 || mana > maxmana) if (players[ply].syncMP) { - if (maxmana > Main.player[ply].statManaMax + 20 || mana > maxmana) - Tools.HandleCheater(ply); + Tools.HandleCheater(ply); + Log.Info(Tools.FindPlayer(ply) + " had increased max mana by more than 20 or increased mana more than max"); } else players[ply].syncMP = true; @@ -287,6 +287,7 @@ namespace TShockAPI if (e.Msg.whoAmI != ply) { //fuck you faggot + Log.Info(Tools.FindPlayer(e.Msg.whoAmI) + " was kicked for trying to fake chat as someone else."); Tools.HandleCheater(ply); } } @@ -345,6 +346,7 @@ namespace TShockAPI if (id != e.Msg.whoAmI) { Tools.HandleGriefer(e.Msg.whoAmI); + Log.Info(Tools.FindPlayer(e.Msg.whoAmI) + " was kicked for trying to execute KillMe on someone else."); e.Handled = true; } }