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:
Rammelkast committed 2020-03-25 17:41:44 +01:00
1 parent fec1286c8d
commit 27ca12aec3
30 files changed
+145 -170

No files matched your search

@@ -57,11 +57,11 @@ public class VelocityCheck {
else {
VL_COUNT.put(p.getUniqueId(), VL_COUNT.get(p.getUniqueId()) + 1);
if (VL_COUNT.get(p.getUniqueId()) > AntiCheatReloaded.getManager().getBackend().getMagic()
.VELOCITY_AMT()) {
.VELOCITY_MAX_FLAGS()) {
EventListener.log(new CheckResult(CheckResult.Result.FAILED,
p.getName() + " failed Velocity, had zero/low velocity "
+ VL_COUNT.get(p.getUniqueId()) + " times (max="
+ AntiCheatReloaded.getManager().getBackend().getMagic().VELOCITY_AMT()
+ AntiCheatReloaded.getManager().getBackend().getMagic().VELOCITY_MAX_FLAGS()
+ ", dist=" + then.distance(p.getLocation()) + ")").getMessage(),
p, CheckType.VELOCITY);
VL_COUNT.remove(p.getUniqueId());