

Stop players from abusing the afk limit, this plugin completely eliminates all afk pools. After "X" amount of time (set in the configuration) a GUI will pop-up on the players screen with an item in it that they must click within "X" amount of time otherwise they will get kicked from the server. If the player isn't afk and manage to click the item then they are rewarded with a custom reward.
The plugin allows you to give donors longer afk limits aswell.
Everything is customizable:
• GUI Title
• Item in the GUI (Changes slots)
• Fake items (kicks if clicked)
• Name and lore of each item
• Rewards for clicking the item
• Time allowed to click item
• Command used if failed to click item in time
• Default rank afk timer
• Unlimited donor ranks
• Added a combat checker.
The plugin allows you to give donors longer afk limits aswell.
Everything is customizable:
• GUI Title
• Item in the GUI (Changes slots)
• Fake items (kicks if clicked)
• Name and lore of each item
• Rewards for clicking the item
• Time allowed to click item
• Command used if failed to click item in time
• Default rank afk timer
• Unlimited donor ranks
• Added a combat checker.
Code:
## _ _ _ _ _ _ _ _ ______ _ __ ##
## | | | | | | (_) | | /\ | | (_) /\ | ____| |/ / ##
## | | | | | |_ _ _ __ ___ __ _| |_ ___ / \ _ __ | |_ _ / \ | |__ | ' / ##
## | | | | | __| | '_ ` _ \ / _` | __/ _ \ / /\ \ | '_ \| __| | / /\ \ | __| | < ##
## | |__| | | |_| | | | | | | (_| | || __// ____ \| | | | |_| |/ ____ \| | | . \ ##
## \____/|_|\__|_|_| |_| |_|\__,_|\__\___/_/ \_\_| |_|\__|_/_/ \_\_| |_|\_\ ##
## ##
ultimateantiafk:
## GUI settings
gui:
## Choose the item for the gui
title: "&d&lUltimateAntiAFK"
item:
## List of all possible items: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
material: "DIAMOND"
## Change the displayname for the item
displayname: "&c&lAntiAFK"
## Change the lore for the item
lore:
- "&c**Click**"
## Choose how to reward the player for clicking the item in the inventory (random)
rewards:
- "give %PLAYER% minecraft:dirt 64;say %PLAYER% got an anti afk reward!"
- "give %PLAYER% minecraft:diamond;say %PLAYER% got an anti afk reward!"
## Kick settings
kick:
## Set the time the plugin waits for a player click (20 equals 1 second)
time: 200
## You can paste your own kick command here
command: "kick %PLAYER% AFK"
## Rank settings
ranks:
## Default settings (if no other permission)
default:
## Time before the gui opens (20 equals 1 second)
time: 4000
## Premium Rank settings (eg. ultimateantiafk.rank.premium)
premium:
## Time before the gui opens (20 equals 1 second)
time: 8000


