Warn server admins that NoCheatPlus is enabled.

This commit is contained in:
SuperSpyTX authored and h31ix committed 2013-03-27 19:03:09 -04:00
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');