mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 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
@@ -25,7 +25,7 @@ public enum Permission {
|
||||
/* Check Nodes */
|
||||
CHECK_FLIGHT, CHECK_ELYTRA, CHECK_WATERWALK, CHECK_NOSWING, CHECK_FASTBREAK,
|
||||
CHECK_FASTPLACE, CHECK_CHATSPAM, CHECK_COMMANDSPAM, CHECK_SPRINT, CHECK_SNEAK, CHECK_SPEED, CHECK_VCLIP,
|
||||
CHECK_SPIDER, CHECK_NOFALL, CHECK_FASTBOW, CHECK_FASTEAT, CHECK_FASTHEAL, CHECK_FORCEFIELD, CHECK_LONGREACH, CHECK_UNICODE,
|
||||
CHECK_SPIDER, CHECK_NOFALL, CHECK_FASTBOW, CHECK_FASTEAT, CHECK_FASTHEAL, CHECK_KILLAURA, CHECK_LONGREACH, CHECK_UNICODE,
|
||||
CHECK_FASTPROJECTILE, CHECK_ITEMSPAM, CHECK_VISUAL, CHECK_FASTINVENTORY, CHECK_AUTOTOOL, CHECK_BLINK, CHECK_VELOCITY, CHECK_CRITICALS, CHECK_GHOSTHAND,
|
||||
|
||||
/* System Nodes */
|
||||
|
||||
@@ -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)
|
||||
*
|
||||
|
||||
@@ -72,7 +72,7 @@ import java.util.TreeMap;
|
||||
* <p/>
|
||||
* <b>Types of functions:</b><br />
|
||||
* - Player: RESET, KICK, BAN, COMMAND[command] OR COMMAND[command1;command2]
|
||||
* <i>- when using commands <b>&player</b> will be replaced by the player name, <b>&world</b> will be replaced by the player's world,
|
||||
* <i>- when using commands <b>%player%</b> will be replaced by the player name, <b>&world</b> will be replaced by the player's world,
|
||||
* and <b>&check</b> will be replaced by the check that caused this rule to be run</i><br />
|
||||
* <br /><br />
|
||||
* <p/>
|
||||
|
||||
Reference in new issue
Block a user