XeroAntiCheat v1.0.9 bug fixes
- BUG-1: Added alerts.cooldown_ms (default 5s) to throttle warn() and sendAlert() in PunishmentManager, preventing chat spam during high-frequency flags. Verbose output in ViolationManager also respects the cooldown. Kick/ban punishments always fire immediately regardless of cooldown. - BUG-2: Fixed FlyCheck false positive with Jump Boost I - condition was incorrectly flagging players with Jump Boost level 1. Now exempts all jump boost levels from the sustained-flight flag. - BUG-3: Optimized SpiderCheck by caching player.getLocation() in a single variable instead of calling it 3 times.
This commit is contained in:
@@ -315,6 +315,11 @@ alerts:
|
||||
|
||||
# Staff-only alert format
|
||||
staff_format: "<gray>[%time%] %message%"
|
||||
|
||||
# Minimum milliseconds between alert/warn messages for the same player+check.
|
||||
# Prevents chat spam when a player is flagging at high frequency.
|
||||
# Default: 5000ms (5 seconds). Set to 0 to disable throttling.
|
||||
cooldown_ms: 5000
|
||||
|
||||
# ==========================================
|
||||
# COMMANDS
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: XeroAntiCheat
|
||||
version: 1.0.8
|
||||
version: 1.0.9
|
||||
main: com.xeroth.xeroanticheat.XeroAntiCheat
|
||||
author: Xeroth
|
||||
description: Lightweight, accurate anti-cheat for Paper 1.21.x
|
||||
|
||||
Reference in New Issue
Block a user