Welcome to the AFK plugin!
AFK is a plugin that prompts AFK players with a title and gives them the blindness effect!

Code (Text):
Commands:
/afk - This command is used to activate AFK mode
/afkTitle - This command is used to change the title/subtitle of the AFK message
/afkTime - This command is used to change the time it takes to activate AFK mode
/afk reload - This command is used to reload the configuration of the plugin to apply changes
*NOTE* - when a player uses /afk they will be able to move for 2 seconds before being un-AFK'd
Code (Text):
Permissions:
afk.change - Permission to use the command /afkTitle
afk.afk - Permission to use the command /afk
afk.reload - Permission to use the command /afk reload
afk.timechange - Permission to change the AFK time
afk.viewtime - Permission to view the current AFK time
It is possible to cancel any of the following from disabling the AFK effect:
*NOTE* - for any of the changes to take effect, please reload the plugin (either use /afk reload or restart the server)
-
Player movement
-
Commands that are executed by the player
-
Chat interaction
-
Interaction with the environment (ex. opening a chest)
-
Inventory interaction (ex. moving an item in the inventory)
This can be done using the configuration file:
It is also possible to cancel the AFK timer by inserting a negative vault to it.
In addition, you can add commands that will be executed once a player AFK's or un-AFK's:
In order to enable this feature, change the corresponding value to true and add/change the commands as you wish!
It is possible to customize the sensitivity of the movement detection:
A donation would be highly appreciated!
Do you have questions about the plugin? The plugin doesn't work the way you want it to? Here is my website which includes all my contact information:
Click here to open my website