[{"data":1,"prerenderedAt":644},["ShallowReactive",2],{"/docs/jobs/ambulancejob/setup/configuration":3,"/docs/jobs/ambulancejob/setup/configuration-surround":633,"/docs/jobs/ambulancejob/setup/configuration-implemented-suggestions":643},{"id":4,"title":5,"body":6,"description":623,"extension":624,"head":625,"implementedSuggestions":625,"meta":626,"navigation":627,"path":628,"schemaOrg":625,"seo":629,"sitemap":630,"stem":631,"__hash__":632},"docs/1.docs/0.jobs/0.ambulancejob/2.setup/2.configuration.md","Configuration",{"type":7,"value":8,"toc":607},"minimark",[9,14,18,60,71,85,89,112,197,206,210,273,277,283,311,314,318,321,423,426,430,444,452,456,481,485,529,533,537,546,550,564,568,579,583,603],[10,11,13],"h2",{"id":12},"configuration-sources","Configuration sources",[15,16,17],"p",{},"Sky Ambulance 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_ambulancejob/config",[40,58,59],{},"Defaults, fallback job data, medications, 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",{},"Ambulance 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-an-ambulance-job","Creating an ambulance 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-capacities","Set storage capacities",[15,246,247],{},"Configure the job storage sizes used by the hospital storage points.",[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 the death, treatment, and hospital behavior (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],"ul",{},[287,288,289],"li",{},"Bleeding",[287,291,292],{},"Pain",[287,294,295],{},"Fractures",[287,297,298],{},"Body Bags",[287,300,301],{},"Knockout",[287,303,304],{},"Death Timeout",[287,306,307],{},"Conscious Blood Pressure",[287,309,310],{},"Respawn In Bed",[15,312,313],{},"Disabling a feature does not remove its old database data. This allows a feature to be enabled again without losing saved records.",[10,315,317],{"id":316},"settings-sections","Settings sections",[15,319,320],{},"Frequently changed settings are grouped into configurator sections, including:",[19,322,323,333],{},[22,324,325],{},[25,326,327,330],{},[28,328,329],{},"Section",[28,331,332],{},"What it controls",[35,334,335,343,351,359,367,375,383,391,399,407,415],{},[25,336,337,340],{},[40,338,339],{},"General",[40,341,342],{},"Primary color, hospital blips, and shared UI behavior",[25,344,345,348],{},[40,346,347],{},"Death / Death Screen",[40,349,350],{},"Death injuries, timeouts, respawn, early respawn, and death screen style",[25,352,353,356],{},[40,354,355],{},"Treatment",[40,357,358],{},"Treatment flows, medications, CPR, ventilation, and public treatment",[25,360,361,364],{},[40,362,363],{},"Diagnose",[40,365,366],{},"Diagnosis, self-diagnose, and imaging (X-ray, MRI, CT) behavior",[25,368,369,372],{},[40,370,371],{},"Minigames",[40,373,374],{},"Treatment minigame settings",[25,376,377,380],{},[40,378,379],{},"Medic Carry / Mobility Aids",[40,381,382],{},"Carry, stretcher, crutch, and wheelchair behavior",[25,384,385,388],{},[40,386,387],{},"Billing / Health Insurance",[40,389,390],{},"Billing prices, insurance providers, premiums, and co-pay",[25,392,393,396],{},[40,394,395],{},"Rewards",[40,397,398],{},"Revive and body bag delivery rewards",[25,400,401,404],{},[40,402,403],{},"Doctor NPC",[40,405,406],{},"AI medic revive behavior and pricing",[25,408,409,412],{},[40,410,411],{},"Hospital Beds",[40,413,414],{},"Bed animations, revive in bed, and bed respawn",[25,416,417,420],{},[40,418,419],{},"Body Bag / Knockout / Vehicle Pull",[40,421,422],{},"The remaining death and transport systems",[15,424,425],{},"Interactions (markers, blips, NPCs, and animations of the placed points) are edited in the configurator as well.",[10,427,429],{"id":428},"hospitals-and-hospital-beds","Hospitals and hospital beds",[15,431,432,433,435,436,439,440,443],{},"Hospitals and hospital beds are creator-backed sections inside the configurator: entries are created, placed in the world, and edited from ",[43,434,45],{},". The standalone ",[43,437,438],{},"/hospitalcreator"," and ",[43,441,442],{},"/hospitalbeds"," commands are disabled while the Job Configurator is active.",[15,445,446,447,451],{},"See ",[201,448,450],{"href":449},"./hospital-setup","Hospital Setup"," for the placement workflow.",[10,453,455],{"id":454},"recommended-workflow","Recommended workflow",[457,458,459,464,467,470,478],"ol",{},[287,460,461,462,84],{},"Enable or disable the main systems in ",[43,463,45],{},[287,465,466],{},"Configure ambulance jobs, shops, vehicles, treatment settings, billing, and insurance.",[287,468,469],{},"Save the configuration and test it without restarting the resource.",[287,471,472,473,477],{},"Use the open configuration files only for settings that are not exposed in the configurator (for example ",[201,474,476],{"href":475},"../features/custom-medications","Custom Medications",").",[287,479,480],{},"Keep a backup of customized configuration files before every resource update.",[10,482,484],{"id":483},"open-configuration-files","Open configuration files",[19,486,487,497],{},[22,488,489],{},[25,490,491,494],{},[28,492,493],{},"File",[28,495,496],{},"Use",[35,498,499,509,519],{},[25,500,501,506],{},[40,502,503],{},[43,504,505],{},"config/config.lua",[40,507,508],{},"Feature defaults, fallback jobs, interactions, medications, death causes, and injuries",[25,510,511,516],{},[40,512,513],{},[43,514,515],{},"config/locales/*.lua",[40,517,518],{},"Translations and interface text",[25,520,521,526],{},[40,522,523],{},[43,524,525],{},"config/inventory",[40,527,528],{},"Included medical item images",[10,530,532],{"id":531},"settings-that-need-extra-care","Settings that need extra care",[214,534,536],{"id":535},"job-configurator-ambulance-jobs","Job Configurator ambulance jobs",[15,538,539,540,542,543,545],{},"Ambulance jobs created only through ",[43,541,45],{}," receive the same tablet applications as jobs defined in ",[43,544,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,547,549],{"id":548},"command-permissions","Command permissions",[15,551,552,553,555,556,559,560,563],{},"Changes to ",[43,554,106],{}," (in ",[43,557,558],{},"sky_jobs_base"," or ",[43,561,562],{},"sky_ambulancejob",") require a resource restart, and players may need to reconnect.",[214,565,567],{"id":566},"health-insurance","Health insurance",[15,569,570,571,574,575,578],{},"Insurance providers, premiums, and expiration are managed in the ",[96,572,573],{},"Health Insurance"," configurator section. The database table and integration exports are documented on the ",[201,576,573],{"href":577},"../features/insurance"," page.",[10,580,582],{"id":581},"related-pages","Related pages",[284,584,585,589,595,599],{},[287,586,587],{},[201,588,450],{"href":449},[287,590,591],{},[201,592,594],{"href":593},"../features/vitals","Vitals and Treatment",[287,596,597],{},[201,598,476],{"href":475},[287,600,601],{},[201,602,204],{"href":203},[604,605,606],"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":608},[609,610,611,612,613,614,615,616,617,622],{"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":316,"depth":143,"text":317},{"id":428,"depth":143,"text":429},{"id":454,"depth":143,"text":455},{"id":483,"depth":143,"text":484},{"id":531,"depth":143,"text":532,"children":618},[619,620,621],{"id":535,"depth":186,"text":536},{"id":548,"depth":186,"text":549},{"id":566,"depth":186,"text":567},{"id":581,"depth":143,"text":582},"Understand the Job Configurator, how to create an ambulance job, feature toggles, and the safe configuration workflow.","md",null,{},true,"/docs/jobs/ambulancejob/setup/configuration",{"title":5,"description":623},{"loc":628},"1.docs/0.jobs/0.ambulancejob/2.setup/2.configuration","LFrv2SDl01kVd1NbKU6vcUwmDA8kHCS9W8FVQis5UTs",[634,639],{"title":635,"path":636,"stem":637,"description":638,"children":-1},"Installation","/docs/jobs/ambulancejob/setup/installation","1.docs/0.jobs/0.ambulancejob/2.setup/1.installation","Install Sky Ambulance Job, prepare its dependencies and database, and complete the first server setup.",{"title":450,"path":640,"stem":641,"description":642,"children":-1},"/docs/jobs/ambulancejob/setup/hospital-setup","1.docs/0.jobs/0.ambulancejob/2.setup/3.hospital-setup","Place hospitals, hospital beds, and interaction points through the Job Configurator.",[],1783080557670]