[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"\u002Fdocs\u002Fscripts\u002Fhunting\u002Fsetup\u002Finstallation":3,"shop-sale-banner":295,"\u002Fdocs\u002Fscripts\u002Fhunting\u002Fsetup\u002Finstallation-surround":301,"\u002Fdocs\u002Fscripts\u002Fhunting\u002Fsetup\u002Finstallation-implemented-suggestions":311},{"id":4,"title":5,"body":6,"description":291,"extension":292,"head":293,"implementedSuggestions":293,"meta":294,"navigation":295,"path":296,"schemaOrg":293,"seo":297,"sitemap":298,"stem":299,"__hash__":300},"docs\u002F1.docs\u002Fscripts\u002F9.hunting\u002F2.setup\u002F1.installation.md","Installation",{"type":7,"value":8,"toc":286},"minimark",[9,14,84,96,100,249,253,274,282],[10,11,13],"h2",{"id":12},"requirements","Requirements",[15,16,17,30],"table",{},[18,19,20],"thead",{},[21,22,23,27],"tr",{},[24,25,26],"th",{},"Requirement",[24,28,29],{},"Purpose",[31,32,33,46,57,65,76],"tbody",{},[21,34,35,43],{},[36,37,38],"td",{},[39,40,42],"a",{"href":41},"\u002Fdocs\u002Fbase\u002Fintroduction","Sky Base",[36,44,45],{},"Framework, inventory, accounts and database access",[21,47,48,54],{},[36,49,50],{},[39,51,53],{"href":52},"\u002Fdocs\u002Fscripts\u002Fprimitive-weapons\u002Foverview","Sky Primitive Weapons",[36,55,56],{},"Included in the Hunting Simulator purchase. Provides the spear, slingshot, bow and crossbow.",[21,58,59,62],{},[36,60,61],{},"OneSync",[36,63,64],{},"Shared wildlife, vehicles and position checks",[21,66,67,73],{},[36,68,69],{},[70,71,72],"code",{},"oxmysql",[36,74,75],{},"Persistent settings, progression and butcher receipts",[21,77,78,81],{},[36,79,80],{},"Configured inventory provider",[36,82,83],{},"Equipment, ammunition, harvested goods and trophies",[85,86,87,88,90,91,95],"p",{},"Configure ",[70,89,72],{}," as Sky Base's SQL provider. Sky Base connects Hunting to the framework and inventory. Install Jobs Base when using the optional ",[39,92,94],{"href":93},"..\u002Ffeatures\u002Fpoaching#police-reports","police dispatch integration",".",[10,97,99],{"id":98},"install","Install",[101,102,103,108,126,135,139,151,154,158,176,180,183,226,229,233],"steps",{},[104,105,107],"h3",{"id":106},"place-the-resource","Place the resource",[85,109,110,111,114,115,121,122,95],{},"Extract the download into your server's resources directory. Keep the folder containing ",[70,112,113],{},"fxmanifest.lua"," named ",[116,117,118],"strong",{},[70,119,120],{},"sky_hunting"," and retain the supplied configuration, interface, metadata, streamed assets and SQL files. Bayview Lodge and both Hunting firearms load with this resource. For older installations with separate add-ons, follow ",[39,123,125],{"href":124},"..\u002Freference\u002Fdatabase-and-updates","Database and updates",[85,127,128,129,134],{},"Install the included ",[116,130,131],{},[70,132,133],{},"sky_primitive_weapons"," resource in your server's resources directory as well.",[104,136,138],{"id":137},"register-items-and-weapons","Register items and weapons",[85,140,141,142,146,147,150],{},"Choose your provider's copyable tab in ",[39,143,145],{"href":144},"..\u002Freference\u002Finventory-items","Inventory items",". Register the 25 Hunting items and the two Hunting firearms. Include the Primitive Weapons definitions and verify the required ammunition IDs. Copy the Hunting PNGs from ",[70,148,149],{},"sky_hunting\u002Fconfig\u002Finventory\u002F"," into your inventory's image directory.",[85,152,153],{},"Register items in the inventory you actually use and prepare the database in the next step.",[104,155,157],{"id":156},"prepare-the-database","Prepare the database",[85,159,160,161,163,164,167,168,171,172,175],{},"Connect ",[70,162,72],{}," to your database and select ",[70,165,166],{},"sql = \"oxmysql\""," in Sky Base's ",[70,169,170],{},"config\u002Fconfig.lua",". Hunting creates its tables at startup using the included ",[70,173,174],{},"import.sql",". The database account needs permission to create those tables and to read and write their data.",[104,177,179],{"id":178},"start-the-resources","Start the resources",[85,181,182],{},"Enable OneSync. Start your framework and inventory in their normal dependency order. Start the following resources with Sky Base after the framework and inventory:",[184,185,192],"pre",{"className":186,"code":187,"filename":188,"language":189,"meta":190,"icon":191,"style":190},"language-cfg shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ensure oxmysql\n# Start your framework and inventory before Sky Base.\nensure sky_base\nensure sky_primitive_weapons\nensure sky_hunting\n","server.cfg","cfg","","i-lucide-settings",[70,193,194,202,208,214,220],{"__ignoreMap":190},[195,196,199],"span",{"class":197,"line":198},"line",1,[195,200,201],{},"ensure oxmysql\n",[195,203,205],{"class":197,"line":204},2,[195,206,207],{},"# Start your framework and inventory before Sky Base.\n",[195,209,211],{"class":197,"line":210},3,[195,212,213],{},"ensure sky_base\n",[195,215,217],{"class":197,"line":216},4,[195,218,219],{},"ensure sky_primitive_weapons\n",[195,221,223],{"class":197,"line":222},5,[195,224,225],{},"ensure sky_hunting\n",[85,227,228],{},"For a first install or asset update, start the server with the new files and connect with a fresh FiveM client session so the map and weapon metadata load.",[104,230,232],{"id":231},"set-permissions-and-protection","Set permissions and protection",[85,234,235,236,239,240,244,245],{},"Open ",[70,237,238],{},"\u002Fhuntingconfig"," from a connected administrator character. See ",[39,241,243],{"href":242},".\u002Fconfiguration#administrator-access","Configuration"," for permissions and the restart action. If your server uses resource protection, allow the installed Sky resources by name. Test permitted wildlife, cages, bait, rentals and weapons with the protection enabled on a regular player account. ",[39,246,248],{"href":247},"\u002Fdocs\u002Fguide\u002Fanticheat-resource-protection","Resource protection guide",[10,250,252],{"id":251},"verify-the-installation","Verify the installation",[85,254,255,256,260,261,264,265,268,269,273],{},"Join as a regular player and visit ",[39,257,259],{"href":258},"..\u002Ffeatures\u002Fbayview-lodge","Bayview Lodge"," near ",[70,262,263],{},"-673.76, 5837.72, 16.37"," in the default setup. Choose ",[116,266,267],{},"Browse hunting supplies"," and confirm that you can buy and use the map, magnifier, knife and starter weapon. Complete the ",[39,270,272],{"href":271},".\u002Ffirst-steps","first hunt",", sell the goods, then reconnect to confirm that the journal and progression remain.",[85,275,276,277,281],{},"If a step fails, use ",[39,278,280],{"href":279},"..\u002Freference\u002Ftroubleshooting","Troubleshooting"," to check the resource, inventory or saved settings involved.",[283,284,285],"style",{},"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":190,"searchDepth":198,"depth":204,"links":287},[288,289,290],{"id":12,"depth":204,"text":13},{"id":98,"depth":204,"text":99},{"id":251,"depth":204,"text":252},"Install Sky Hunting and its dependencies, register equipment and rewards, and verify the first hunt.","md",null,{},true,"\u002Fdocs\u002Fscripts\u002Fhunting\u002Fsetup\u002Finstallation",{"title":5,"description":291},{"loc":296},"1.docs\u002Fscripts\u002F9.hunting\u002F2.setup\u002F1.installation","1cySDxKpJE8po_G_G9pqaUowZkNT7v6N0vsyKICwb_s",[302,307],{"title":303,"path":304,"stem":305,"description":306,"children":-1},"Overview","\u002Fdocs\u002Fscripts\u002Fhunting\u002Foverview","1.docs\u002Fscripts\u002F9.hunting\u002F1.overview","Install Sky Hunting, explore hunting grounds, process game and progress through the Hunting skill tree.",{"title":243,"path":308,"stem":309,"description":310,"children":-1},"\u002Fdocs\u002Fscripts\u002Fhunting\u002Fsetup\u002Fconfiguration","1.docs\u002Fscripts\u002F9.hunting\u002F2.setup\u002F2.configuration","Configure Sky Hunting in game, edit its fallback defaults and apply saved settings at a suitable time.",[]]