๐ Staff Activity Tracker
Root commands: /active
Worlds: All Servers
Access Level: Helper / Mod / Admin
The Staff Activity Tracker allows staff members to view a list of all online Admins, Mods, and Helpers, displaying their current active or AFK status in real-time.
usage
View Active Staff
To view the list of online staff and their active/AFK status:
/active
Output Example:
Admins:
โข PlayerA
โข PlayerB (AFK: 12m 4s)
Mods:
โข PlayerC
Helpers:
โข PlayerD
How It Works
- Login Initialization: When a staff member logs in, their status is registered in the core database.
- Background Monitoring: Every 30 seconds, a background server task evaluates all online staff members' AFK status (synced directly with Essentials' AFK check).
- Status States:
- Active: Displayed in green. The staff member is active and playing.
- AFK: Displayed in gray along with a timer showing exactly how long they have been AFK.
- Logout Cleanup: When a staff member logs off, their record is removed from the active monitoring list.
[!TIP]
Use/activebefore sending important messages or transferring tickets to ensure the target staff member is actively playing and not AFK.