Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more
Smart and configurable AFK management for your server!
AntiAFKPlus v1.4 - Major Refinements & New Features!
This update brings a host of internal improvements, new features, and enhanced configurability to AntiAFKPlus, making it more stable, user-friendly, and powerful!
β¨ New Features & Major Improvements
config.yml.LOG (default), SET_AFK, or KICK the player./afk and /afkplus subcommands and arguments.getTimeSinceLastActivity(Player) method to the API.markAsAFK(Player) and unmarkAFK(Player) API calls.π§ Enhancements & Optimizations
π Bug Fixes
PlaceholderAPI integration, ensuring placeholders like %antiafkplus_afktime% work reliably.βοΈ Configuration & Permissions
messages.yml.broadcast-afk-state-changes: Toggle global "Player is now AFK" / "Player is no longer AFK" messages.antiafkplus.reload, antiafkplus.status.check, antiafkplus.bypass.autoclick, antiafkplus.bypass.itempickup).config.yml and plugin.yml now feature improved comments and a comprehensive permission overview for easier server administration.Before Updating:
config.yml, messages.yml).config.yml and messages.yml generated by v1.4 and transfer your settings. New options have been added!Thank you for using AntiAFKPlus! We hope you enjoy these improvements.
This update brings quality-of-life improvements and intelligent detection systems to enhance AFK protection for modern Minecraft servers.
π§ Autoclick Detection (Experimental)
Detects suspicious clicking behavior without movement β can optionally trigger AFK handling.
π― AFK Item Pickup Blocker
Prevents AFK players from picking up items automatically. (Toggle in config.yml)
π§© New Placeholder: %antiafkplus_afktime%
Shows how long the player has been inactive in seconds.
π disabled-worlds Support
More flexible world control β disable AFK detection in specific worlds (overrides enabled-worlds).
π§ͺ Improved Debug System
Enable debug: true in config.yml to log warnings, kicks, AFK changes, and detections to console.
β New config option: block-pickup-while-afk: true
β New config option: autoclick-detection: true
π§ Messages are fully externalized in messages.yml
π Updated config.yml and messages.yml are auto-generated if missing
π Safe handling of false positives (autoclick and AFK check now respect movement better)
β Public API now includes:
getLastMovement(Player) for %afktime% placeholder
AFK toggle and state read access
π Full PlaceholderAPI support with %antiafkplus_status% and %antiafkplus_afktime%
π bStats remains fully functional with Plugin ID 25664
This plugin is free and open-source. If you're enjoying it, please consider:
π Leaving a positive review
π§ͺ Joining the Support Discord
π‘ Suggesting features for future versions (GUI, MySQL, Holograms...)
β
Tested on Paper 1.16.5 to 1.21.5
πΌ Built with performance and clarity in mind.
A smarter and more flexible AFK system is here.
β
Voluntary AFK Limit
Players can only stay in manual AFK mode (/afk) for a configurable maximum time.
β
messages.yml support
All messages are now fully customizable in a separate messages.yml file.
β
New Command: /afk list
Lists all currently AFK players online. Permission: antiafkplus.list.
β
New Command: /afk status
Shows if you or another player is currently AFK or active.
β
Softdependency for PlaceholderAPI
Includes placeholder %antiafkplus_status% (returns "AFK" or "ACTIVE").
β
Reload messages.yml with /afkplus reload
β
World Filtering Enhanced
You can now use disabled-worlds: in addition to enabled-worlds:
(If both are set, disabled-worlds: takes priority)
β
Debug Mode
Enable debug: true in config to log AFK events in console for testing.
Improved internal checks for AFK manual mode expiration.
Better separation of config and messages logic.
Enhanced permission control and command handling.
β Supports 1.16 β 1.21.5
β Works with Paper, Purpur, Spigot
β PlaceholderAPI ready
π Metrics via bStats (Plugin ID: 25664)
π¬ Need help? Join our support Discord:
π Donβt forget to leave a β on Spigot if you enjoy the plugin!
π’ Changelog β AntiAFKPlus v1.1
π AntiAFKPlus v1.1 is here with major improvements and new features!
This update focuses on customizability, stability, and player experience.
β¨ New Features
- β
messages.yml added β fully customizable and supports colors
- β
/afk list command to see who is AFK (with configurable permission)
- β
Configurable limit for voluntary AFK (/afk) with auto-exit
- β
Developer API included for external plugin integration
- β
Configurable permission node for /afk list
βοΈ Improvements
- πΉ Broadcasts now correctly show on AFK enter/exit
- πΉ Kick messages are now loaded from config properly
- πΉ Warnings before kick work at all configured intervals
- πΉ Improved AFK detection logic for login edge cases
- πΉ Cleaner structure, ready for future premium edition
π Fixes
- π οΈ Fixed players getting stuck in AFK kick loop after reconnect
- π οΈ Fixed warnings not appearing due to timing errors
- π οΈ Fixed missing broadcast messages on AFK toggle
π How to Update
1. Stop your server
2. Replace your old JAR with the new one
3. Delete messages.yml if it doesn't generate (only once)
4. Restart and reconfigure as needed
5. Use /afkplus reload to reload configs anytime
- β
Supports Minecraft 1.16 to 1.21.5
- π§ Lightweight, async-safe, and open source
- π Includes bStats (optional and anonymous)
- π οΈ Ready for integrations via developer API
- π§© PlaceholderAPI support coming soon in next update