Automatic Anti-AFK System – Smart & Customizable Kick

Automatic Anti-AFK System – Smart & Customizable Kick 2025-06-25

Inscrivez-vous et acheter une licence pour 0.99 EUR
Addon Informations
  • Name: Automatic Anti-AFK System
  • Author: Benjdiii
  • Version: 1.0
  • Dependencies: None
  • Main File: lua/autorun/server/anti_afk.lua

Description
This addon automatically detects AFK (away from keyboard) players by monitoring their position.
If a player is inactive for too long, a warning is sent, and they are kicked if they remain inactive.
This helps to maintain a responsive and populated server environment.


Features
  • Inactivity detection based on player movement
  • Configurable warning delay and kick timeout
  • Personalized warning and kick messages
  • Admins and superadmins are fully exempted
  • 100% pure Lua, no external dependency
  • Lightweight and optimized (low overhead)
  • Kick logs printed in the server console

Configuration
Edit the anti_afk.lua file to customize timings:

local afkTime = 300 -- Time (in seconds) before sending a warning
local kickTime = 60 -- Time (in seconds) after warning before kicking
  • image_2025-06-25_173008485.png
    image_2025-06-25_173008485.png
    4.4 KB Vues: 40
  • image_2025-06-25_173546140.png
    image_2025-06-25_173546140.png
    11.7 KB Vues: 12
Auteur
Banjdx
Téléchargements
1
Type
Produit numérique
Durée de la licence
Unlimited
Prix
0.99 EUR
Vues
128
Première sortie
Dernière mise à jour
Évaluation
0.00 étoiles(s) 0 appréciations

Autres ressources de Banjdx

Rejoignz-nous sur Discord