Introduction

Overview

The AFK (Away From Keyboard) System is a FiveM script designed to detect inactive players, mark them as AFK, and optionally kick them after a specified period. This system includes special considerations for admin/mod groups and features visual indicators for AFK players.

Features

  • Automatic AFK detection based on player inactivity

  • Configurable idle time threshold

  • Optional kicking of AFK players after a set duration

  • Admin/mod group exemptions from AFK kicking

  • Visual 3D "AFK" text indicator above AFK players

  • Optional invincibility for AFK players

  • Mouse movement detection to prevent false AFK states

Last updated