mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Massive messaging and config changes.
Furthermore: + Added basic KillAura angle check (a start to #52) + Fixed sneak false positives + Added staff alert messaging (anticheat.system.alert permission, see #28) + Language file now support color coding + Added debug-mode for testservers + Insignificant pom.xml and README.md updates
This commit is contained in:
1 parent
fec1286c8d
commit
27ca12aec3
30 files changed
+145
-170
No files matched your search
@@ -45,24 +45,6 @@ public final class Utilities {
|
||||
|
||||
public static final String SPY_METADATA = "ac-spydata";
|
||||
|
||||
/**
|
||||
* Send a hack level alert to players and console
|
||||
*
|
||||
* @param message List of strings to send as the alert
|
||||
*/
|
||||
public static void alert(List<String> message) {
|
||||
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||
if (Permission.SYSTEM_ALERT.get(player)) {
|
||||
for (String msg : message) {
|
||||
player.sendMessage(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (String msg : message) {
|
||||
AntiCheatReloaded.getManager().log(msg);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if only the block beneath them is standable (includes water + lava)
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user