🔹 Is the Script Standalone? ✅ Yes, for FiveM – It does not rely on other frameworks like ESX or QBCore.
❌ No, because it requires WarMenu – Servers must have WarMenu for the menu to work
Watch showcase video here
## Why Use AFKKICK? - **Improved Server Performance:** Automatically kicking AFK players helps free up server resources. - **Enhanced Admin Control:** The WarMenu interface offers a clean, easy-to-use menu for managing online players. - **Player Accountability:** Warning players before kicking them can help educate rule-breakers, with notifications visible directly in-game. - **Customizable & Expandable:** Built to be a solid base for further custom administrative tools. Easily integrate additional functions such as bans, teleports, and more. AFKKICK is a comprehensive FiveM resource designed for server administration. It integrates an AFK kick system and an intuitive WarMenu-based admin interface that allows authorized administrators to view online players and perform actions like kicking or warning players. This resource is ideal for servers that need automated AFK management and a flexible, user-friendly admin tool. ## Features - **AFK Kick System** - **Inactivity Detection:** Monitors player movement and key input. - **Dynamic Countdown:** Once the inactivity threshold is reached (default: 5 minutes), a countdown (default: 60 seconds) starts. - **Color-Coded Notification:** Countdown text is displayed in green (when above 30 seconds) and switches to red (when 30 seconds or less remain). - **Cancel Mechanism:** Players can cancel the countdown by pressing the E key immediately or by sustained movement (5 seconds) which stops the timer and resets the inactivity counter. - **GTA V Native Notification:** The countdown and cancellation messages appear as GTA V style notifications and in chat. - **WarMenu Admin Interface** - **Hierarchical Menus:** - **Main Menu:** Contains the option to view "Online Players." - **Online Players Submenu:** Lists all active players with their server IDs and names. - **Player Options Submenu:** When a player is selected, this menu provides options to **Kick Player** or **Warn Player**. - **Kick Player:** - Prompts the admin with an on-screen keyboard for a kick reason. - If left blank, defaults to "No reason provided." - Kicks the target player with a custom message. - **Warn Player:** - Prompts for a warning reason via on-screen keyboard. - The target player receives a GTA V–style notification in red with the warning message (displayed for ~10 seconds).