
AntiAFKPlus 1.3
Smart and configurable AFK management for your server!
π AntiAFKPlus v1.3 β Smarter, Stronger, Safer
This update brings quality-of-life improvements and intelligent detection systems to enhance AFK protection for modern Minecraft servers.
β New Features
-
π§ 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 inconfig.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 (overridesenabled-worlds
). -
π§ͺ Improved Debug System
Enabledebug: true
inconfig.yml
to log warnings, kicks, AFK changes, and detections to console.
π Configuration Changes
-
β New config option:
block-pickup-while-afk: true
-
β New config option:
autoclick-detection: true
-
π§ Messages are fully externalized in
messages.yml
-
π Updated
config.yml
andmessages.yml
are auto-generated if missing -
π Safe handling of false positives (autoclick and AFK check now respect movement better)
π§° Technical / API
-
β 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
π’ Reminder
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.
π AntiAFKPlus v1.2 β Update Changelog
A smarter and more flexible AFK system is here.
β¨ New Features
-
β 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 separatemessages.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 usedisabled-worlds:
in addition toenabled-worlds:
(If both are set,disabled-worlds:
takes priority) -
β Debug Mode
Enabledebug: true
in config to log AFK events in console for testing.
π Improvements
-
Improved internal checks for AFK manual mode expiration.
-
Better separation of config and messages logic.
-
Enhanced permission control and command handling.
π§© Compatibility
-
β 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