HomeJavaModsAnti AFK - Detects Every Form of AFK
Anti AFK - Detects Every Form of AFK
This plugin provides the ability to perform any command(s) when a player is AFK. Depending on what permissions the user has will depend on the amount of time they are able to AFK for!


CLICK ME to check our the premium version of this plugin


Features:
[+] Detects all forms of AFKing (Water pools, Pistons, etc)
[+] Very Lightweight
[+] Configurable Permissions + Commands
[+] /afk reload (afk.reload) - Reloads the configuration file

Instructions:
- Place the Jar into your /plugins directory
- Configure the config.yml
- Restart the server
- Ensure that the groups/players have the correct AFK permission

Permissions:
- Permissions can be created in the configuration file
- The permission afk.admin can be used to bypass the AFK check

Spoiler: Config
Code (Text):

#Commands that are executed when a player is kicked for AFK
#Replace %PLAYER% with the players name
#Replace %TIME% with the time in minutes, the player has been afk for
KickCommands:
- 'kick %PLAYER% you have been kicked for being AFK for %TIME% Minutes!'
- 'broadcast %PLAYER% has just been kicked for AFK!'

#List permissions from highest to lowest, in the format afk.value.<timeinminutes>
#The player will be checked and depending on what permission they have will depend on the amount of minutes
#they are allowed to be AFK for
#IE A group, or player that has the permission 'afk.value.5' will be classed as AFK after 5 minutes.
Permissions:
- 'afk.value.5'
- 'afk.value.2'
 



[​IMG]
Come and join our official Discord Server!


[​IMG]
A New Server List with Analytics in mind

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Anti AFK - Detects Every Form of AFK is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 13,885 times (via Spigot). Download it and open it directly in the game.

Explore more