AfkSystem

Afk system plugin for PocketMine


Logo

Afk System

AFKSystem is a lightweight and customizable plugin designed to manage and handle players who are AFK (Away From Keyboard) on your server. With various configurable options, it ensures a smooth gaming experience while addressing AFK-related issues effectively.


Feature

  • AFK Timer: Automatically detects players who are AFK after a configurable duration.
  • Floating Text: Displays a custom tag above the player’s head when they are AFK, including the reason and duration.
  • Broadcast Messages: Notifies other players when someone goes AFK or returns from being AFK.
  • Auto-Kick: Optionally removes players who are AFK for too long.
  • Custom Notifications: Supports multiple notification types such as titles, tips, action bars, and popups.
  • Reason Limitation: Allows players to provide a reason for being AFK with character limits to prevent abuse.
  • Form UI Support: Includes an intuitive UI Form for setting AFK reasons.
  • History add player afk history to history.log file

Commands & Permission

CommandArgumentPermission
/afk or /afksystem<string;reason>afksystem.command.afk

Example: /afk 'have lunch'

Note: If no argument is provided, the plugin will automatically open the UI Form for the player to set their AFK reason.


Requirements


Support

If you encounter any errors or have suggestions, please feel free to submit an Issues. We’re happy to assist and improve the plugin based on your feedback!


Update Information

Licence

This project is licensed under the MIT License - see the LICENSE file for details.


TODO

If you have any feature suggestions, open issues

  • History player
  • Discord Webhook Support
  • Leaderboard ?

Details

Version: 1.5.0

Downloads: 203

Updated: 2/11/2025

Supported API versions: 5.0.0 to 5.30.1

Categories: General, Fun, Mechanics

License: MIT

Producers

Collaborator