Sentencing & intake ​
Sentences ​
A sentence is a whole number of roleplay months. One month lasts Config.MonthSeconds (30) seconds of online
time: the server adds served time only to inmates who are on the server right now, so logging out pauses the sentence.
Every screen shows months first and real time second ("92 months · 46 min").
Each character has one inmate record that stays after release: the inmate number (six digits, given at the first booking and kept for good), the behaviour score (0–100, starts at 50 and carries over), the inmate account and the record of everything that happened. The inmate number is the only id players see: on the HUD, the intake card, the console, the Corrections app and the release paper.
A new inmate gets a facility (named, or picked by length from Config.Facilities), a free cell of a fitting security
level (Config.Security.byMonths: minimum, medium from 60 months, maximum from 240) and is placed there. On a relog
the inmate is put back in the cell. When the time is up the inmate is released at the facility's release point, or
escorted to the release desk first.
The sentencing screen ​

Police, guards and admins open it:
- with the target option Book into custody on a player who is cuffed or within
Config.Booking.close(1.5 m); - with
/jailwithout arguments (the nearest player); - from another resource: the client export
OpenSentencing(target?), or the client eventsnp_prison:jailDialogandpickle_prisons:jailDialog.
The officer searches the penal code (Config.PenalCode, 24 charges from jaywalking to murder), adds counts, toggles
modifiers and picks the facility, the security level and three switches: seal belongings in a property bag,
parole eligible after half the sentence, and transport by prison bus. The left column shows the suspect's
inmate number, prior sentences, time served, flags (escape risk, gang, on parole, open warrant, a running alternative) and lines other resources add (an MDT
case, fingerprints). The total updates as charges change:
months = sum(charge months × count) × each modifier in order 85 months +20 % −10 % = 92
| Modifier | Effect |
|---|---|
| Repeat offender | +20 %. Starts on when the suspect has prior sentences (repeatOnPriors) |
| Cooperative | −10 % |
| Plea deal | −25 % |
| Lawyer present | 0 % (noted on the sheet) |
| Send to judge | The sheet goes to the judges instead of the suspect |
Save as draft keeps the sheet for draftHours (24); it is offered again next time. Present charge sheet
opens it on the suspect's screen. Nothing applies until the suspect answers.
Short sentences (up to Config.Alternatives.maxMonths, 30) may get an alternative instead of
prison: community service, an ankle monitor or bail. A sheet with 0 months is a citation: only the fine.
The charge sheet ​
| The sheet | With an alternative |
|---|---|
![]() |
![]() |
The suspect sees every charge, the sentence in months and real time, the fine and three answers:
| Answer | Effect |
|---|---|
| Accept | The fine is charged and the sentence (or the alternative) starts now |
| Request a lawyer | Nothing applies; lawyers on duty are told and the draft stays for the next try |
| Demand a trial | Nothing applies; judges on duty are told |
No answer within chargeSheet.timeout (60 s) counts as accepting (autoAccept = false: the sheet lapses and the
officer is told). The server checks on every step that the suspect is loaded, not jailed, not the officer, and within
Config.Booking.distance (5 m).
Fines. With np_payments the fine becomes an invoice the suspect pays later from the phone or a
terminal (payee: the police society, Config.IntegrationOptions.np_payments). Without it, the fine is taken from bank,
then cash (Config.Booking.fine); what cannot be paid is recorded as owed. Every fine fires the
fineCharged hook.
Intake ​

Bookings from the sentencing screen arrive at the facility's intake point and go through five steps:
- Transport. With the bus ticked and at least
bus.minMonths(10) months, a short ride to the gate (fade, drive, fade). Skipped where no bus route is configured. - Mugshot at the intake point.
- Property. The pat-down: every item has a small chance to slip through and stay in the pockets
(
Config.Intake.patDown: 2 %, 12 % for small items such as a lockpick, cigarettes or a stamp; weapons, money and phones are always found; at most 2 items). This is how the first contraband gets inside. - Jumpsuit. The own outfit is saved and handed back at release.
- Cell. The inmate is placed in the cell and gets the inmate ID card (
prison_idcard) when the item exists.
The booking card explains the stay: name and number, facility, months and real time, when parole opens, the cell, block, beds and cellmate, the security level, and the property bag line by line (sealed, seized, kept, or moved to the account). Holding E on the card puts the jumpsuit on and sends the inmate to the cell.
Config.Intake.forAll = true runs intake for every booking (/jail, exports, compatibility events). Otherwise those
arrive straight in the cell and only get the jumpsuit. A disconnect mid-intake resumes at the jumpsuit.
Outfit. With np_character the look is saved with getAppearance and restored with
setAppearance (per character, survives a relog). Without it, np_prison keeps the ped components and reloads the
framework skin at release (illenium-appearance, qb-clothing, esx_skin / skinchanger). With
np_tattoos, the ink is applied again after each change of clothes.
The property bag ​
Everything the inmate carries is sealed at booking and handed back at release:
- np_inventory / ox_inventory: their own confiscation (
ConfiscateInventory/ReturnInventory): pockets and worn bags go intostash:confiscated:<owner>. Items inConfig.Property.keepstep aside first. - qb-inventory / ESX: a list in
prison_property: the items are removed and added back at release.
Contraband (Config.Property.seize, seizeCategories, or items with contraband = true; with np_drugs its illegal
products) is seized for good and fired as np_prison:seized. Cash goes to the inmate account up to
Config.Account.cap (2,500); the rest stays with the bag. Escapees do not get the bag back.
Release desk ​
At the facilities in Config.Release.desk (Bolingbroke), an inmate whose time is up is held and escorted to the release
desk. There they collect the property bag, the account (paid out as cash), the own clothes and the release paper
(prison_release_paper: name, number, facility, months, status, date). Holding cells and lockups release at once.
After autoSeconds (300) the release runs anyway, and the hold survives a restart.
Served sentences and parole hand out the release paper; releases by staff do not. Commissary goods, collectables and
contraband are taken at release (Config.Commissary.stripOnRelease). The phone is unsealed, and the inmate gets the
list of missed callers.
Changing a sentence ​
Staff change the time from the console, the np_admin staff tools, or the exports AddTime /
ReduceTime. Jobs, classes and sleeping take months off; contraband, a burner, a breakout attempt during an outside
shift and parole violations add months. Every change names its amount and reason in a toast and lands in the record.
ReduceTime never goes below the months already served; zero left releases the inmate.

