A lightweight yet effective anti-cheat plugin designed to combat KillAura (auto-attack) and Hit Through Block (HTB) exploits on Minecraft servers running 1.20+ versions.
This plugin uses advanced timing analysis and ray-traced block detection to identify and prevent common cheating behaviors without false positives on slabs, stairs, or fences. It's configurable, easy to set up, and ideal for small to medium-sized servers looking for basic but reliable anti-cheat protection.
⚙️ Features
KillAura Detection
Tracks attack intervals and timing variance
Flags unnatural click patterns using standard deviation
Auto-kick system for repeat offenders
Hit Through Block (HTB) Detection
Raycasts from player view to target entity
Blocks hits through solid materials like stone, dirt, walls, etc.
Configurable list of blocking blocks (e.g., includes COBBLED_DEEPSLATE, DEEPSLATE_BRICKS, and more)
No false positives on slabs, stairs, glass panes, or fences
Fully Configurable
Adjust thresholds in config.yml
Enable/disable auto-kick
Set custom bypass permission (antikillaura.bypass)
Lightweight & Efficient
No unnecessary overhead
Designed for performance and minimal lag
️ Requirements
Spigot/Paper 1.20.x or higher
Java 17+
Commands & Permissions
No commands — fully automatic
Bypass permission: antikillaura.bypass
Installation
Download the .jar file
Place it into your plugins/ folder
Start your server
Edit plugins/AntiKillAura/config.yml as needed
Reload or restart the server