Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
Jail Management System (QB)

Description

Jail Management System is a prison script for FiveM QBCore servers, made for the Gabz prison MLO. It covers inmate jobs, crafting, visits, a Department of Corrections toolset and jailbreaks.

Features

  • Grouped jobs for inmates: players do these jobs to get materials for crafting and to reduce their sentences; many exports for other scripts
  • Crafting for lockpicks, pruno and prison drugs, very configurable, plus a few stashes around the prison to store items
  • Prison NPC that sells a weapon or molotov for drugs or wine, also configurable
  • Jail sentences are stored server side, with many exports for other scripts
  • DoC: change clothing, armory, and commands for LEOs to increase or reduce sentences
  • Reception: NPC that alerts an inmate to a visitation
  • Phone: inmates can use a prison phone to call a friend; supports the QBCore phone and GKS Phone
  • Confiscate / relinquish commands to hold a criminal’s possessions until release
  • Skate park: grab a BMX and ride around
  • Infirmary that can only be used in prison
  • Jailbreak: requires the eastern power plant to be hit; inmates are put in random cells and must be broken out within a set time (60 minutes by default) before it becomes impossible
  • Anti helicopter: players who arrive at the prison by helicopter to pick someone up are met by invincible guards with rocket launchers and rifles (does not affect EMS or LEO; can be turned off)
  • Extensive config options

Requirements

  • QBCore, PolyZone, qb-target and ps-ui
  • Gabz prison MLO (not included)
  • Included in the download: qb-powerplant, memorygame, varhack, the door lock config lh34jail.lua and item images

Installation

  • Delete qb-prison.
  • Copy qb-jail and qb-powerplant (and the minigames from dependencies) to your resources and start them in your server config.
  • Add the items from README.md to qb-core/shared/items.lua and the images to your inventory.
  • Make the listed changes to qb-policejob and qb-ambulancejob; with qb-phone, create the CallContact export as described.
  • Replace your current prison door locks with lh34jail.lua in your door lock config.
  • Debug output is on by default; set Config.Debug = false in shared/sh_config.lua for live use.

Related resources

All resources →