ND-AFKV3 Advanced AFK Detection & Management System
Server-authoritative AFK detection for FiveM with a premium glassmorphism admin
panel, persistent oxmysql tracking, and deep ND_DiscordUnified integration.
Features
- Server-side detection | idle time is tracked on the server via client
heartbeats, so it can't be spoofed client-side.
- Tiered timeouts | per-permission-group warning schedules (e.g. afk.vip
vs default), each with its own messages and a configurable grace period.
- Final action | kick, or teleport the player to an AFK lounge, after a
configurable delay past the last warning.
- Exemptions | driving above a speed threshold, typing, pause menu, open
NUI/inventory, and dead/incapacitated; plus ACE bypass afk.bypass).
- Safe zones | static zones from config and dynamic zones created live from
the admin panel (persisted to the database), with optional in-world markers.
- Admin NUI panel /afkpanel) | Currently AFK / Returned / Safe Zones
tabs, search, and Warn / Exempt / Go To / Kick actions.
- ND Unified Profile | playtime, sessions, warnings, trust score,
reputation, AFK count, total AFK, first join, last seen, Steam/License
badges, and the latest staff note.
- ND Warn | issues warnings straight into the ND_DiscordUnified warning DB.
- Discord logging | via ND_DiscordUnified embeds or a standalone webhook.
- Idle-time HUD and support for native / okokNotify / mythic_notify /
sx-notify / nd_notify notifications.
Requirements
- oxmysql (required)
- ND_DiscordUnified (optional) | enables Discord-role panel access, ND Warn,
and the full ND Unified Profile data. Without it, ACE permissions and local
AFK stats still work fully.
Installation
1. Ensure oxmysql is installed and started first.
2. Import database.sql (tables also auto-create on first start).
3. Drop ND_AFKV3 into your resources and add ensure ND_AFKV3 to server.cfg
(after oxmysql / ND_DiscordUnified).
4. Edit config.lua | timeouts, safe zones, admin ACE/role IDs, Discord webhook.
5. Grant admin access, e.g. add_ace group.admin afk.admin allow.
Recommended Comments
Create an account or sign in to comment