mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Warn server admins that NoCheatPlus is enabled.
This commit is contained in:
1 parent
3a73ca0f41
commit
cb1959d2c0
2 files changed
+16
-1
No files matched your search
@@ -91,6 +91,10 @@ public class PastebinReport {
|
||||
} */
|
||||
|
||||
private void createReport(Player player) {
|
||||
if (Bukkit.getPluginManager().getPlugin("NoCheatPlus") != null) {
|
||||
report.append("------------ WARNING! ------------");
|
||||
report.append("This report was run with NoCheatPlus enabled. Results may be inaccurate." + '\n' + '\n');
|
||||
}
|
||||
report.append("------------ AntiCheat Report - " + format.format(date) + " ------------" + '\n');
|
||||
report.append("Version: " + Anticheat.getVersion() + (Anticheat.isUpdated() ? "" : " (OUTDATED)") + '\n');
|
||||
report.append("CraftBukkit: " + Bukkit.getVersion() + '\n');
|
||||
|
||||
Reference in new issue
Block a user