AntiAFKPlus
Professional-grade AFK detection and management system with AFK Credit System
✅ Minecraft 1.16 – 1.21.8 | ✅ Folia/Paper/Spigot/Bukkit/Purpur | ✅ Java & Bedrock Edition | ✅ Zero-lag Performance
Enterprise Features
️ Modular Architecture
- Enable/disable modules independently via configuration
- Core modules: Detection, Events, API, Commands, Credit System
- Feature modules: Pattern Detection, Autoclick Detection, Player Protection, AFK Zones, Rewards, Large Pool Detection
- Integration modules: WorldGuard, PlaceholderAPI, Vault, DiscordSRV, Floodgate, bStats
Multi-Platform Support
- Auto-detection of Folia, Paper, Spigot, Bukkit, Purpur
- Automatic fallback for maximum compatibility
- Bedrock Edition support via Floodgate/Geyser integration
Complete Internationalization
- 20+ languages supported out of the box
- Per-player language detection and customization
- Fully translatable messages and UI elements
⚡ Zero-Lag Performance
- Adaptive intervals based on server load
- Object pooling and intelligent caching
- Player activity categorization for optimization
- Real-time performance monitoring
Advanced Detection
- Pattern recognition for bot detection
- Behavioral analysis with activity scoring
- Autoclick/macro detection
- Multi-activity tracking (movement, chat, commands, etc.)
- Large AFK pool detection
- Manual vs automatic movement analysis
Installation & Setup
- Download the latest version
- Place AntiAFKPlus.jar in your /plugins folder
- Restart your server
- Configure modules in config.yml
- Customize messages in messages.yml
️ Commands & Permissions
Core Commands
/afk |
Toggle AFK mode manually |
antiafkplus.afk |
/afk list |
View all AFK players |
antiafkplus.list |
/afkplus reload |
Reload configuration |
antiafkplus.admin |
/afkplus status |
View plugin status |
antiafkplus.admin |
Credit System Commands (v2.5)
/afkback |
Return from AFK zone |
antiafkplus.credit.return |
/afkcredits |
Check AFK credit balance |
antiafkplus.credit.check |
⚙️ Configuration
Code (YAML):
modules:
core-detection:
enabled
: true
pattern-detection:
enabled
: true
autoclick-detection:
enabled
: true
credit-system:
enabled
: false
Integrations
- PlaceholderAPI (placeholders for status, afk time, credits, etc.)
- WorldGuard (region-based AFK settings)
- Bedrock Edition support via Floodgate/Geyser
Developer API (80+ Methods)
Code (Java):
// Example API usage
AntiAFKPlusAPI api
= AntiAFKPlusAPI.
getInstance
(
)
;
boolean isAfk
= api.
isAFK
(player
)
;
Performance & Monitoring
- Real-time TPS impact monitoring
- Memory usage tracking per module
- Async processing for heavy operations
- Debug logging with detailed performance profiling
Troubleshooting
- High CPU usage → Increase check intervals
- Bedrock players not detected → Enable Floodgate
- Credits not earned → Adjust thresholds in config
Statistics & Analytics
- Anonymous usage statistics via bStats
- Player AFK behavior analysis
- Credit system usage monitoring
Version History
- v2.5 (TBD): AFK Credit System
- v2.4.2 (2025-09-09): Folia 1.21.8 compatibility
- v2.4 (2025-08-07): Large AFK pool detection
Author & License
Developed by
Koyere Dev
Licensed under
MIT License
Current Version:
v2.4.2
Quick Start Guide
- Download latest version
- Install in /plugins folder
- Restart server
- Enable modules in config.yml
- Test with /afk command