Kernel_AntiAFK - Update Log
Version 2.0.0 - Major Detection Update
New Features
Advanced Activity Detection System
- Crafting Detection - Tracks when players craft items as proof of real activity
- Enchanting Detection - Enchantment table usage counts as active playtime
- Anvil Tracking - Monitors anvil interactions and result pickups
- World Change Detection - Dimension/world changes reset AFK timer
- Hand Swap Detection - F-key swaps are recognized as deliberate actions
- Inventory Click Tracking - Monitors player inventory interactions
Activity Type Classification
- New
ActivityTypesystem categorizes different player actions- Each activity type has different weight in AFK calculations
- Supports: CRAFT, ENCHANT, ANVIL, WORLD_CHANGE, HOTBAR_SWITCH
Improvements
- Modular event-based architecture for better maintainability
- Clean separation of listener classes
- Optimized player data management with centralized
AFKManager- Uses
EventPriority.MONITORfor conflict-free monitoringignoreCancelled = trueprevents false positives from cancelled events
Anti-Bypass Protection
- Detects AFK machines that only fake movement
- Distinguishes between real player interaction and automation
- Multiple activity checks for reliable detection
- Cannot be bypassed by simple auto-clickers
Performance
- Async-ready architecture
- Efficient event handling with minimal overhead
- Per-world configuration support
- Low server impact design
Configuration
- World-specific AFK settings support
- Configurable activity weights
- Customizable detection thresholds
Please don’t use this on your servers yet, as it’s a beta version and may still contain bugs.
If you find any issues, please report them on Discord (https://discord.gg/TsrEqVEt) or send me a message on BuiltByBit.
