[{"data":1,"prerenderedAt":377},["ShallowReactive",2],{"/docs/jobs/mechanicjob/installation":3,"/docs/jobs/mechanicjob/installation-surround":366},{"id":4,"title":5,"body":6,"description":356,"extension":357,"head":358,"meta":359,"navigation":360,"path":361,"schemaOrg":358,"seo":362,"sitemap":363,"stem":364,"__hash__":365},"docs/1.docs/0.jobs/2.mechanicjob/1.installation.md","Installation",{"type":7,"value":8,"toc":350},"minimark",[9,14,334,338,341],[10,11,13],"h2",{"id":12},"setup-checklist","Setup Checklist",[15,16,17,26,33,39,43,47,54,68,72,89,93,102,105,202,206,221,225,240,252,262,272,276,285,289,296],"steps",{},[18,19,21,22],"h3",{"id":20},"install-or-update-sky_base","Install or Update ",[23,24,25],"code",{},"sky_base",[27,28,29,30,32],"p",{},"Download the ",[23,31,25],{}," package from the same CFX Portal account as the Mechanic Job, then install or update it on your server.",[18,34,21,36],{"id":35},"install-or-update-sky_jobs_base",[23,37,38],{},"sky_jobs_base",[27,40,29,41,32],{},[23,42,38],{},[18,44,46],{"id":45},"import-the-sql","Import the SQL",[27,48,49,50,53],{},"Run the included ",[23,51,52],{},"import.sql"," against your server database. This creates the tuning persistence and tuning-order tables:",[55,56,57,63],"ul",{},[58,59,60],"li",{},[23,61,62],{},"sky_mechanic_vehicle_tuning",[58,64,65],{},[23,66,67],{},"sky_mechanic_tuning_orders",[18,69,71],{"id":70},"deploy-the-script","Deploy the Script",[27,73,74,75,78,79,82,83,85,86,88],{},"Place the ",[23,76,77],{},"sky_mechanicjob"," resource inside your server files, add it to ",[23,80,81],{},"server.cfg",", and ensure it starts after your framework, inventories, target, ",[23,84,25],{},", and ",[23,87,38],{},".",[18,90,92],{"id":91},"add-mechanic-items","Add Mechanic Items",[27,94,95,96,101],{},"Add the required mechanic items to your inventory script. For ready-to-copy examples, see the ",[97,98,100],"a",{"href":99},"./inventories","Inventory Items"," page.",[27,103,104],{},"Required tuning / service items:",[55,106,107,112,117,122,127,132,137,142,147,152,157,162,167,172,177,182,187,192,197],{},[58,108,109],{},[23,110,111],{},"body_kit",[58,113,114],{},[23,115,116],{},"wheels",[58,118,119],{},[23,120,121],{},"spray_can",[58,123,124],{},[23,125,126],{},"engine",[58,128,129],{},[23,130,131],{},"brakes",[58,133,134],{},[23,135,136],{},"transmission",[58,138,139],{},[23,140,141],{},"turbo",[58,143,144],{},[23,145,146],{},"antilag_kit",[58,148,149],{},[23,150,151],{},"suspension",[58,153,154],{},[23,155,156],{},"armor_plating",[58,158,159],{},[23,160,161],{},"stance_kit",[58,163,164],{},[23,165,166],{},"nitro_kit",[58,168,169],{},[23,170,171],{},"spark_plugs",[58,173,174],{},[23,175,176],{},"engine_oil",[58,178,179],{},[23,180,181],{},"engine_coolant",[58,183,184],{},[23,185,186],{},"brake_fluid",[58,188,189],{},[23,190,191],{},"transmission_fluid",[58,193,194],{},[23,195,196],{},"air_filter",[58,198,199],{},[23,200,201],{},"rgb_controller",[18,203,205],{"id":204},"zero-the-job-salaries","Zero the Job Salaries",[27,207,208,209,212,213,216,217,220],{},"In your database, open the ",[23,210,211],{},"job_grades"," table and set every salary entry for the ",[23,214,215],{},"mechanic"," job to ",[23,218,219],{},"0",". Our script handles salary payouts internally, and leaving framework salaries enabled will cause duplicate payments.",[18,222,224],{"id":223},"grant-admin-set-up-the-boss","Grant admin + set up the boss",[27,226,227,228,231,232,235,236,101],{},"Before admin commands like ",[23,229,230],{},"/workshopcreator"," or ",[23,233,234],{},"/admintuning"," will work, you need an admin group in your framework. Follow the framework-specific steps on the ",[97,237,239],{"href":238},"./permissions","Permissions",[27,241,242,243,246,247,251],{},"Once you have admin, run ",[23,244,245],{},"/setboss"," ",[248,249,250],"strong",{},"once"," to grant every boss permission to your highest mechanic grade, for example:",[253,254,259],"pre",{"className":255,"code":257,"language":258},[256],"language-text","/setboss mechanic 4\n","text",[23,260,257],{"__ignoreMap":261},"",[27,263,264,265,268,269,88],{},"Replace ",[23,266,267],{},"4"," with the top grade configured for your mechanic job. This only needs to run after a fresh install or after wiping ",[23,270,271],{},"sky_job_permissions",[18,273,275],{"id":274},"place-workshops","Place Workshops",[27,277,278,279,281,282,284],{},"Restart the server and run ",[23,280,230],{}," as an admin. This opens the workshop creator from ",[23,283,38],{},", where you can place duty, garage, shop, stash, self-service tuning, engine hoists, workshop lifts, and other mechanic interaction points defined by the resource.",[18,286,288],{"id":287},"review-the-config","Review the Config",[27,290,291,292,295],{},"Open ",[23,293,294],{},"sky_mechanicjob/config/config.lua"," and verify these sections before going live:",[55,297,298,304,310,322,328],{},[58,299,300,303],{},[23,301,302],{},"Config.Jobs"," for mechanic factions, shop items, and job vehicles",[58,305,306,309],{},[23,307,308],{},"Config.OrderRequiredItems"," for which item each tuning category consumes or checks",[58,311,312,315,316,85,319],{},[23,313,314],{},"Config.Nitro",", ",[23,317,318],{},"Config.AntiLag",[23,320,321],{},"Config.TwoStep",[58,323,324,327],{},[23,325,326],{},"Config.Wear.parts"," for mileage-based part wear and repair requirements",[58,329,330,333],{},[23,331,332],{},"Config.CommandPermissions"," if you want different groups for admin/debug commands",[10,335,337],{"id":336},"support","Support",[27,339,340],{},"Need help? Our support team is always ready to assist",[342,343],"u-button",{"color":344,"icon":345,"label":346,"target":347,"to":348,"variant":349},"neutral","i-simple-icons-discord","Join Discord","_blank","https://discord.gg/sky-systems","subtle",{"title":261,"searchDepth":351,"depth":352,"links":353},1,2,[354,355],{"id":12,"depth":352,"text":13},{"id":336,"depth":352,"text":337},"Follow these steps to prepare your server for the Sky Mechanic Job script, from dependencies and SQL import to workshop placement.","md",null,{},true,"/docs/jobs/mechanicjob/installation",{"title":5,"description":356},{"loc":361},"1.docs/0.jobs/2.mechanicjob/1.installation","PcWjTrd6tNxjZYFdKLiRUvVnW9zhYumla1VwqFqW44I",[367,373],{"title":368,"path":369,"stem":370,"description":371,"icon":372,"children":-1},"Changelog","/docs/jobs/policejob/changelog","1.docs/0.jobs/1.policejob/6.changelog","Full change history for Sky Police Job (BETA).","i-lucide-history",{"title":239,"path":374,"stem":375,"description":376,"children":-1},"/docs/jobs/mechanicjob/permissions","1.docs/0.jobs/2.mechanicjob/2.permissions","Grant admin access so mechanic admin commands and the workshop creator work in your framework.",1776270453406]