Skip to content

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)

FrameworkJob and gradeDutyCharacter idStatus
Qbox (qbx_core)corrections job, grades 0-4 (install/jobs/qbox.lua)framework dutycitizenidsim
QBCore (qb-core)install/jobs/qbcore.luaframework dutycitizenidsim
ESX Legacy (es_extended)install/jobs/esx.sqlESX has no duty: the resource keeps its own rosteridentifiersim
ox_coreox groupsown rostercharIdsim
ND_CoreND jobsown rostercharacter idsim
StandaloneACE: cc_corrections.officer, cc_corrections.grade.<n> (Config.Standalone)own rosterlicensesim

Override: cc_lib's own config picks the framework when two are started.

Integrations

CategoryDetectedUsed forWithout itOverride
Inventoryox_inventory, qb-inventory, qs-inventory, codem-inventory, tgiann-inventory, core_inventory, origen_inventory, ESX (via cc_lib)property bagging, contraband, equipment, canteenequipment off-limits; property step skippedcc_lib inventory setting; Config.Features.equipment
Whole-inventory confiscationox_inventory ConfiscateInventory / ReturnInventoryone-step property baggingitem-by-item bagging-
Targetox_target, qb-target (via cc_lib)desk, kiosk, work and canteen prompts[E] key prompts (the yard gym needs a real target)Config.Target
Notifyox_lib, okokNotify, mythic_notify, brutal_notify, wasabi_notify, framework, native (via cc_lib)every noticeGTA feed textcc_lib notify setting
Progressox_lib, progressbar (qb), mythic_progbar, esx_progressbar, rprogress, native (via cc_lib)timed searches, reception, musterscc_lib's own bar; the server enforces the time either waycc_lib
Phoneany phone with server exports; lb-phone names shipped as the examplethe prisoner's one phone call, a text to an offline lawyerthe call says "unavailable"; nothing else changesConfig.Doj.phone (resource + export names)
Fuelox_fuel, LegacyFuel, cdn-fuel, ps-fuel, lc_fuel, Renewed-Fuel, qs-fuelstations and more (via cc_lib)transport van filled on spawnthe game's fuelcc_lib
Vehicle keysqbx/qb-vehiclekeys, Renewed-Vehiclekeys, wasabi_carlock, qs-vehiclekeys, MrNewbVehicleKeys, t1ger_keys and more (via cc_lib)keys for the transport vanthe van is unlocked for the drivercc_lib
Banking / societyframework money; societies through Renewed-Banking, qb-banking, qb-management, qs-banking, fd_banking, okokBanking, esx_addonaccount (via cc_lib)officer activity bonusesbonuses paid as cash, or off with Config.Features.bonuses = falseServerConfig.Pay
Clothingillenium-appearance, qb-clothing (Config.Clothing.providers)putting the player's own skin back after the uniform, even after a relog or restartthe look remembered when the uniform went on; else the framework's loaderConfig.Clothing.reload ('auto', a name, false, or your own function); add any clothing script's reload event to providers
Dispatchps-dispatch, cd_dispatch, qs-dispatch, rcore_dispatch, core_dispatch, lb-tablet and more (via cc_lib)escape alerts to policea notice to on-duty officers and policecc_lib
Doorsox_doorlockthe prison's 215 doors, created and driven at runtimethe game's own door systemConfig.Features.doors, ServerConfig.Doors
Prison scriptDHS-PrisonSim (or any jail with jail / release / time-left exports)Config.Backend.mode = 'dhs': it keeps the time, this runs the officersthe built-in sentence storeConfig.Backend.dhs.resource + exports (name and argument order); /corrections dhsprobe <id>
MDTany MDT or staff panel calling the jail APIcommittals, reads, releasespolice /commit and /remandServerConfig.Api.trustedSystems; compat/DHS-PrisonSim stand-in for MDTs written for DHS-PrisonSim
MDT hold clockany resource with three exportsremand time shown at receptionno hold clockConfig.Doj.holdClock
Courtcc_dojcounsel, legal visits, court sentences, bailjail API still worksConfig.Features.court
Job boardcc_jobcentrejob listingnot listedConfig.JobCentre
LoggingFivemanage / ox_lib logger (via cc_lib), Discord webhooksevery state changeconsole onlyServerConfig.Webhooks or set cc_corrections:webhook_<channel>

Maps

MapStatus
Base-game Bolingbrokeoutdoor 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 MLOsurvey 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.