[{"data":1,"prerenderedAt":649},["ShallowReactive",2],{"/docs/jobs/policejob/setup/configuration":3,"/docs/jobs/policejob/setup/configuration-surround":638,"/docs/jobs/policejob/setup/configuration-implemented-suggestions":648},{"id":4,"title":5,"body":6,"description":628,"extension":629,"head":630,"implementedSuggestions":630,"meta":631,"navigation":632,"path":633,"schemaOrg":630,"seo":634,"sitemap":635,"stem":636,"__hash__":637},"docs/1.docs/0.jobs/1.policejob/2.setup/2.configuration.md","Configuration",{"type":7,"value":8,"toc":612},"minimark",[9,14,18,60,71,85,89,112,197,206,210,273,277,283,323,326,330,333,431,434,438,460,468,472,492,496,540,544,548,557,561,575,579,582,586,608],[10,11,13],"h2",{"id":12},"configuration-sources","Configuration sources",[15,16,17],"p",{},"Sky Police Job uses two configuration layers:",[19,20,21,34],"table",{},[22,23,24],"thead",{},[25,26,27,31],"tr",{},[28,29,30],"th",{},"Layer",[28,32,33],{},"Purpose",[35,36,37,49],"tbody",{},[25,38,39,46],{},[40,41,42],"td",{},[43,44,45],"code",{},"/jobconfig",[40,47,48],{},"Job definitions and frequently changed settings stored through Sky Jobs Base",[25,50,51,57],{},[40,52,53,54],{},"Open files in ",[43,55,56],{},"sky_policejob/config",[40,58,59],{},"Defaults, fallback job data, locales, and inventory assets",[15,61,62,63,66,67,70],{},"When ",[43,64,65],{},"Config.UseJobConfigurator"," is enabled (the default), saved Job Configurator values take priority over matching fallback values in ",[43,68,69],{},"config.lua",". Editing a fallback value alone may therefore have no visible effect on an already configured server.",[15,72,73,74,77,78,81,82,84],{},"Configurator data is stored in the database through Sky Jobs Base (",[43,75,76],{},"sky_jobs_configurator_jobs",", ",[43,79,80],{},"sky_jobs_configurator_settings","), not in ",[43,83,69],{},".",[10,86,88],{"id":87},"opening-the-job-configurator","Opening the Job Configurator",[15,90,91,92,94,95,99,100,103,104,107,108,111],{},"Run ",[43,93,45],{}," in-game and select ",[96,97,98],"strong",{},"Police Jobs"," in the selector. The command is player-only and requires the ",[43,101,102],{},"sky_jobs_base.jobconfig"," ACE permission, granted through ",[43,105,106],{},"Config.CommandPermissions"," in ",[43,109,110],{},"sky_jobs_base/config/config.lua",":",[113,114,119],"pre",{"className":115,"code":116,"filename":110,"language":117,"meta":118,"style":118},"language-lua shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Config.CommandPermissions = {\n    jobconfig = { \"god\", \"superadmin\", \"admin\" },\n    -- ...\n}\n","lua","",[43,120,121,141,184,191],{"__ignoreMap":118},[122,123,126,130,134,138],"span",{"class":124,"line":125},"line",1,[122,127,129],{"class":128},"sTEyZ","Config.",[122,131,133],{"class":132},"sBMFI","CommandPermissions",[122,135,137],{"class":136},"sMK4o"," =",[122,139,140],{"class":128}," {\n",[122,142,144,147,150,153,156,160,162,164,166,169,171,173,175,178,181],{"class":124,"line":143},2,[122,145,146],{"class":128},"    jobconfig ",[122,148,149],{"class":136},"=",[122,151,152],{"class":128}," { ",[122,154,155],{"class":136},"\"",[122,157,159],{"class":158},"sfazB","god",[122,161,155],{"class":136},[122,163,77],{"class":128},[122,165,155],{"class":136},[122,167,168],{"class":158},"superadmin",[122,170,155],{"class":136},[122,172,77],{"class":128},[122,174,155],{"class":136},[122,176,177],{"class":158},"admin",[122,179,180],{"class":136},"\" ",[122,182,183],{"class":128},"},\n",[122,185,187],{"class":124,"line":186},3,[122,188,190],{"class":189},"sHwdD","    -- ...\n",[122,192,194],{"class":124,"line":193},4,[122,195,196],{"class":128},"}\n",[15,198,199,200,205],{},"See the ",[201,202,204],"a",{"href":203},"./permissions","Permissions"," page for the group bootstrap per framework.",[10,207,209],{"id":208},"creating-a-police-job","Creating a police job",[211,212,213,218,227,234,238,241,245,248,252,255,259,262,266],"steps",{},[214,215,217],"h3",{"id":216},"add-the-job","Add the job",[15,219,220,221,223,224,226],{},"Open ",[43,222,45],{},", select ",[96,225,98],{},", and add a new job. Enter the job name, pick the job color, and optionally enable an off-duty job.",[15,228,229,230,233],{},"The job name ",[96,231,232],{},"must already exist in your framework with the intended grades"," — the configurator stores job data, it does not create framework jobs.",[214,235,237],{"id":236},"configure-shop-props-and-vehicles","Configure shop, props, and vehicles",[15,239,240],{},"Fill the job shop catalog (item, label, price, minimum grade), configure job props, and add garage vehicles (model, price, trunk capacity, garage type, minimum grade, fuel type, livery, colors, and extras).",[214,242,244],{"id":243},"set-storage-and-society","Set storage and society",[15,246,247],{},"Configure the job storage sizes (police storage may contain weapons) and the society account used by billing and boss workflows.",[214,249,251],{"id":250},"enable-systems-and-settings","Enable systems and settings",[15,253,254],{},"Switch to the feature toggles and settings sections and configure dispatch, restraints, evidence, jail, and the other systems (see below).",[214,256,258],{"id":257},"save","Save",[15,260,261],{},"Save the configuration. Changes apply live — no resource restart is needed.",[214,263,265],{"id":264},"grant-boss-permissions","Grant boss permissions",[15,267,268,269,272],{},"After creating a new job, run ",[43,270,271],{},"/setboss \u003Cjob> \u003CtopGrade>"," once so the highest grade receives every boss permission.",[10,274,276],{"id":275},"feature-toggles","Feature toggles",[15,278,279,280,282],{},"The ",[96,281,98],{}," section exposes these system toggles:",[284,285,286,290,293,296,299,302,305,308,311,314,317,320],"ul",{},[287,288,289],"li",{},"Police Tablet",[287,291,292],{},"Billing",[287,294,295],{},"Prop Placement",[287,297,298],{},"Radial Actions",[287,300,301],{},"Restraints",[287,303,304],{},"Tracking (GPS trackers and ankle monitors)",[287,306,307],{},"Evidence",[287,309,310],{},"Jail",[287,312,313],{},"Social Work",[287,315,316],{},"Impound",[287,318,319],{},"CCTV and Speed Cameras",[287,321,322],{},"Vehicle Radar",[15,324,325],{},"Disabling a feature does not remove its old database data. This allows a feature to be enabled again without losing saved records.",[10,327,329],{"id":328},"settings-sections","Settings sections",[15,331,332],{},"Frequently changed settings are grouped into configurator sections, including:",[19,334,335,345],{},[22,336,337],{},[25,338,339,342],{},[28,340,341],{},"Section",[28,343,344],{},"What it controls",[35,346,347,355,363,371,378,385,393,401,408,415,423],{},[25,348,349,352],{},[40,350,351],{},"General",[40,353,354],{},"Primary color and shared UI behavior",[25,356,357,360],{},[40,358,359],{},"Stations / Jail / Impound / Social Work",[40,361,362],{},"Behavior of the creator-backed locations, sentences, and pricing",[25,364,365,368],{},[40,366,367],{},"Dispatch",[40,369,370],{},"Dispatch notifications and behavior",[25,372,373,375],{},[40,374,301],{},[40,376,377],{},"Cuffs, zipties, leg cuffs, head bags, and escort behavior",[25,379,380,382],{},[40,381,307],{},[40,383,384],{},"Field kits, storage, and laboratory behavior",[25,386,387,390],{},[40,388,389],{},"Devices / Speed Camera App",[40,391,392],{},"CCTV cameras, speed cameras, and the tablet speed camera app",[25,394,395,398],{},[40,396,397],{},"Tracking",[40,399,400],{},"GPS tracker and ankle monitor behavior",[25,402,403,405],{},[40,404,322],{},[40,406,407],{},"Patrol vehicle radar behavior",[25,409,410,412],{},[40,411,292],{},[40,413,414],{},"Billing prices and offence handling",[25,416,417,420],{},[40,418,419],{},"Equipment / Spike Strips / Radial Actions",[40,421,422],{},"Deployables and radial menu actions",[25,424,425,428],{},[40,426,427],{},"Tablet Apps",[40,429,430],{},"Which tablet applications are available",[15,432,433],{},"Interactions (markers, blips, NPCs, and animations of the placed points) are edited in the configurator as well.",[10,435,437],{"id":436},"stations-jails-social-work-and-impounds","Stations, jails, social work, and impounds",[15,439,440,441,443,444,77,447,77,450,77,453,456,457,459],{},"Stations, jails, social work zones, and impound lots are creator-backed sections inside the configurator: entries are created, placed in the world, and edited from ",[43,442,45],{},". The standalone commands (",[43,445,446],{},"/stationcreator",[43,448,449],{},"/jailcreator",[43,451,452],{},"/socialworkcreator",[43,454,455],{},"/impoundcreator",") are only available when ",[43,458,65],{}," is disabled.",[15,461,462,463,467],{},"See ",[201,464,466],{"href":465},"./station-setup","Station Setup"," for the placement workflow.",[10,469,471],{"id":470},"recommended-workflow","Recommended workflow",[473,474,475,480,483,486,489],"ol",{},[287,476,477,478,84],{},"Enable or disable the main systems in ",[43,479,45],{},[287,481,482],{},"Configure police jobs, shops, vehicles, dispatch, restraints, evidence, jail, and impound settings.",[287,484,485],{},"Save the configuration and test it without restarting the resource.",[287,487,488],{},"Use the open configuration files only for settings that are not exposed in the configurator.",[287,490,491],{},"Keep a backup of customized configuration files before every resource update.",[10,493,495],{"id":494},"open-configuration-files","Open configuration files",[19,497,498,508],{},[22,499,500],{},[25,501,502,505],{},[28,503,504],{},"File",[28,506,507],{},"Use",[35,509,510,520,530],{},[25,511,512,517],{},[40,513,514],{},[43,515,516],{},"config/config.lua",[40,518,519],{},"Feature defaults, fallback jobs, command permissions, and interactions",[25,521,522,527],{},[40,523,524],{},[43,525,526],{},"config/locales/*.lua",[40,528,529],{},"Translations and interface text",[25,531,532,537],{},[40,533,534],{},[43,535,536],{},"config/inventory",[40,538,539],{},"Included police item images",[10,541,543],{"id":542},"settings-that-need-extra-care","Settings that need extra care",[214,545,547],{"id":546},"job-configurator-police-jobs","Job Configurator police jobs",[15,549,550,551,553,554,556],{},"Police jobs created only through ",[43,552,45],{}," receive the same tablet applications as jobs defined in ",[43,555,69],{},". After adding or changing a job, save the Job Configurator entry and ensure the player has the correct job and duty state before checking the tablet.",[214,558,560],{"id":559},"command-permissions","Command permissions",[15,562,563,564,566,567,570,571,574],{},"Changes to ",[43,565,106],{}," (in ",[43,568,569],{},"sky_jobs_base"," or ",[43,572,573],{},"sky_policejob",") require a resource restart, and players may need to reconnect.",[214,576,578],{"id":577},"evidence-metadata","Evidence metadata",[15,580,581],{},"Evidence samples require a metadata-capable inventory. Without item metadata, collected evidence items lose their sample data — this is an inventory requirement, not a configurator setting.",[10,583,585],{"id":584},"related-pages","Related pages",[284,587,588,592,596,602],{},[287,589,590],{},[201,591,466],{"href":465},[287,593,594],{},[201,595,204],{"href":203},[287,597,598],{},[201,599,601],{"href":600},"../reference/commands","Commands",[287,603,604],{},[201,605,607],{"href":606},"../api/server-exports","Server Exports",[609,610,611],"style",{},"html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":118,"searchDepth":125,"depth":143,"links":613},[614,615,616,617,618,619,620,621,622,627],{"id":12,"depth":143,"text":13},{"id":87,"depth":143,"text":88},{"id":208,"depth":143,"text":209},{"id":275,"depth":143,"text":276},{"id":328,"depth":143,"text":329},{"id":436,"depth":143,"text":437},{"id":470,"depth":143,"text":471},{"id":494,"depth":143,"text":495},{"id":542,"depth":143,"text":543,"children":623},[624,625,626],{"id":546,"depth":186,"text":547},{"id":559,"depth":186,"text":560},{"id":577,"depth":186,"text":578},{"id":584,"depth":143,"text":585},"Understand the Job Configurator, how to create a police job, feature toggles, and the safe configuration workflow.","md",null,{},true,"/docs/jobs/policejob/setup/configuration",{"title":5,"description":628},{"loc":633},"1.docs/0.jobs/1.policejob/2.setup/2.configuration","Km--gSKlUkPkiTZOlHG0Cthqw3P-pypXbvSTjGhXTCc",[639,644],{"title":640,"path":641,"stem":642,"description":643,"children":-1},"Installation","/docs/jobs/policejob/setup/installation","1.docs/0.jobs/1.policejob/2.setup/1.installation","Install Sky Police Job, prepare its dependencies and database, and complete the first server setup.",{"title":466,"path":645,"stem":646,"description":647,"children":-1},"/docs/jobs/policejob/setup/station-setup","1.docs/0.jobs/1.policejob/2.setup/3.station-setup","Place stations, jails, social work zones, and impound lots through the Job Configurator.",[],1783080560018]