Analytics runs only if you accept. No names, codes or payment details are sent, and shopping works the same either way. Details: privacy and cookies.

  • Necessary Keeps your cart and this choice in your browser so the store works. We ask again after 12 months.
    Always on
  • Analytics (PostHog) Counts pages, clicks and store actions with your device type and rough location, and may record your visit with typed text hidden. Its cookie lasts 365 days. Data is stored in the EU.
    Off
  • Videos Product videos load from YouTube (Google) only when you press Play. YouTube may store data on your device. If you reject, Play opens the video on youtube.com in a new tab instead.
    When you press Play

With analytics on, the site keeps this visit's campaign source in this tab until you close it.

Change your choice any time with Cookie settings at the bottom of the page.

Advanced Jail System

 V2

Officers sentence players from a Prison MDT, and inmates work, trade and try to escape in your FiveM prison.

Supports ESX, QBCore and Qbox

Buy or subscribe

One-off purchase

€19.99 + VAT at checkout

Supports ESX, QBCore and Qbox

Buy now skips the cart: log in with Cfx.re, then pay on Tebex.

Included in both plans

Compare subscriptions

Ultimate Full access

€39.99/month + VAT

33 scripts that cost €549.67 + VAT bought one by one, plus every future release.

Subscribe to Ultimate

Essential Starter

€24.99/month + VAT

7 police, EMS and management scripts.

Subscribe to Essential

Renews monthly. Cancel any time in your Tebex payment portal (external site). Scripts stop after the paid period.

15% off one order Terms

Covers scripts and bundles, and on a plan the first payment only. Not valid on gift cards. One use per customer or IP address. Enter it in your cart under Have a code?, or at Tebex checkout.

Discount code NEW15

In a bundle

Police Bundle, 5 scripts

€75.99 + VAT, Save €23.96 (23%), €99.95 + VAT if bought separately

A hooded inmate crouches over an explosive on a prison floor and lights it, then walks away as orange smoke rises and it burns.

An inmate lights an explosive on the prison floor and walks away as it burns.

It is built for police custody and prison time, not for staff jailing rule breakers. It needs ox_lib and works with ox_inventory, qb-inventory, qs-inventory and ox_target. You set how much time each finished task spot takes off, which items it pays and where the prison is.

At a glance

  • Sentence from a Prison MDT

    Officers open it with an item or command and set the time, jail type, notes and cell. Later they can change the time or release the player.

  • Lockup for investigations

    Hold suspects in cells with no set time, without prison activities, until an officer releases them.

  • Six group prison jobs

    Task-board jobs take time off per finished spot, can pay items and give the group a bonus once all spots are done.

  • Three ways to escape

    Light a bought explosive, disable the fence power and cut through, or sharpen utensils to dig out of your cell.

  • Ankle monitors police can track

    Every officer sees a monitored player's location; the monitor comes off in the Prison MDT or with a powersaw.

  • Sixteen NPCs and prison activities

    Bribe guards, buy IFAKs from the doctor, trade in jail cigarettes, grow plants, make drugs and bet at roulette.

What Advanced Jail System does

Run custody from the Prison MDT

Officers choose the closest player or enter an ID, then decide whether the player teleports to the cell. The jailed list shows each prisoner's time left and notes. Escaped prisoners stay listed with the sentence they had left and the time they escaped.

Give inmates more to do

Inmates choose from 6 jobs on the task board, from trash and garden work to serving food and washing dishes. They also search tables for items, rest in beds that heal them and use gym equipment for a small speed boost. Roulette tables are synced, so every player bets at the same table.

Let them try to escape

The explosive comes from an NPC and is lit with a lighter. The fence route needs a freedom chip or prison security card, then a jail shovel and fence cutters. Digging out needs plastic utensils from tasks, sharpened at an NPC.

Full feature list

Show the full list Hide the full list

Prison MDT

  • Police open it with an item or a command (configurable)
  • Send players to jail or lockup
  • Mugshot animation on sentencing, which can be changed to a switchout animation or turned off
  • Set time, jail type, notes and cell, and turn teleporting on or off
  • Jailed players list with name and time left
  • Change time left, unjail a player or change notes
  • Active ankle monitors: show location, edit notes or unlock
  • Escaped prisoners with the sentence left and time of escape; remove them once sentenced again

Prison tasks

  • Six tasks: trash work, electrical work, garden work, serving food, sweeping floors and washing dishes
  • Choose tasks from the task board
  • Do tasks in groups
  • Each completed spot cuts the sentence by a configurable amount
  • Optional item rewards for completing tasks
  • A bonus reward for every player when the group completes all spots

Trading, plants and drugs

  • Search tables for items set in the config
  • Plant growing: buy seeds and a watering can, plant, water and sell the harvest
  • Trading for configurable items, paid in jail cigarettes
  • Drug making: gather chemicals, buy lab tools from the trader, sell to an NPC
  • 16 NPCs with their own lines, from bribable guards to a doctor who sells IFAKs

Beds, gym, roulette and tattoos

  • Jail beds heal players over time
  • A gym workout gives a 10-second speed boost
  • Synced roulette tables where everyone bets on red, black or green
  • Personal stash that police can search
  • Automatic jail clothes (configurable)
  • Tattoo maker inside the prison

Three escape routes

  • Explosive: buy one from an NPC, place it, light it with a lighter and escape
  • Fences: get a freedom chip or security card, disable the power, dig and cut through
  • Digging: sharpen plastic utensils from tasks at an NPC and dig out of your cell

Lockup and ankle monitors

  • Lockup cells for holding players while investigating, without the prison activities
  • Players stay in lockup until an officer releases them
  • Ankle monitors as items, placed on a player
  • All police see a monitored player's location at all times (blip set in the config)
  • Remove a monitor from the Prison MDT or with a powersaw
  • Ankle monitors stay synced and saved over restarts

Exports, logs and languages

  • Client and server exports: jail, unjail, seizeItems and getSentence
  • Server exports: removeSentence, getJailedPlayers, escapePrison and removeAnkleMonitor
  • Needs ox_lib; supports ox_inventory, qb-inventory, qs-inventory and ox_target
  • Logs sent to Discord
  • English, Finnish and French included, translatable

Requirements and compatibility

Required: import the SQL file for your framework; it has one block for ESX and one for QBCore. Prison locations default to Gabz Bolingbroke and can be changed to any MLO in the config.

Check compatibility in the Advanced Jail System docs (external site)

Where a row says “or”, one of them is enough.

Frameworks

Supports ESX, QBCore and Qbox

Other frameworks: Custom (see the note under the table)

Qbox is also known as qbx.

Required
  • ox_lib
Code access
Protected by Cfx.re Asset Escrow. The config files and editable files are open for you to change.
All compatibility details
Resource name
tk_jail
Database
oxmysql or mysql-async
Inventory
ox_inventory, qb-inventory, qs-inventory or Custom (see the note under the table)
Target
ox_target or Custom (see the note under the table)
Languages
English, Finnish, French
Optional integrations

Not required. The script runs without it.

Custom: the integration code is editable, so you can add your own resource. Setup required.

Updates, support and terms

Update policy, Discord support and the Terms of Service

Updates

We release updates from time to time, as set out in our Terms of Service.

Current version 1.4.4, updated 3 June 2026.

All updates on the TK Scripts changelog

Support

Open a ticket on Discord (external site)

Open Advanced Jail System documentation (external site)

Terms

The Terms of Service cover refunds, updates and support.

Read the Terms of Service

Questions before you buy

Is this an admin jail?

No. It’s a police custody and prison system. Officers send players to jail or lockup from the Prison MDT, and inmates serve their time with prison jobs, activities and 3 ways to escape.

Does it work with Qbox and my inventory?

It supports ESX, QBCore and Qbox, with ox_inventory, qb-inventory, qs-inventory and ox_target. Item functions are editable, so you can add another inventory yourself.

Which prison map does it need?

The default coordinates are set up for Gabz’s Bolingbroke Prison MLO. You can change every coordinate in the config to work with any MLO.

What do I set up first?

Import the included SQL file into your database. It has one block for ESX and one for QBCore; on QBCore, run only the QB block, which adds the jail columns to the players table.

Buying, code access and refunds: store FAQ and where to buy

Works with other TK Scripts products

These connect with Advanced Jail System. Each is sold separately.

  • Notes, email, browser, calculator and Snake, plus apps for 6 other scripts from TK Scripts.

    Supports ESX, QBCore, Qbox and Standalone

    €14.99+ VAT at checkout, one-off

  • Arrests, patrol gear, vehicle radar, live bodycams and as many stations as you need.

    Supports ESX, QBCore and Qbox

    Top 5 paid police job script on FiveM

    450+ servers (5Metrics, checked 11 October 2026)

    €24.99+ VAT at checkout, one-off

  • Unlimited department MDTs with records, incidents, warrants and in-game permissions.

    Supports ESX, QBCore and Qbox

    Top 3 MDT script on FiveM

    650+ servers (5Metrics, checked 11 October 2026)

    €24.99+ VAT at checkout, one-off

Server counts: 5Metrics, checked 11 October 2026. Detected servers running each script, rounded down.

Get Advanced Jail System

€19.99 + VAT, one-off. Or subscribe: Essential at €24.99/month + VAT (this script plus 6 more) or Ultimate at €39.99/month + VAT (this script plus 32 more).

Renews monthly. Cancel any time in your Tebex payment portal. Scripts stop after the paid period. All sales are final; no refunds.

Checkout by Tebex. Terms of Service

How billing works

Tebex charges the plan price every month until you cancel and emails you a reminder about three days before each charge. Cancel any time in your Tebex payment portal. Your plan then shows as Ending: it stays active but will not renew. Scripts keep working until the end of the paid period, then stop. Your monthly price stays the same while your subscription stays active (before VAT). Next: log in with Cfx.re, then pay on Tebex.