[{"data":1,"prerenderedAt":501},["ShallowReactive",2],{"/docs/jobs/dojjob/setup/configuration":3,"/docs/jobs/dojjob/setup/configuration-surround":491,"/docs/jobs/dojjob/setup/configuration-implemented-suggestions":500},{"id":4,"title":5,"body":6,"description":481,"extension":482,"head":483,"implementedSuggestions":483,"meta":484,"navigation":485,"path":486,"schemaOrg":483,"seo":487,"sitemap":488,"stem":489,"__hash__":490},"docs/1.docs/0.jobs/5.dojjob/2.setup/2.configuration.md","Configuration",{"type":7,"value":8,"toc":470},"minimark",[9,14,26,29,122,129,133,144,154,158,165,193,210,226,230,237,400,403,416,420,431,435,457],[10,11,13],"h2",{"id":12},"job-configurator-and-open-files","Job Configurator and open files",[15,16,17,21,22,25],"p",{},[18,19,20],"code",{},"Config.UseJobConfigurator = true"," enables the shared Job Configurator integration. Use ",[18,23,24],{},"/jobconfig"," for registered jobs, interactions, settings and feature toggles. Saved configurator values take precedence over the shipped defaults.",[15,27,28],{},"The open files remain useful for installation defaults and settings that are not exposed in a form:",[30,31,32,48],"table",{},[33,34,35],"thead",{},[36,37,38,45],"tr",{},[39,40,41,42],"th",{},"Location inside ",[18,43,44],{},"sky_dojjob",[39,46,47],{},"Purpose",[49,50,51,62,72,82,92,102,112],"tbody",{},[36,52,53,59],{},[54,55,56],"td",{},[18,57,58],{},"config/config.lua",[54,60,61],{},"Jobs, access settings, feature defaults and module configuration",[36,63,64,69],{},[54,65,66],{},[18,67,68],{},"config/registry.lua",[54,70,71],{},"License-register selection, registry access overrides and legacy catalog",[36,73,74,79],{},[54,75,76],{},[18,77,78],{},"config/registry/",[54,80,81],{},"Per-register fields, certificate assignment and separate client/server hooks",[36,83,84,89],{},[54,85,86],{},[18,87,88],{},"config/locales/",[54,90,91],{},"User-facing resource translations",[36,93,94,99],{},[54,95,96],{},[18,97,98],{},"config/style.css",[54,100,101],{},"Exposed resource styling",[36,103,104,109],{},[54,105,106],{},[18,107,108],{},"config/img/",[54,110,111],{},"Resource image assets",[36,113,114,119],{},[54,115,116],{},[18,117,118],{},"import.sql",[54,120,121],{},"Manual database installation and upgrade statements",[15,123,124,125,128],{},"Changing a fallback value does not erase a saved configurator override. To intentionally import the local resource configuration into the live configurator, use ",[18,126,127],{},"/jobconfigimport sky_dojjob",". Review your saved job settings before importing.",[10,130,132],{"id":131},"jobs-and-duty","Jobs and duty",[15,134,135,136,139,140,143],{},"The shipped job is named ",[18,137,138],{},"doj"," and uses ",[18,141,142],{},"society_doj",". Configure the actual job, grades and society account used by your framework. Job entries also hold storage, lockers, shop items, vehicles and printers.",[15,145,146,149,150,153],{},[18,147,148],{},"Config.Tablet.requireDuty"," defaults to ",[18,151,152],{},"true",". DOJ tablet access therefore requires an on-duty player. The optional off-duty job is disabled in the default job entry. Job names and duty behavior must agree with your shared Jobs Base setup.",[10,155,157],{"id":156},"case-file-access","Case-file access",[15,159,160,161,164],{},"In ",[162,163,157],"strong",{},", configure:",[166,167,168,175,181,187],"ul",{},[169,170,171,174],"li",{},[162,172,173],{},"Mapping version",": a non-empty identifier for the current role mapping.",[169,176,177,180],{},[162,178,179],{},"Prosecution grade keys",": technical grade names that act as prosecution.",[169,182,183,186],{},[162,184,185],{},"Judiciary grade keys",": technical grade names that act as judiciary.",[169,188,189,192],{},[162,190,191],{},"Court administration grade keys",": technical grade names for administrative staff.",[15,194,195,196,199,200,203,204,209],{},"The corresponding file settings are ",[18,197,198],{},"Config.RecordsAuthorization.mappingVersion"," and ",[18,201,202],{},"Config.RecordsAuthorization.gradeBindings",". Publish a new mapping version when bindings change. Never map one grade to two domains. See ",[205,206,208],"a",{"href":207},"/docs/jobs/dojjob/setup/permissions","Permissions"," for examples and the additional action permissions.",[15,211,212,149,215,218,219,199,222,225],{},[18,213,214],{},"Config.CourtWarrants.templateCodes",[18,216,217],{},"HB",", ",[18,220,221],{},"DB",[18,223,224],{},"RB",". These identify the signed and shared warrant templates used by the Police integration. Align this list with your actual templates if you change their codes.",[10,227,229],{"id":228},"modules","Modules",[15,231,232,233,236],{},"The following keys live in ",[18,234,235],{},"Config.ToggleFeatures",":",[30,238,239,252],{},[33,240,241],{},[36,242,243,246,249],{},[39,244,245],{},"Key",[39,247,248],{},"Shipped default",[39,250,251],{},"Controls",[49,253,254,267,279,291,303,315,327,339,351,363,375,387],{},[36,255,256,261,264],{},[54,257,258],{},[18,259,260],{},"tablet",[54,262,263],{},"Enabled",[54,265,266],{},"DOJ records and tablet integration",[36,268,269,274,276],{},[54,270,271],{},[18,272,273],{},"legalCodes",[54,275,263],{},[54,277,278],{},"Legal Codes and law-book workflows",[36,280,281,286,288],{},[54,282,283],{},[18,284,285],{},"offences",[54,287,263],{},[54,289,290],{},"Fine Catalogue",[36,292,293,298,300],{},[54,294,295],{},[18,296,297],{},"hearings",[54,299,263],{},[54,301,302],{},"Hearing management",[36,304,305,310,312],{},[54,306,307],{},[18,308,309],{},"courtroom",[54,311,263],{},[54,313,314],{},"Configured courtroom workflows",[36,316,317,322,324],{},[54,318,319],{},[18,320,321],{},"conditions",[54,323,263],{},[54,325,326],{},"Structured court conditions",[36,328,329,334,336],{},[54,330,331],{},[18,332,333],{},"publicDisplays",[54,335,263],{},[54,337,338],{},"Public display integration",[36,340,341,346,348],{},[54,342,343],{},[18,344,345],{},"elections",[54,347,263],{},[54,349,350],{},"Elections",[36,352,353,358,360],{},[54,354,355],{},[18,356,357],{},"printers",[54,359,263],{},[54,361,362],{},"Physical document printing",[36,364,365,370,372],{},[54,366,367],{},[18,368,369],{},"civilRegistries",[54,371,263],{},[54,373,374],{},"File-based registers and configured legacy registry workflows",[36,376,377,382,384],{},[54,378,379],{},[18,380,381],{},"finance",[54,383,263],{},[54,385,386],{},"Faction accounts and financial administration",[36,388,389,394,397],{},[54,390,391],{},[18,392,393],{},"taxes",[54,395,396],{},"Disabled",[54,398,399],{},"Optional asset-tax collection",[15,401,402],{},"Changing a shipped default does not disable a module that already has a saved enabled override. Review the live setting when upgrading an existing server.",[15,404,405,406,410,411,415],{},"Disabling registries hides those workflows without deleting their records or disabling Citizens, Vehicles or the criminal-justice workspace. Configure separate license folders and register access through ",[205,407,409],{"href":408},"/docs/jobs/dojjob/features/registries","Registries and certificates",". Configure treasury accounts, bank fines and provider-dependent actions through ",[205,412,414],{"href":413},"/docs/jobs/dojjob/features/finance","Finance",".",[10,417,419],{"id":418},"courthouse-locations-and-interactions","Courthouse locations and interactions",[15,421,422,423,426,427,430],{},"Create the courthouse and its interactions through the existing creator tools. ",[18,424,425],{},"Config.CourthouseCreator.stationBlip"," controls the courthouse map blip. ",[18,428,429],{},"Config.Interactions"," contains the shipped appearance profiles; location and behavior belong to the corresponding creator entries. Appearance settings alone do not place a courthouse, courtroom or printer. Fresh defaults have no configured courtrooms or job-printer positions.",[10,432,434],{"id":433},"printers-and-supplies","Printers and supplies",[15,436,437,438,440,441,444,445,448,449,452,453,456],{},"Each job's ",[18,439,357],{}," list starts empty. Configure a physical printer and its position before using ",[162,442,443],{},"Print",". The default DOJ ",[18,446,447],{},"printerSettings"," has paper consumption disabled, a capacity of 100, refill item ",[18,450,451],{},"printer_paper"," and refill amount 25. Shared queue and ink defaults come from ",[18,454,455],{},"sky_jobs_base/config/printers.lua","; per-job overrides are available where configured.",[15,458,459,460,464,465,469],{},"See ",[205,461,463],{"href":462},"/docs/jobs/dojjob/features/sharing-printing","Sharing and printing"," for the complete collection workflow and ",[205,466,468],{"href":467},"/docs/jobs/dojjob/reference/inventory","Inventory items"," for supplies.",{"title":471,"searchDepth":472,"depth":473,"links":474},"",1,2,[475,476,477,478,479,480],{"id":12,"depth":473,"text":13},{"id":131,"depth":473,"text":132},{"id":156,"depth":473,"text":157},{"id":228,"depth":473,"text":229},{"id":418,"depth":473,"text":419},{"id":433,"depth":473,"text":434},"Configure DOJ jobs, feature toggles, records access and printers.","md",null,{},true,"/docs/jobs/dojjob/setup/configuration",{"title":5,"description":481},{"loc":486},"1.docs/0.jobs/5.dojjob/2.setup/2.configuration","Vi45wYCK2HdG_hVRs_F09NQpHmd2qbyMh-4_TygFuNk",[492,497],{"title":493,"path":494,"stem":495,"description":496,"children":-1},"Installation","/docs/jobs/dojjob/setup/installation","1.docs/0.jobs/5.dojjob/2.setup/1.installation","Install DOJ Job, prepare its database and items, then configure the first authorized DOJ user.",{"title":208,"path":207,"stem":498,"description":499,"children":-1},"1.docs/0.jobs/5.dojjob/2.setup/3.permissions","Set up administrator commands, DOJ role mappings and the permissions required for records and signatures.",[],1790629507905]