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
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user