cc_corrections
The whole prison and the officers who run it. Sentences count down fairly, prisoners have cells and prison jobs that cut their time, and corrections officers receive, transport, search, muster and rel
The whole prison and the officers who run it. Sentences count down fairly, prisoners have cells and prison jobs that cut their time, and corrections officers receive, transport, search, muster and release them. It runs on Qbox, QBCore, ESX, ox_core, ND_Core or standalone, through cc_lib.
Requirements
| Required | cc_lib 1.8.0 or newer, oxmysql (MySQL 5.7+ / MariaDB 10.4+) |
| Frameworks | Qbox, QBCore, ESX, ox_core, ND_Core, or none (officers by ACE) |
| Optional | any inventory, target, dispatch, keys, fuel and banking script cc_lib bridges; ox_doorlock; a phone; a clothing script; cc_doj; an MDT; your existing prison script |
Install
- Put
cc_correctionsinresources/and add these lines toserver.cfg, afteroxmysqlandcc_lib.install/convars.cfghas every line.cfgensure oxmysql ensure cc_lib ensure cc_corrections add_ace group.admin cc_corrections.admin allow - Add the
correctionsjob:install/jobs/qbox.lua,qbcore.luaoresx.sql. On standalone, give officers the ACEcc_corrections.officer. - Items: the resource has none of its own.
install/items/has blocks for ox_inventory, qb-inventory and ESX covering the default loadout, canteen and meals. - Start the server. The tables create themselves, and one console line reports the framework, backend and database.
- Check the map. The points are placed for Bolingbroke with the Prompt prison interior. On another map, set
Config.Features.doors = falseand move the points with/corrections edit.
The INSTALL.md file in the download covers the DHS-PrisonSim and MDT setups.
Pages
| Page | For |
|---|---|
| Configuration | every setting in config.lua and server/config.lua |
| Exports and API | the jail API, exports, events and hooks |
| Compatibility | frameworks, inventories, targets, phones, clothing, dispatch and maps |
| Troubleshooting | every console and F8 message and its fix |
Commands
| Command | Who | Does |
|---|---|---|
/ctablet or F9 | officers | the tablet, or the action menu near a prisoner |
/commit <id> <units> [reason] | police | send a prisoner to the prison |
/remand <id> [case ref] | police | hold a prisoner for court |
/sentence | prisoners | the sentence card |
/lawyer, /prisoncall | prisoners | ask for counsel, make the one phone call |
/corrections edit / export / selftest | admins (ACE) | place points in game, print them for config, check the setup |