This commit is contained in:
D1GQ committed 2024-09-08 15:34:39 -05:00
1 parent 4c9c97af10
commit 7b5a0f3bbf
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -44,8 +44,12 @@ class BetterNotificationManager
}
string text = $"Player: <color=#0097b5>{player?.BetterData().RealName}</color> Has been detected doing an unauthorized action: <b><color=#fc0000>{Reason}</color></b>";
string rawText = $"Player: <color=#0097b5>{player?.BetterData().RealName}</color> Has been detected doing an unauthorized action: <b><color=#fc0000>{reason}</color></b>";
if (newText != "")
{
text = $"Player: <color=#0097b5>{player?.BetterData().RealName}</color> " + newText + $": <b><color=#fc0000>{Reason}</color></b>";
rawText = $"Player: <color=#0097b5>{player?.BetterData().RealName}</color> " + newText + $": <b><color=#fc0000>{reason}</color></b>";
}
if (!AntiCheat.PlayerData.ContainsKey(Utils.GetHashPuid(player)))
{
@@ -54,7 +58,7 @@ class BetterNotificationManager
Notify(text, Time: 8f);
}
Logger.LogCheat(Utils.RemoveHtmlText(text));
Logger.LogCheat(Utils.RemoveHtmlText(rawText));
if (GameStates.IsHost && kickPlayer)
{
+1 -1
View File
@@ -24,7 +24,7 @@ public class Main : BasePlugin
{
public const ReleaseTypes ReleaseBuildType = ReleaseTypes.Release;
public const string CanaryNum = "0";
public const string HotfixNum = "1";
public const string HotfixNum = "2";
public const bool IsHotFix = true;
public const string PluginGuid = "com.d1gq.betteramongus";
public const string PluginVersion = "1.1.2";