cc_corrections - configuration reference
Every setting, generated from the annotated files and checked against them. The files themselves carry the long notes (type, range, default and what "off" does) above each line: read them there when a
Every setting, generated from the annotated files and checked against them. The files themselves carry the long notes (type, range, default and what "off" does) above each line: read them there when a row here is not enough.
| File | Who sees it | Holds |
|---|---|---|
config.lua | public: shipped to every client, never escrowed | points, perimeter, cells, ranks, permissions, features, backend, uniforms, UI |
server/config.lua | secret: server only | time per sentence unit, caps, pay, contraband, distances, floors, cooldowns, webhooks |
presets/<name>.lua + presets/server/<name>.lua | public / secret | a whole setup applied over the defaults by Config.Preset |
custom/server.lua, custom/client.lua | yours | hooks and presentation changes that survive updates |
locales/*.json + Config.Strings | public | every line of text; Config.Strings rewords one without touching the files |
A mistyped setting prints one [config] line naming the key at start, and the resource keeps running on that key's default (tests/config.lua proves this for every block). Webhooks can also come from the set convar cc_corrections:webhook_ (never setr: it would replicate the URL to every client).
Points, cells and the fence are easiest to change in game: /corrections edit (ACE cc_corrections.admin), then /corrections export prints a block to paste here.
Public - config.lua
Config.Preset
| Key | Default | What it does |
|---|---|---|
Config.Preset | nil | a preset name: applies presets/<name>.lua and presets/server/<name>.lua over these defaults |
Config.Debug
| Key | Default | What it does |
|---|---|---|
Config.Debug | false | extra console lines and the zone outlines; leave off in production |
Config.Features - Features
| Key | Default | What it does |
|---|---|---|
equipment | true | armoury issue and return |
uniforms | true | officer uniform and prisoner clothing by security level |
reception | true | committals, reception, property and strip search |
transport | true | watch-house transfers in a van |
musters | true | scheduled headcounts |
escapes | true | the perimeter watch and the UAL state |
searches | true | pat-downs and cell searches for contraband |
lockdown | true | supervisor lockdowns |
visits | true | the visitor kiosk and booths |
prisonWork | true | prison jobs that earn remission |
bonuses | true | per-activity pay for officers |
alarms | true | the prison siren on escapes and lockdowns |
blips | true | the prison blip on the map |
ambience | true | staff and inmate NPCs at the desks, gates and yard (Config.Ambience) |
doors | true | the prison locks its own doors and gates (shared/doors.lua) |
prisonLife | true | wages for work, the canteen, meal trays, the yard gym, segregation, the infirmary (Config.Life) |
court | true | counsel requests, the one phone call, legal visits, court sentences and bail from cc_doj |
poses | true | the other person reacts: hands up for a pat-down, a mugshot board at reception, cuffed while loaded |
Config.Backend - Backend
| Key | Default | What it does |
|---|---|---|
mode | 'builtin' | which prison owns the time |
dhs | { ... } | Only read when the backend is (or auto-detects) DHS-PrisonSim. |
Config.Jobs
| Key | Default | What it does |
|---|---|---|
Config.Jobs | { 'corrections' } | framework job names that are corrections officers |
Config.PoliceJobs
| Key | Default | What it does |
|---|---|---|
Config.PoliceJobs | { 'police', 'sheriff' } | jobs that may /commit, /remand and use the gates |
Config.Ranks - Jobs And Ranks
| Key | Default | What it does |
|---|
Config.Permissions - Jobs And Ranks
| Key | Default | What it does |
|---|---|---|
reception | 0 | process a committal at reception |
search | 0 | pat-down and cell searches |
returnUal | 0 | return an escaped prisoner to custody |
visits | 0 | approve, deny and end visits |
notes | 0 | add a note to a prisoner's file |
muster | 1 | run a muster count |
transport | 1 | take a transfer and draw a van |
moveCell | 2 | move a prisoner between cells |
flags | 2 | set protection, escape risk, violent, medical flags |
misconduct | 2 | record a misconduct charge (adds time) |
release | 2 | process a due release at the release desk |
remission | 3 | grant remission (removes time) |
lockdown | 3 | declare and lift a lockdown |
earlyRelease | 4 | release a prisoner before their time is up |
Config.Standalone - Jobs And Ranks
| Key | Default | What it does |
|---|---|---|
officerAce | 'cc_corrections.officer' | makes a player an officer at grade 0 |
gradeAcePrefix | 'cc_corrections.grade.' | followed by the grade number |
Config.Prison - The Prison
| Key | Default | What it does |
|---|---|---|
name | 'Bolingbroke Penitentiary' | shown on the tablet and the sentence card |
numberPrefix | 'BP' | Prisoner numbers: BP-004211. |
numberDigits | 6 | zero-padded length of the number |
unit | 'months' | The sentence unit the preset speaks in. Only the WORD; how many seconds a unit lasts is server/config.lua. |
classification | { medium = 30, maximum = 50 } | Classification by sentence length, in units. A sentence at or above medium is medium security, at or above maximum is maximum. |
blip | { sprite = 285, colour = 3, scale = 0... | map blip |
blipCoords | vec3(1700.0, 2580.0, 45.6) | where the blip sits |
Config.Points - Points
| Key | Default | What it does |
|---|---|---|
gatehouse | { coords = vec4(1785.21, 2548.35, 45.... | clock on and off: the Guard Locker-Room door, Building 1 |
armoury | { coords = vec4(1770.4, 2580.05, 45.9... | draw and return equipment: the Armory double doors |
control | { coords = vec4(1786.9, 2551.2, 45.9,... | the control room tablet: the Security Room |
reception | { coords = vec4(1689.6, 2588.3, 45.92... | receive a committed prisoner: the New Prisoner Onboarding desk |
releaseDesk | { coords = vec4(1780.06, 2552.0, 45.7... | process a release: the release counter |
release | { coords = vec4(1838.59, 2585.23, 45.... | where a released prisoner walks out: the Visitors Entrance |
property | { coords = vec4(1840.4, 2583.6, 45.9,... | the public property window, outside the Visitors Entrance |
sallyPort | { coords = vec4(1673.45, 2602.86, 45.... | unload a transfer: the intake road beside onboarding, inside both gates |
garage | { coords = vec4(1862.5, 2592.3, 45.67... | draw and return a van: the front car park |
vanSpawn | { coords = vec4(1870.3, 2598.6, 45.67... | where the van appears |
musterPoint | { coords = vec4(1705.0, 2552.0, 45.56... | where the counting officer stands, facing the yard |
visitKiosk | { coords = vec4(1840.2, 2588.2, 45.9,... | the public visitor kiosk, outside the Visitors Entrance |
visitExit | { coords = vec4(1842.2, 2585.8, 45.9,... | where a visitor is returned |
Config.YardSpawns - Points
| Key | Default | What it does |
|---|
Config.MusterYard
| Key | Default | What it does |
|---|---|---|
Config.MusterYard | { centre = vec3(...), radius = 75.0 } | where a yard muster counts prisoners |
Config.Perimeter - Points
| Key | Default | What it does |
|---|
Config.DoorDefaults - Doors (Config.Features.Doors; The Doors Themselves Are In Shared/Doors.Lua)
| Key | Default | What it does |
|---|---|---|
gate | true, staff = true, onboarding = true... | locked: the way out, staff, intake, visits, solitary |
cell | false, block = false, yard = false, f... | open: a prisoner's day |
Config.LockdownGroups
| Key | Default | What it does |
|---|---|---|
Config.LockdownGroups | { 'cell', 'block', ... } | door groups a lockdown locks |
Config.DoorAccess - Doors (Config.Features.Doors; The Doors Themselves Are In Shared/Doors.Lua)
| Key | Default | What it does |
|---|---|---|
offDuty | { 'gate', 'staff', 'visits' }, -- g... | groups an OFF-duty corrections officer may open: the way in to clock on |
police | { 'gate', 'onboarding' }, -- g... | groups an on-duty police officer may open: bringing a prisoner in |
Config.Cells - Cells
| Key | Default | What it does |
|---|
Config.CellOverflow
| Key | Default | What it does |
|---|---|---|
Config.CellOverflow | true | when every cell of a level is full, double up instead of refusing the committal |
Config.Reception - Reception
| Key | Default | What it does |
|---|---|---|
durationMs | 12000 | how long processing takes |
takeProperty | true | bag the prisoner's pockets into stored property |
takeCash | true | include cash in stored property |
keepItems | {} | Items a prisoner keeps. Everything else is bagged. |
storage | 'auto' | Where belongings go. 'ox_inventory' confiscates the whole inventory into ox_inventory's own per-player stash (ConfiscateInventory) and gives it back at the property window (ReturnInventory, anything carried then is... |
reasons | { 'Sentenced', 'Remanded in custody',... | The reasons a committal may carry, shown on the tablet. Free text from an export is allowed as well. |
Config.Transport - Transport
| Key | Default | What it does |
|---|---|---|
pickups | { ... } | Police watch-houses a transfer can start from. A police /commit made within radius of one becomes a transfer waiting for a van. id : stable string, stored on the committal coords : where the prisoner waits and... |
vehicles | { ... } | The vans an officer may draw. The client sends an INDEX; the server reads the model from its own copy of this list. seats : rear seat indexes a prisoner is placed in, in order |
platePrefix | 'BP' | van plates start with this |
loadMs | 5000 | loading a prisoner into the van |
Config.Muster - Musters
| Key | Default | What it does |
|---|---|---|
intervalMinutes | 30 | time between musters |
windowMinutes | 8 | how long officers have to run the count |
countMs | 15000 | how long the count takes |
callInmates | true | tell prisoners to report to the yard |
requireAtYard | true | present means inside the muster yard |
Config.Search - Searches
| Key | Default | What it does |
|---|---|---|
personMs | 8000 | pat-down duration |
cellMs | 10000 | cell search duration |
cellPoints | { ... } | Places in the prison that can hide contraband. The server decides what, if anything, is in each; the client only ever learns after searching. id : stable string |
Config.Visits - Visits
| Key | Default | What it does |
|---|---|---|
minutes | 10 | length of a visit |
anim | 'phone' | what both sides do at the booth (a key of Config.Anims) |
legalMinutes | 20 | length of a lawyer's legal visit |
moveInmate | true | bring the prisoner to the booth |
rooms | { ... } | The booths. visitor is outside the perimeter, inmate inside. id : stable string |
Config.Work - Prison Work (Builtin Backend)
| Key | Default | What it does |
|---|---|---|
jobs | { ... } | The jobs, each with the points it can be done at. |
Config.Life - Prison Life (Config.Features.Prisonlife, Builtin Backend)
| Key | Default | What it does |
|---|---|---|
canteens | { ... } | The block canteens: a prisoner buys food and drink with their wages. |
meals | { ... } | The cafeteria's tray points: a free meal on a cooldown. |
infirmary | { ... } | Infirmary beds: a builtin prisoner who dies is taken here instead of to their cell. |
gym | { ... } | The yard gym: models the map already has, and what a prisoner does on them. seat = the player is put ON the prop (a bench), at z above it. |
segregationMinutes | { 10, 20, 30, 60 }, -- array of int... | Segregation lengths an officer picks from, in minutes. |
Config.Misconduct - Misconduct
| Key | Default | What it does |
|---|
Config.Equipment - Equipment (Public List Only; The Loadouts Per Grade Are Server Config)
| Key | Default | What it does |
|---|---|---|
durationMs | 3000 | drawing or returning kit |
Config.Uniforms - Uniforms (Config.Features.Uniforms)
| Key | Default | What it does |
|---|---|---|
officer | { ... } | Put on at the locker room when clocking on, taken off when clocking off. Vanilla freemode drawables; check them with /corrections selftest. |
prisoner | { ... } | Put on at reception, taken off at release, one set per security level. The base game has no prison jumpsuit for player models, so the defaults only take hats off: add your clothing pack's jumpsuit here ([11]... |
Config.Clothing - Uniforms (Config.Features.Uniforms)
| Key | Default | What it does |
|---|---|---|
reload | 'auto' | how the player's own skin comes back after a uniform: 'auto', a provider name, false, or a function |
providers | { ... } | clothing scripts and their reload event (illenium-appearance, qb-clothing); add yours |
Config.NetworkProps
| Key | Default | What it does |
|---|---|---|
Config.NetworkProps | true | props held in a hand are networked so other players see them |
Config.Anims - Animations And Props
| Key | Default | What it does |
|---|---|---|
search | { dict = 'anim@gangops@facility@serve... | An officer searching a person: hands along the arms and pockets. |
rummage | { dict = 'amb@prop_human_bum_bin@base... | Going through a bunk, a locker, a bin. |
clipboard | { ... } | Reception paperwork on a clipboard. |
notepad | { ... } | Taking a count: a notepad and a pencil. |
handover | { dict = 'mp_common', clip = 'givetak... | Passing kit across the armoury counter. |
keycard | { dict = 'anim@heists@keycard@', clip... | Swiping a card at the locker room reader to clock on or off. |
escort | { dict = 'amb@code_human_police_inves... | Loading a prisoner: a hand out, guiding them in. |
scrub | { ... } | Prison work. |
fold | { dict = 'anim@amb@clubhouse@tutorial... | animation or scenario (see the block's header in config.lua) |
sweep | { ... } | a broom in both hands |
weld | { scenario = 'WORLD_HUMAN_WELDING' } | animation or scenario (see the block's header in config.lua) |
phone | { ... } | The booth phone during a visit (Config.Visits.anim). |
handsup | { dict = 'missminuteman_1ig_2', clip ... | Poses: what the other person does. |
mugshot | { ... } | the booking board held at the chest |
cuffed | { ... } | hands behind the back, cuffs on |
guard | { scenario = 'WORLD_HUMAN_GUARD_STAND' } | Staff and inmate NPCs (Config.Ambience). |
clerk | { scenario = 'WORLD_HUMAN_CLIPBOARD' } | animation or scenario (see the block's header in config.lua) |
idle | { scenario = 'WORLD_HUMAN_COP_IDLES' } | animation or scenario (see the block's header in config.lua) |
weights | { scenario = 'WORLD_HUMAN_MUSCLE_FREE... | animation or scenario (see the block's header in config.lua) |
smoke | { scenario = 'WORLD_HUMAN_SMOKING' } | animation or scenario (see the block's header in config.lua) |
pushups | { scenario = 'WORLD_HUMAN_PUSH_UPS' } | animation or scenario (see the block's header in config.lua) |
Config.Actions - Animations And Props
| Key | Default | What it does |
|---|---|---|
reception | 'clipboard' | processing a prisoner at the onboarding desk |
person | 'search' | a pat-down |
cell | 'rummage' | a cell search |
muster | 'notepad' | taking the count |
load | 'escort' | putting a prisoner in the van |
equipment | 'handover' | drawing or returning kit |
duty | 'keycard' | clocking on or off at the locker room |
Config.Poses - Animations And Props
| Key | Default | What it does |
|---|---|---|
reception | 'mugshot' | the prisoner holds the booking board for the photo |
person | 'handsup' | hands up for a pat-down |
load | 'cuffed' | cuffed while put into the van |
Config.Sounds - Sounds
| Key | Default | What it does |
|---|---|---|
shutter | { 'Camera_Shoot', 'Phone_Soundset_Fra... | the booking photo, at reception (both players) |
keycard | { 'CONFIRM_BEEP', 'HUD_MINI_GAME_SOUN... | the locker room reader, clocking on or off |
found | { 'PICK_UP', 'HUD_FRONTEND_DEFAULT_SO... | a search turned something up |
clear | { 'SELECT', 'HUD_FRONTEND_DEFAULT_SOU... | a search found nothing |
Config.Ambience - Ambience (Config.Features.Ambience)
| Key | Default | What it does |
|---|---|---|
centre | vec3(1700.0, 2560.0, 45.6) | the middle of the prison |
react | { equipment = { npc = 'armoury', anim... | An NPC that answers an officer's action: action -> { npc = id, anim = key of Config.Anims }. |
radius | 250.0 | spawn within this distance |
peds | { ... } | the NPCs |
Config.Alarm - Alarm
| Key | Default | What it does |
|---|---|---|
name | 'PRISON_ALARMS' | the game's alarm set |
seconds | 90 | how long an escape alarm sounds |
Config.Tablet - Tablet And Keys
| Key | Default | What it does |
|---|---|---|
command | 'ctablet' | opens the officer tablet |
item | nil | An item the officer must carry to open the tablet anywhere. nil = no item needed. The control room terminal always works. |
offDuty | false | Whether the tablet opens off duty (read-only is not offered: the roll is sensitive, so off duty means closed). |
Config.Keys - Tablet And Keys
| Key | Default | What it does |
|---|---|---|
actions | 'F9' | The officer action menu (search a person, return to custody, load a prisoner). Players rebind it in Settings > Key Bindings > FiveM. |
Config.Commands - Tablet And Keys
| Key | Default | What it does |
|---|---|---|
sentence | 'sentence' | a prisoner's own sentence card |
sentenceHud | 'sentencehud' | a prisoner hides or shows the sentence HUD (Config.UI.sentenceHud) |
commit | 'commit' | police: /commit [reason] |
endVisit | 'endvisit' | leave a visit early |
lawyer | 'lawyer' | a prisoner asks for counsel: /lawyer, or /lawyer pd for a Legal Aid duty lawyer |
call | 'prisoncall' | a prisoner's one phone call |
remand | 'remand' | police: /remand [case ref], held for court |
Config.Target - Target
| Key | Default | What it does |
|---|---|---|
distance | 2.0 | how close the eye / [E] prompt works |
zoneSize | vec3(1.6, 1.6, 2.2) | box zone size at each point |
Config.UI - Interface
| Key | Default | What it does |
|---|---|---|
accent | '#1d3557' | The tablet chrome colour. The only colour a server should change: the rest of the palette is tuned for contrast. |
sentenceHud | true | The sentence HUD: a small panel, top right, no cursor, shown to a prisoner for as long as they are serving. Time left (from the server's figure) and how to cut it: prison work, good behaviour, /sentence. |
workBlips | { sprite = 566, colour = 5, scale = 0... | Map markers on the prison work points, shown only to a prisoner who may work. / table { sprite, colour, scale } or false for none |
Config.JobCentre - Job Centre (Optional: Cc_Jobcentre)
| Key | Default | What it does |
|---|---|---|
enabled | true | list the job when cc_jobcentre is started |
category | 'handson' | the board's category |
applyVia | 'walk_in' | how the board says to apply |
Config.Doj - Doj: The Court, Counsel And The Phone Call
| Key | Default | What it does |
|---|---|---|
lawyerJobs | { lawyer = 0, doj = 0 }, -- | map o... | Jobs that count as a lawyer (legal visits, counsel requests without cc_doj), each with the lowest grade that qualifies. |
unitsPerMonth | 1 | A court's sentence is in months; this many sentence units per month. |
phone | { ... } | the one phone call: a text to a number the prisoner types |
exports | { ... } | The names of cc_doj's exports (docs/EXPORTS.md, contract v1). |
holdClock | { ... } | An MDT's police hold (the charge-or-release clock started at booking). When resource names a started resource, /remand starts its clock, a court sentence clears it, and reception shows the time left. nil = off. |
Secret - server/config.lua
ServerConfig.Sentence - Sentences
| Key | Default | What it does |
|---|---|---|
secondsPerUnit | 60 | Real seconds a prisoner serves per sentence unit. |
maxUnits | 120 | The longest sentence any committal may carry, in units. |
serveOffline | false | Wall-clock serving. false = time only runs while the prisoner is online. |
heartbeatSeconds | 60 | How often the builtin backend writes the remaining time of prisoners who are online, so a server crash loses at most this much served time. |
autoReleaseSeconds | 180 | A due release nobody processes happens on its own after this long, so a prisoner is never stuck because no officer is on. |
ServerConfig.Adjust - Adjustments (Remission And Misconduct)
| Key | Default | What it does |
|---|---|---|
maxRemissionUnits | 10 | most one grant of remission may remove |
maxRemissionFraction | 0.5 | most remission may remove in total, as a share of the original sentence |
maxMisconductUnits | 12 | most one misconduct charge may add |
maxAddedUnits | 52 | most misconduct may add to one sentence in total |
ServerConfig.Committal - Committals
| Key | Default | What it does |
|---|---|---|
autoReceiveSeconds | 60 | With no corrections officer on duty, a committal at the prison is received automatically after this long, so a prisoner is never held at the gate forever. |
autoTransferSeconds | 300 | A transfer waiting at a watch-house with no officer on duty is moved to the prison and received automatically after this long. |
transferWhenNoneOnDuty | true | A committal made while NO corrections officer is on duty skips both waits above: the prisoner is moved and received on the next pulse (within 5 s). Nobody is coming, and a prisoner left at a watch-house for minutes... |
commitDistance | 5.0 | How close a police officer must be to the prisoner to /commit them. |
expireHours | 24 | A pending committal older than this is dropped. |
ServerConfig.Distance - Distances (Server Checks, Deliberately Looser Than The Client Prompts)
| Key | Default | What it does |
|---|---|---|
point | 5.0 | officer to any interaction point |
person | 4.0 | officer to the person they act on |
prisonerToPoint | 8.0 | prisoner to reception or a pickup |
vanToPoint | 30.0 | van to the pickup or sally port |
door | 3.0 | how close to a door's hinge an officer must stand to lock or unlock it |
inCell | 4.0 | a prisoner this close to their own cell is present at a muster |
visitSeat | 2.5 | a visitor or prisoner leaving their booth ends the visit |
groundsMargin | 60.0 | how far outside the perimeter still counts as prison grounds for a search |
ServerConfig.Escape - Escapes
| Key | Default | What it does |
|---|---|---|
marginMetres | 15.0 | how far outside the fence before it counts |
graceSeconds | 20 | how long outside before the alarm |
checkSeconds | 5 | how often the watch looks |
penaltyUnits | 12 | time added on return to custody |
surrenderUnits | 4 | time added when the prisoner hands themselves in at reception |
transitLeash | 40.0 | a prisoner this far from the van mid-transfer has escaped |
jumpMetres | 600.0 | A prisoner who moves further than this between two watch checks was teleported (an admin, another script), not driven out: at the default 5-second check, 600m is 430 km/h, faster than any vehicle. They are put back... |
ServerConfig.Search - Searches And Contraband
| Key | Default | What it does |
|---|---|---|
contraband | { ... } | Items that are contraband inside. A pat-down or a strip search seizes every one the person carries. |
seizeCash | false | Seizing cash as contraband during a pat-down (not at reception, where it is stored as property instead). |
seedEveryMinutes | 20 | Hidden caches in the cell search points. The server seeds one now and then, and only while prisoners are in custody. |
seedChance | 0.6 | chance a seeding attempt places a cache |
maxCaches | 3 | most caches hidden at once |
cacheLoot | { ... } | What a cache holds. Seized, never handed to the officer. |
cellCooldownSeconds | 120 | one officer re-searching the same spot |
ServerConfig.MinSeconds - Timing Floors (The Server'S Own Minimum For Each Timed Action)
| Key | Default | What it does |
|---|---|---|
reception | 9 | Config.Reception.durationMs is 12000 |
person | 6 | Config.Search.personMs is 8000 |
cell | 8 | Config.Search.cellMs is 10000 |
muster | 12 | Config.Muster.countMs is 15000 |
load | 4 | Config.Transport.loadMs is 5000 |
equipment | 2 | Config.Equipment.durationMs is 3000 |
work | 12 | the shortest Config.Work job is 15000 |
ServerConfig.Cooldowns - Cooldowns (Per Player, Milliseconds)
| Key | Default | What it does |
|---|---|---|
duty | 3000 | clocking on/off |
door | 600 | locking or unlocking a door |
life | 2000 | a canteen purchase or a meal tray |
action | 1500 | start of any timed action |
finish | 1000 | finish of any timed action |
tablet | 750 | tablet reads |
write | 1500 | tablet writes (notes, adjustments) |
visit | 30000 | a visitor asking for a visit |
van | 10000 | drawing a van |
commit | 5000 | a police /commit |
lawyer | 300000 | a prisoner asking for counsel |
call | 5000 | the one phone call |
ServerConfig.Equipment - Equipment
| Key | Default | What it does |
|---|---|---|
loadouts | { ... } | What each grade draws from the armoury. The highest entry at or below an officer's grade is used. |
ServerConfig.Pay - Pay
| Key | Default | What it does |
|---|---|---|
fromSociety | nil | Where bonuses come from. nil = credited to the officer (a faucet). A society name = paid from that account, and REFUSED when it is empty. |
account | 'bank' | where the officer is paid |
bonuses | { ... } | Per event, in whole currency units. |
hourlyCap | 12000 | The most bonus one officer can earn in a rolling hour. |
minUnitsForBonus | 4 | Sentences shorter than this pay no reception, transfer or release bonus. Stops two friends cycling a one-week sentence for pay. |
samePersonSeconds | 3600 | One officer is paid for the same prisoner (or the same person searched) once in this long, per kind of bonus. |
ServerConfig.Life - Prison Life (Config.Features.Prisonlife)
| Key | Default | What it does |
|---|---|---|
wages | { kitchen = 8, laundry = 8, workshop ... | Cash paid for each finished shift, by Config.Work.jobs id, and the most a prisoner earns in an hour. It is what the canteen takes. |
maxWagePerHour | 120 | integer, cash |
canteen | { ... } | What the canteen sells. item must exist in your inventory; the start-up log names any that do not. |
meal | { { item = 'burger', count = 1 }, { i... | The free meal tray, and how long before the same prisoner gets another. |
mealCooldownMinutes | 10 | integer, minutes |
ServerConfig.Doors - Doors
| Key | Default | What it does |
|---|---|---|
relockSeconds | 20 | A door that is normally locked (a gate, a staff door) locks itself again this long after an officer opens it. |
oxDelayMs | 5000 | How long to wait after ox_doorlock starts before creating and syncing the doors there (it loads its own doors from the database first). |
ServerConfig.Work - Prison Work (Builtin Backend)
| Key | Default | What it does |
|---|---|---|
remission | { kitchen = 45, laundry = 45, worksho... | Seconds of sentence remitted per completed job, by Config.Work.jobs id. |
maxRemissionPerHour | 600 | most work remission per prisoner per hour |
pointCooldownSeconds | 90 | the same prisoner at the same work point |
ServerConfig.Visits - Visits
| Key | Default | What it does |
|---|---|---|
requestExpireSeconds | 300 | an unanswered visit request lapses |
maxQueue | 12 | most requests waiting at once |
deskRadius | 15.0 | desk-only routing: an on-duty officer (visits permission) this close to the visitor kiosk is "on the visitor desk" and is the only one told of a new request. Nobody that close: every on-duty officer is told, and the... |
waitMinutesPerVisit | 3 | officers who sign on to the visitor desk on the tablet are told first; deskRadius above is the fallback when nobody has signed on. The kiosk tells a visitor their place in the queue and an expected wait of place x... |
ServerConfig.Lockdown - Lockdown
| Key | Default | What it does |
|---|---|---|
maxMinutes | 60 | a lockdown lifts itself after this long |
ServerConfig.Pulse - Pulse
| Key | Default | What it does |
|---|---|---|
intervalMs | 1000 | the loop's tick |
ServerConfig.Webhooks - Logging
| Key | Default | What it does |
|---|---|---|
default | '' | anything without its own channel |
custody | '' | admissions, releases, remission, misconduct, escapes, lockdowns, seizures, transfers |
activity | '' | every other incident: searches, visits, notes, flags, equipment, duty |
admin | '' | the point editor and /corrections release |
security | '' | CC.security flags: bad arguments, distance failures |
economy | '' | every item or money grant: bonuses, wages, canteen, property, equipment |
ServerConfig.Doj - Doj
| Key | Default | What it does |
|---|---|---|
remandUnits | 30 | what a /remand holds someone for until the court sentences them |
creditTimeServed | true | a court's sentence counts the time already served on remand |
minimumSeconds | 60 | least time left after a court sentence with credit |
bailReleasesSentenced | false | bail also frees a prisoner who is already sentenced |
bondPostedStatus | 'posted' | cc_doj's bond status that means bail is paid |
goodBehaviour | { ... } | automatic time off |
ServerConfig.Api - Jail Api (Docs/Exports.Md)
| Key | Default | What it does |
|---|---|---|
trustedSystems | { ... } | Resources allowed to act through the jail exports as { system = '', name = '...' }. The name must equal the calling resource (GetInvokingResource), so one resource cannot pose as another. |
shimCallers | { ... } | The older exports that jail or free someone (commit, remand, release) take no actor, so they are gated on the calling resource alone: one on trustedSystems above, or one listed here. compat/DHS-PrisonSim (the... |