AntiAFK icon

AntiAFK -----

antiafk, afk, afk detection, auto kick, idle kick, inactivity, player management, minecraft,



AntiAFK Plugin
Description
The AntiAFK plugin is designed to manage and mitigate player inactivity on your Minecraft server. With this plugin, players who remain idle for too long will be automatically marked as AFK (Away From Keyboard) and, if the inactivity persists, kicked from the server. This helps to maintain an active player base and ensures that server resources are not wasted on inactive players.

Features
  • Automatic AFK Detection: Players are automatically marked as AFK after a configurable period of inactivity.
  • Customizable Messages: Customize the messages sent to players when they are marked as AFK or kicked for inactivity.
  • Title and Subtitle Notifications: Display a title and subtitle to AFK players, prompting them to move to stay connected.
  • Sound Alerts: Play customizable sounds to notify players and admins when someone is marked as AFK or kicked.
  • Admin Notifications: Notify server operators when a player is marked as AFK or kicked for inactivity.
  • Permission Support: Permissions to bypass AFK checks and execute plugin commands.
Configuration
The plugin offers a variety of configurable options to tailor its behavior to your server's needs. Here is an overview of the configuration options:

Code (Text):
# Configuration for the Antiafk plugin
prefix: "&7[Antiafk]&r "

messages:
  afk: "&cYou are now AFK."
  notAfk: "&aYou are no longer AFK."
  kickReason: "&cKicked for inactivity."
  afkNotify: "&e{player} is now AFK."
  kickNotify: "&c{player} has been kicked for inactivity."

afk:
  afkCheckDelayTicks: 400 # Delay before considering a player as AFK (in ticks)
  kickDelayTicks: 200 # Delay before kicking an AFK player (in ticks)

sounds:
  afkSound: "ENTITY_PLAYER_LEVELUP" # Sound to play when a player is marked AFK
  afkSoundVolume: 1.0 # Volume of the AFK sound
  afkSoundPitch: 1.0 # Pitch of the AFK sound
  notifySound: "ENTITY_EXPERIENCE_ORB_PICKUP" # Sound to notify admins when a player is AFK
  notifySoundVolume: 1.0 # Volume of the notify sound
  notifySoundPitch: 1.0 # Pitch of the notify sound

titles:
  afkTitle: '&cAFK' # Title to display when a player is marked AFK
  afkSubtitle: '&6Move to stay connected' # Subtitle to display when a player is marked AFK
 
Commands
  • /antiafk reload: Reload the plugin configuration without restarting the server.
    • Permission: antiafk.reload
Permissions
  • antiafk.bypass: Allows a player to bypass AFK detection.
  • antiafk.reload: Allows a player to reload the plugin configuration.
Installation
  1. Download the plugin jar file.
  2. Place the jar file in your server's plugins directory.
  3. Restart your server to load the plugin.
  4. Configure the plugin by editing the config.yml file located in the plugins/AntiAFK directory.
  5. Reload the plugin configuration with /antiafk reload or restart the server again for the changes to take effect.
Support
For any issues or feature requests, please visit the plugin's GitHub repository or contact the plugin author on SpigotMC.

Keep your server active and engaging with the AntiAFK plugin!
Resource Information
Author:
----------
Total Downloads: 128
First Release: Jun 28, 2024
Last Update: Jun 28, 2024
Category: ---------------
All-Time Rating:
6 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings