Pogue AFK System — AFK Verification for RedM ⏳
“Stay sharp or get sent packin’.” Keep your server active and fair with a clean, configurable AFK detection + CAPTCHA flow. If a player goes idle, pop a short code check—pass to continue, fail to kick/teleport/run a command.
https://www.youtube.com/watch?v=a0MVvVvPQUk
❓ What is Pogue AFK?
A lightweight, vintage‑styled AFK verifier for RedM. Players who sit idle too long must enter a short code before the timer runs out. Everything—texts, timers, actions, exemptions—is controlled from Config.lua.
⭐ Highlights
- ⏱️ Smart AFK detection — Distance + heading tolerance, configurable check interval.
- ⌨️ Quick CAPTCHA — Custom TTL, length, and alphabet; optional FreezePlayer during verification.
- 💥 Fail action — Choose
kick, teleport, or command (run any server command). - 🛡️ Exemptions — Job‑wide or grade‑based via VORP, plus identifier whitelist (
steam:). - 🐎 Ignore states — Skip checks WhileDead / WhileOnMount / WhilePaused (configurable).
- 🌐 Localization‑ready — All UI labels & messages editable under
Messages.UI. - 🧼 Clean UI — Simple parchment look, countdown bar, input focus.
🚩 How it works
- Player stays idle longer than
ThresholdSec → the AFK Verification UI opens. - They type the shown code before
Captcha.TTLsec expires. - Success → Close UI and keep playing.
Fail / Expire / Attempts exceeded → Apply the configured Action:- Kick with a custom reason, or
- Teleport to a safe location, or
- Run a command (e.g., warn, jail, log).
💡 Notes
- Teleport is ideal for an “AFK jail” or info room.
- Command mode lets you integrate custom punishments or logs (Discord webhook, jail script, etc.).
- Tighten detection with a lower
DistEpsilon, or loosen it for controller wiggle. - Set
MaxAttempts to cap retries; leave 0 for unlimited attempts until TTL ends.
TL;DR
If you’re idle, you get a quick code check. Pass and ride on. Fail and the server applies your chosen action (kick / teleport / command). Fully configurable & localization‑ready—Pogue AFK keeps your frontier lively.