Zum Hauptinhalt springen
RewindDocumentation
2 min read

The AFK System

Protect server performance from idle players. Learn everything about automatic warnings, the AFK status, and teleporting to spawn.

By _Apka_
Updated on 7/5/2026

To maintain server performance and free up spaces for active players, Veylor has an intelligent inactivity detection system. The system continuously monitors actions such as movements, interactions with blocks, damage taken, chat messages, commands, inventory openings, and building activities.


⏱️ Inactivity Timeline

As soon as a player stops interacting, fixed time stages kick in:

  1. After 5 minutes of inactivity:
    • The player receives a visual warning in the game (via Title, Actionbar, and chat message).
  2. After 7 minutes of inactivity:
    • The player is officially marked as AFK (away). Note: This marking is for informational purposes; the tab name is not visually changed.
  3. After 15 minutes of inactivity:
    • If the player is still inactive, an automatic teleport back to the spawn occurs.

⚙️ Technical Details & Exceptions

  • Teleport Filter: The automatic teleport to the spawn only occurs if the player is already marked as AFK and is currently more than 5 blocks away from the spawn.
  • Data Processing: The system works completely in memory (In-Memory). No persistent data is stored in a database.
  • Bypass (Exception): Players or team members with the corresponding permission are completely ignored by the system.

🔀 Server Integrations

  • Essentials: The module directly reads the point set in Essentials (Spawn.Location) to teleport inactive players there. If this is not available, the normal world spawn serves as a fallback.

Was this article helpful?

Your feedback helps us improve the Veylor documentation.