
AvA Anti-Cheat
A lightweight Anti-Cheat made for java servers that detects flying/movement hacks, chat spaming, combat logging and a few types of hacking
Список изменений
[1.9.5] - Movement & Combat Optimization Update New Features & Console Improvements Delayed Startup Sequence: The ASCII Word Art banner now appears 3 seconds after the server finishes loading. This prevents the banner from being "buried" or split up by other plugins loading in the console.
Live Changelog Integration: Added a system to fetch and display the latest changes directly from the GitHub repository.
Update Awareness: When an update is detected, OPs will now see the specific changelog in-game so they know exactly what has been fixed before restarting.
Critical Anti-Cheat Fixes Bedrock/Geyser Ladder Fix: Resolved a major issue where Bedrock players were kicked for "Flight" while climbing. The anti-cheat now checks a larger vertical area (including the block below the feet) to account for Bedrock's different hitbox positioning on ladders and vines.
Elytra "Grace Period": Added a 3-second immunity timer that triggers the moment a player stops gliding. This prevents "Speed" and "Flight" kicks caused by high-velocity landings or momentum carry-over.
Wind Charge & Breeze Support: * Added detection for ENTITY_EXPLOSION damage.
Successfully launching yourself with a Wind Charge now grants a 4-second "Movement Immunity" to allow for high-arc jumps without being flagged for flying.
Mace & Spear Optimization: * Holding a Mace or the new Spear (v. 1.21.11) now dynamically increases the speed threshold.
Combat checks have been relaxed specifically for these items to allow for "Smash Attacks" and "Lunges" without triggering "Illegal Attack Sequence" kicks.
Combat & Gameplay Logic Restored Combat Log Logic: Fully restored the verbose item-dropping loop. If a player quits during combat, the plugin now manually iterates through every inventory slot and armor slot to ensure items are dropped at the player's location before they are killed.
Version Compatibility: The "Spear" detection logic has been written to be "Fail-Safe." It will look for the item name/ID if it exists, but the plugin will remain fully functional and crash-free on 1.21.10 servers.
Enhanced Velocity Tracking: Improved the lastVelocityTime tracker to distinguish between player-initiated movement (cheats) and environmental knockback (Wind charges, explosions, or being hit by a mob).
Technical Changes Added ProjectileHitEvent and EntityToggleGlideEvent listeners for more precise state tracking.
Cleaned up PlayerData hashmap handling to prevent memory leaks during long sessions.
Increased the default "Velocity Grace Period" from 2.0s to 4.0s to accommodate 1.21.11's high-mobility meta.
