cc_corrections - compatibility
Everything except cc_lib and oxmysql is detected at start. A missing script never stops the resource: the feature that needed it falls back (listed below) and the start-up line says what was found. Ev
Everything except cc_lib and oxmysql is detected at start. A missing script never stops the resource: the feature that needed it falls back (listed below) and the start-up line says what was found. Every detection can be overridden in config.
Status key: sim = exercised by tests/sim.lua / tests/boot.lua against a simulated server; in-game = still to be confirmed on a real server by the owner's test pass (see PRODUCT.md).
Frameworks (through cc_lib)
| Framework | Job and grade | Duty | Character id | Status |
|---|---|---|---|---|
Qbox (qbx_core) | corrections job, grades 0-4 (install/jobs/qbox.lua) | framework duty | citizenid | sim |
QBCore (qb-core) | install/jobs/qbcore.lua | framework duty | citizenid | sim |
ESX Legacy (es_extended) | install/jobs/esx.sql | ESX has no duty: the resource keeps its own roster | identifier | sim |
| ox_core | ox groups | own roster | charId | sim |
| ND_Core | ND jobs | own roster | character id | sim |
| Standalone | ACE: cc_corrections.officer, cc_corrections.grade.<n> (Config.Standalone) | own roster | license | sim |
Override: cc_lib's own config picks the framework when two are started.
Integrations
| Category | Detected | Used for | Without it | Override |
|---|---|---|---|---|
| Inventory | ox_inventory, qb-inventory, qs-inventory, codem-inventory, tgiann-inventory, core_inventory, origen_inventory, ESX (via cc_lib) | property bagging, contraband, equipment, canteen | equipment off-limits; property step skipped | cc_lib inventory setting; Config.Features.equipment |
| Whole-inventory confiscation | ox_inventory ConfiscateInventory / ReturnInventory | one-step property bagging | item-by-item bagging | - |
| Target | ox_target, qb-target (via cc_lib) | desk, kiosk, work and canteen prompts | [E] key prompts (the yard gym needs a real target) | Config.Target |
| Notify | ox_lib, okokNotify, mythic_notify, brutal_notify, wasabi_notify, framework, native (via cc_lib) | every notice | GTA feed text | cc_lib notify setting |
| Progress | ox_lib, progressbar (qb), mythic_progbar, esx_progressbar, rprogress, native (via cc_lib) | timed searches, reception, musters | cc_lib's own bar; the server enforces the time either way | cc_lib |
| Phone | any phone with server exports; lb-phone names shipped as the example | the prisoner's one phone call, a text to an offline lawyer | the call says "unavailable"; nothing else changes | Config.Doj.phone (resource + export names) |
| Fuel | ox_fuel, LegacyFuel, cdn-fuel, ps-fuel, lc_fuel, Renewed-Fuel, qs-fuelstations and more (via cc_lib) | transport van filled on spawn | the game's fuel | cc_lib |
| Vehicle keys | qbx/qb-vehiclekeys, Renewed-Vehiclekeys, wasabi_carlock, qs-vehiclekeys, MrNewbVehicleKeys, t1ger_keys and more (via cc_lib) | keys for the transport van | the van is unlocked for the driver | cc_lib |
| Banking / society | framework money; societies through Renewed-Banking, qb-banking, qb-management, qs-banking, fd_banking, okokBanking, esx_addonaccount (via cc_lib) | officer activity bonuses | bonuses paid as cash, or off with Config.Features.bonuses = false | ServerConfig.Pay |
| Clothing | illenium-appearance, qb-clothing (Config.Clothing.providers) | putting the player's own skin back after the uniform, even after a relog or restart | the look remembered when the uniform went on; else the framework's loader | Config.Clothing.reload ('auto', a name, false, or your own function); add any clothing script's reload event to providers |
| Dispatch | ps-dispatch, cd_dispatch, qs-dispatch, rcore_dispatch, core_dispatch, lb-tablet and more (via cc_lib) | escape alerts to police | a notice to on-duty officers and police | cc_lib |
| Doors | ox_doorlock | the prison's 215 doors, created and driven at runtime | the game's own door system | Config.Features.doors, ServerConfig.Doors |
| Prison script | DHS-PrisonSim (or any jail with jail / release / time-left exports) | Config.Backend.mode = 'dhs': it keeps the time, this runs the officers | the built-in sentence store | Config.Backend.dhs.resource + exports (name and argument order); /corrections dhsprobe <id> |
| MDT | any MDT or staff panel calling the jail API | committals, reads, releases | police /commit and /remand | ServerConfig.Api.trustedSystems; compat/DHS-PrisonSim stand-in for MDTs written for DHS-PrisonSim |
| MDT hold clock | any resource with three exports | remand time shown at reception | no hold clock | Config.Doj.holdClock |
| Court | cc_doj | counsel, legal visits, court sentences, bail | jail API still works | Config.Features.court |
| Job board | cc_jobcentre | job listing | not listed | Config.JobCentre |
| Logging | Fivemanage / ox_lib logger (via cc_lib), Discord webhooks | every state change | console only | ServerConfig.Webhooks or set cc_corrections:webhook_<channel> |
Maps
| Map | Status |
|---|---|
| Base-game Bolingbroke | outdoor points (gates, yard, garage, release) work; interior desks, cells and doors need the editor: Config.Features.doors = false, then /corrections edit and /corrections export |
| Bolingbroke with the Prompt prison interior (the MLO DHS-PrisonSim ships for) | the default: every point, cell and 215 doors are placed for it |
| Any other prison MLO | survey with /corrections edit; replace shared/doors.lua or keep doors off |
Languages
en, de, es, fr, pt (locales/*.json). Newer keys in the four non-English files carry the English line until translated. Config.Strings rewords any line without touching the files.