logo
Katana

An anticheat for Minecraft 1.13+, written with maaattn for Imanity Network.

### Checks

Combat is where most of the work went: autoclicker detection across a dozen
separate pattern algorithms, aim assist, reach with a buffer system so a laggy
player doesn't get flagged for one bad tick, velocity, killaura and hitbox
checks. Movement covers fly, speed, step, motion, omnisprint, and the awkward
edge cases — water and vehicles.

Underneath both is the packet layer: bad packet detection, transaction
validation, network traffic analysis, and anti-crash handling for the payloads
that try to take a server down rather than cheat on it.

### Running it in production

Every check is independently configurable — enabled, violation level before
punishment, ban or kick, and whether it feeds the ban wave instead of acting
immediately. Alerts and bans go out over Discord webhooks, and violations
persist to SQLite, MySQL or MongoDB depending on what the network already runs.

### Stack

Java 8+, Maven, PacketEvents, FastUtil, Apache Commons Math. AGPL-3.0.