Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
XLittleLeft committed Jul 19, 2024
1 parent 9ff10e8 commit 4c7e2dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CNFairBanAlliance/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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));
}
}
}
Expand Down

0 comments on commit 4c7e2dd

Please sign in to comment.