> For the complete documentation index, see [llms.txt](https://duddzy-scripts.gitbook.io/duddzy-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://duddzy-scripts.gitbook.io/duddzy-scripts-docs/scripts/duddzy-jail.md).

# Duddzy Jail

Version 1.0

Welcome to Duddzy Jail, a high-performance prison management system designed specifically for the ESX framework.

Built from the ground up with a focus on optimization and user experience, this script provides a seamless experience for both law enforcement officers and incarcerated players. Whether you are running a roleplay-heavy server or a fast-paced environment, this system offers the perfect balance of automation and interactivity.

### Why Choose This Script?

* **Fully Integrated**: Designed specifically for ESX, utilizing ox\_inventory for secure item management and ox\_lib for a modern, responsive UI.
* **Highly Configurable**: Easily customize jail locations, prison outfits, medical recovery times, and vehicle rental systems all within a single `config.lua` file.
* **Optimized Performance**: Built with a "less is more" approach. The script utilizes efficient event-driven logic and optimized loops, ensuring it runs with near-zero impact on your server.
* **Appearance Flexibility**: Native support for major appearance frameworks including Illenium-Appearance, FiveM-Appearance, rcore\_clothing, and esx\_skin.
* **Immersive Roleplay**: Featuring interactive NPC doctors for medical aid and a dynamic Bail Bondsman system, this script turns "jail time" into an engaging part of your server's ecosystem rather than just a "time-out" zone.
* **Admin-Friendly**: Command-based management allows authorized officers to sentence players and manage bonds instantly, with full persistent database support.

### Core Features

> 🚔 Law Enforcement Tools Manage inmates effectively with a dedicated management menu and command-based sentencing that automatically handles inventory confiscation and database tracking.

> 🛠 Persistence & Reliability Server restarts are no longer a concern. Jail status, time remaining, and bond amounts are saved directly to the database, ensuring sentences are always enforced.
