ViceX Studios · Jail System Grand RP Inspired · ESX Only
Police Jail · Cutscene · Work & Solitary
vicexstudios_jail – Grand RP Style Police Jail System
vicexstudios_jail brings a Grand RP inspired police jail system to your ESX server: cinematic arrest cutscene, officer-only jail menu, live NUI jail timer, anti-escape radius, prison work, solitary confinement and Discord logging – everything you need for a serious, RP-friendly punishment system in one resource.
Perfect for roleplay servers that want more than a simple teleport-to-jail. Police handle all actions via an NPC, inmates see a clean timer UI, and every step is controlled and configurable.
System Overview
Cinematic arrest cutscene & jail intro
Officer-only NPC menu at Bolingbroke
Live NUI jail timer with reason & officer
Work system, solitary & lockdown control
Core Features
Grand RP Style NPC Jail Menu
Police interact with a jail NPC at Bolingbroke to open a clean dialog menu: jail player, jailed list, send to work, send to solitary, lockdown. No ugly chat commands – everything runs through a modern menu system.
Cinematic Arrest Cutscene & Cell Teleport
After confirming the jail action, a scripted arrest sequence plays: the player is positioned for a “mugshot” style scene, then automatically teleported into one of your configured cells inside Bolingbroke Penitentiary.
Stylish NUI Jail Timer
A centered HTML UI shows remaining jail time, reason and arresting officer. The timer is updated server-side, counts down only while the player is online and closes automatically when the sentence is finished or the player is released.
Anti-Escape Radius & Safety Checks
A configurable jail radius around the prison constantly checks if inmates try to leave the area or glitch out of their cells. Escape attempts are blocked by teleporting them back to jail and optionally sending an info notification.
Prison Work with Time Reduction
Officers can send inmates to a work area where they pick up and deliver packages. Every completed delivery reduces their remaining sentence by a configurable amount, giving players an incentive to actually cooperate and work in jail.
Solitary Confinement
Problem players can be moved into solitary cells with additional jail time added on top of the current sentence. Separate positions for solitary cells are configured in the config and handled just like normal jail cells.
Lockdown: Recall All Workers
With one menu option, officers can trigger a lockdown that returns all inmates who are currently on work duty back to their original cells and stops their work tasks.
Clothing Save, Jail Outfit & Weapon Removal
The script saves the player’s current outfit, applies a configurable jail outfit (male/female) and removes all weapons on jail. When the sentence is over, their original clothes are restored and they are teleported to your release position.
Discord Logs & Locales
Every jail, release and important action can be sent to a Discord webhook with player name, ID, time and reason. The script ships with English and German texts and can be translated easily in the config.
Police Workflow
- Only configured jobs (for example
police) can use the jail NPC. - Officer opens the NPC menu and selects “Jail Player”.
- Pick the target player, set jail time in minutes and enter a reason.
- Script plays the arrest cutscene and teleports the player into a cell.
- From the “Jailed List”, officers can see all inmates, remaining time and release them.
- “Work” sends inmates to the prison work area with blips and package tasks.
- “Solitary” moves inmates to solitary cells and adds extra time.
- “Lockdown” recalls all working inmates back to their cells instantly.
Technical Details & Requirements
- Framework: ESX (
es_extended) only. - Storage: jail data (time, cell, outfit, state) is stored persistently so inmates stay jailed after reconnect.
- NUI: lightweight HTML/CSS/JS UI for the jail timer, fully responsive and easy to re-skin.
- Inventory: works with standard ESX inventory; hooks for other inventories can be added in the server file.
- Menus: requires your dialog system (for example vicexstudios_dialog) for clean Grand RP style menu handling.
Quick Installation
- Drag and drop the
vicexstudios_jailfolder into yourresourcesdirectory. - Open
config.luaand set:
– allowed police jobs
– jail cells & solitary cells
– jail radius and work positions
– jail outfits, release position and language
– Discord webhook URL (optional) - Ensure your dialog / menu system is started before this resource.
- Add to your
server.cfg:
ensure vicexstudios_jail
- Restart the server, go to Bolingbroke and test jailing a player with a police job.
Bring Grand RP style jail management to your ESX city
Install vicexstudios_jail and give your police department a complete, immersive jail system – with cutscenes, work, solitary, live timers and clean logging – ready for serious roleplay and professional staff work.
SCREENSHOTS
| Code is accessible | no |
| Subscription-based | No |
| Lines (approximately) | 1190 |
| Requirements | ESX - QB |
| Support | Yes |
MORE SCRIPTS



