[img] tag
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.

[img] tag
Come and join our official Discord Server!

[img] tag
  • Detects ALL AFK players effectively and efficiently
  • Cannot be bypassed using Minecraft mechanics (Money refunded if you find a way22x22)
  • Will detect Auto-Clicking and other macros that simply move the player character, water pools, anything with TNT, etc
  • 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!)
  • 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, it works asyncly and does not listen on any CPU heavy events!
[img] tag
  IMAGES

[img] tag

General Permissions:
/jetsantiafkpro (alias /playtime) - Shows player time (as a menu or in chat) -
jetsantiafkpro.menu
/afk - Toggle whether you are AFK or not - jetsantiafkpro.player.afk
/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.playtimeother
/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!

[img] tag
Drop into your /plugins/ directory and configure!

PlaceholderAPI (Can be used in other plugins)
  placeholders

[img] tag
  config.yml

  playertimegui.yml

  messages.yml

[img] tag
I have implemented a basic API so you are able to get playertime / afk time if you wish. Code to implement:
[/font][/size][/color]
[color=#d3d3d3][size=2][font="droid sans", Arial, sans-serif]//I would suggest saving this to a field variable, so you don't have to keep keep calling the Bukkit API[/font][/size][/color]
[color=#d3d3d3][size=2][font="droid sans", Arial, sans-serif]((AntiAFKProAPI) Bukkit.getPluginManager().getPlugin("AntiAFKPro")).getAntiAFKProAPI();[/font][/size][/color]
[color=#d3d3d3][size=2][font="droid sans", Arial, sans-serif](Just PM me if you want me to add something)[/font][/size][/color]
[color=#d3d3d3][size=2][font="droid sans", Arial, sans-serif]https://pastebin.com/Fmwm41BP[/font][/size][/color]
[color=#d3d3d3][size=2][font="droid sans", Arial, sans-serif]

[img] tag
Any problems, questions or suggestions join our discord!

[img] tag
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 redistribute 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
Thanks!