> For the complete documentation index, see [llms.txt](https://tefox-scripts.gitbook.io/tefox-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tefox-scripts.gitbook.io/tefox-scripts-docs/tefox-scripts-documentation/tefox_adminjail.md). Agents can also search and read this documentation through its [MCP server](https://tefox-scripts.gitbook.io/tefox-scripts-docs/~gitbook/mcp).

# ⛓️ tefox\_adminjail

{% embed url="<https://youtu.be/QMat9FE_n1A?si=l7AemkwMJRcgbJe0>" %}

***

### **📦 Description:**

TEFOX Admin Jail is a complete jail system for FiveM, built for QBCore, ESX and Qbox. Instead of banning players for hours or days, keep them in the game and let them serve their punishment in roleplay.

Admins get a modern panel to jail, track and release players in seconds, while prisoners can complete jail tasks to reduce their sentence, always within the limits you set. Every sentence is saved, nobody can escape, and every action is logged to Discord.

***

### **🚀 Main Features:**

🔹 Modern admin panel: online players, jailed players, history and punishments

🔹 Ready-made punishments shared with all admins, editable in-game

🔹 Jail tasks with minigames to reduce sentences

🔹 Persistent sentences: disconnecting or restarting won't free anyone

🔹 Escape protection: running away, dying or respawning sends players back

🔹 Weapons and fighting blocked inside the prison

🔹 Character or player (license) jail mode

🔹 Optional AFK mode that pauses the timer

🔹 Customizable on-screen timer

🔹 Detailed Discord logs with separate channels for jails and tasks

🔹 Supports ox\_target, qb-target, qtarget, interact, or a key press

🔹 Framework auto-detection and 22 languages

🔹 Optimized and lightweight, only requires oxmysql

***
