From 4c7e2ddfc289960798641db16e0e62196beaa736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=E5=B0=8F=E5=B7=A6?= <3298837494@qq.com> Date: Fri, 19 Jul 2024 23:22:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CNFairBanAlliance/Plugin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CNFairBanAlliance/Plugin.cs b/CNFairBanAlliance/Plugin.cs index f11a424..2687291 100644 --- a/CNFairBanAlliance/Plugin.cs +++ b/CNFairBanAlliance/Plugin.cs @@ -44,7 +44,7 @@ void OnPlayerPreauth(PlayerPreauthEvent ev) { Log.Info($"封禁UserID :({UserID})尝试加入服务器被处理"); } - CustomLiteNetLib4MirrorTransport.ProcessCancellationData(ConnectionRequest, PreauthCancellationData.Reject($"\n[中国公平封禁联盟系统(CFBA)] 你的UserID在黑名单里\n你已被封禁由于:{Reason}\n封禁时间:{BannedDate} 如有异议请联系服主或访问网站ban.jiubian.net\n如果你并不存在于网站中说明此服主恶意篡改了本地储存的数据", true)); + CustomLiteNetLib4MirrorTransport.ProcessCancellationData(ConnectionRequest, PreauthCancellationData.Reject($"\n[中国公平封禁联盟系统(CFBA)] 你的UserID在黑名单里\n你已被踢出由于:{Reason}\n封禁时间:{BannedDate} 如有异议请联系服主或访问网站ban.jiubian.net\n如果你并不存在于网站中说明此服主恶意篡改了本地储存的数据\n", true)); } else if (Config.CheckPlayerIP) { @@ -54,7 +54,7 @@ void OnPlayerPreauth(PlayerPreauthEvent ev) { Log.Info($"封禁IP :({IpAddress})尝试加入服务器被处理"); } - CustomLiteNetLib4MirrorTransport.ProcessCancellationData(ConnectionRequest, PreauthCancellationData.Reject($"\n[中国公平封禁联盟系统(CFBA)] 你的IP在黑名单里\n你已被封禁由于:{Reason}\n封禁时间:{BannedDate} 如有异议请联系服主或访问网站ban.jiubian.net\n如果你并不存在于网站中说明此服主恶意篡改了本地储存的数据", true)); + CustomLiteNetLib4MirrorTransport.ProcessCancellationData(ConnectionRequest, PreauthCancellationData.Reject($"\n[中国公平封禁联盟系统(CFBA)] 你的IP在黑名单里\n你已被踢出由于:{Reason}\n封禁时间:{BannedDate} 如有异议请联系服主或访问网站ban.jiubian.net\n如果你并不存在于网站中说明此服主恶意篡改了本地储存的数据\n", true)); } } }