Skip to content

Console & guards ​

Guards are the corrections officers of Config.Jobs.guard (doc, corrections; on duty where the framework knows duty), Discord roles in Config.GuardDiscordRoles with np_discord, and admins. See Installation → Permissions.

The corrections console ​

Console

Opened at a control-room computer (Config.Console.computers, two at Bolingbroke, one each at Mission Row and Paleto) or with /prisonconsole. Tabs: Roster, Visits, Mail, Parole, Log.

  • Numbers: population and capacity, officers on duty, the next count and how many were missing at the last one, the alert level.
  • Cell map of a block: occupied, flagged, solitary, empty.
  • Roster: every inmate with number, cell, what they do right now (kitchen shift, yard, visit booth, solitary, missing at count), behaviour and months left. Search by name, number or cell; filter online, all or flagged.
  • Inmate card: search the cell, pat down, add time, reduce time (a reason is required; at most Config.Console.maxTimeChange, 120 months, per step), solitary and end solitary, move to another cell, open the property bag, release, flag. Below: intel (scraping noise from an uncovered hole, earlier breakouts, letters waiting for review) and the inmate's record, where every action is logged.
  • Facility controls: call a count now, shake down a block (or the yard), open or close the yard, allow or stop visits, and lockdown (hold L): seals every door, sounds the siren and pages police.
  • Mail tab: the review queue (see Mail). Parole tab: the hearings (see Parole).

Mail review

Solitary ​

Each facility's cell with security solitary (S1 at Bolingbroke). Guards send an inmate there from the console for Config.Console.solitary.minutes (10, at most 60 real minutes); contraband found on an inmate sends them for 5 minutes. The end timer survives a restart; the inmate goes back to the own cell afterwards. No caller may ask for more than Config.Solitary.maxMinutes (120).

In the world ​

Besides the console, guards have target options on inmates and cells:

Option Where What
Book into custody a cuffed or very close player The sentencing screen (police too)
Pat down an inmate Contraband found adds months, solitary and costs behaviour
Search cell a cell door Hidden contraband is lost; tunnel traces, dirt and dummies are found
Accept / decline a bribe when an inmate offers one See Bribes

While a breakout is suspected, guards on duty get a hint and a search prompt. At siren and manhunt they get the dispatch call and the GPS pings like police.

NPC guards ​

When no player guard is on duty at a facility, NPC officers take over, so the prison works with an empty roster:

  • they stand at their posts (Config.NpcGuards.posts: yard, blocks A and B, intake and visiting at Bolingbroke) and watch like guards do (guard sight);
  • they call a count every 15 minutes and run a shakedown every 30 minutes with a 50 % chance, flagged blocks first.

They are np_npchandler NPCs, enabled while on duty. They leave as soon as a player guard clocks in. GlobalState.npPrisonNpcGuards[facility] is true while they are on duty. Breakouts still need the minimum number of police on duty. Parole hearings with no guard or judge on duty are decided by the NPC parole board.