AntiAFKPro provides an incredibly efficient, yet powerful and advanced anti-afk and player-time plugin. Configure actions that are executed when players are AFK or reach play-time milestones!
This plugin allows you to configure 'actions' that are executed when a player is AFK or has played for a certain amount of time.
Come and join our official Discord Server!
- Detects AFK players effectively and efficiently
- Will detect Auto-Clicking and other macros that simply move the player character
- Save and reward Player Time
- Send players to other servers when they reach playtime / are afk
- Configurable actions (Including the ability to execute Commands, Sounds, Titles and Messages or based of player permission) when a player is AFK or has played for a set amount of time
- Repeat actions when users play for set amounts of time (I.E give them a reward every 10 minutes of playtime!)
- Cannot be bypassed using Vanilla Minecraft mechanics
- Create a completely configurable GUI to show player time (see pictures below)
- Store Player Time data via MySQL (Allowing you to sync player-time data across a Bungeecord) or SQLite
- Plugin offloads tasks to other threads and does not listen on CPU heavy events (It will run like a feather on your machine)
- Placeholder support
- EXTREMELY lightweight
General Permissions:
/jetsantiafkpro (alias /playtime) - Shows player time (as a menu or in chat) -
jetsantiafkpro.menu
/jetsantiafkpro about - Shows information about the plugin
Admin Permissions:
/jetsantiafkpro reload - Reloads the Action Nodes and Messages - jetsantiafkpro.admin.reload
/jetsantiafkpro playtime <user> - Shows that players playtime - jetsantiafkpro.admin.playtime
/jetsantiafkpro set <user> <playtime> - sets a user their playtime - jetsantiafkpro.admin.setplaytime
/playtime and /antiafkpro are alias's for these commands
If you want actions to only be executed for certain players with a permission, then you can do this! Simply use the Permission action in conjunction with others that you want to use!
Drop into your /plugins/ directory and configure!
PlaceholderAPI (Can be used in other plugins)
I have implemented a basic API so you are able to get playertime / afk time if you wish. Code to implement:
Code (Text):
//I would suggest saving this to a field variable, so you don't have to keep keep calling the Bukkit API
((AntiAFKProAPI) Bukkit.getPluginManager().getPlugin("AntiAFKPro")).getAntiAFKProAPI();
(Just PM me if you want me to add something)
https://pastebin.com/Fmwm41BP
Any problems, questions or suggestions send me a PM here, on Spigot - I'm pretty active
By buying this plugin you agree to the following terms:
- You will not chargeback - If you have a legit issue that I cannot fix then I’ll happily refund you
- I cannot guarantee support indefinitely.
- You may not -Redacted- or resell this plugin (You are welcome to modify it for your servers needs though)
- I may refuse to give you support with or without any specific reason
- If you have an issue with this plugin, please contact me before leaving a 1 or low star rating
- I can update this terms of use at any time, without notification