diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 62248162..97e00f00 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -282,9 +282,16 @@ namespace TShockAPI { if (Main.netMode != 2) { return; } string ip = Tools.GetRealIP((Convert.ToString(Netplay.serverSock[ply].tcpClient.Client.RemoteEndPoint))); - if (FileTools.CheckBanned(ip) || FileTools.CheckCheat(ip) || FileTools.CheckGreif(ip)) + if (FileTools.CheckBanned(ip)) { Tools.Kick(ply, "You are banned."); + } else if (FileTools.CheckCheat(ip)) + { + Tools.Kick(ply, "You were flagged for cheating."); + } + else if (FileTools.CheckGreif(ip)) + { + Tools.Kick(ply, "You were flagged for kill tile abuse."); } if (!FileTools.OnWhitelist(ip)) { diff --git a/TShockAPI/TShockAPI.csproj b/TShockAPI/TShockAPI.csproj index d9987db5..11aebcc5 100644 --- a/TShockAPI/TShockAPI.csproj +++ b/TShockAPI/TShockAPI.csproj @@ -69,7 +69,8 @@ - $(SolutionDir)\myass.bat + +