Back to wiki
Das AFK-System
Updated:
This page was automatically translated from German.
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:
- After 5 minutes of inactivity:
- The player receives a visual warning in the game (via Title, Actionbar, and chat message).
- 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.
- 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.