[{"data":1,"prerenderedAt":269},["ShallowReactive",2],{"/docs/scripts/pets/setup/installation":3,"/docs/scripts/pets/setup/installation-surround":257,"/docs/scripts/pets/setup/installation-implemented-suggestions":268},{"id":4,"title":5,"body":6,"description":247,"extension":248,"head":249,"implementedSuggestions":249,"meta":250,"navigation":251,"path":252,"schemaOrg":249,"seo":253,"sitemap":254,"stem":255,"__hash__":256},"docs/1.docs/scripts/5.pets/2.setup/1.installation.md","Installation",{"type":7,"value":8,"toc":242},"minimark",[9,14,69,81,85,223,227,230,238],[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,45,53,61],"tbody",{},[21,34,35,42],{},[36,37,38],"td",{},[39,40,41],"code",{},"sky_base",[36,43,44],{},"Framework, database, inventory and shared interaction bridge",[21,46,47,50],{},[36,48,49],{},"OneSync",[36,51,52],{},"Networked pet entities and server-side validation",[21,54,55,58],{},[36,56,57],{},"Configured SQL provider",[36,59,60],{},"Persistent ownership, settings, health, training and duel data",[21,62,63,66],{},[36,64,65],{},"Configured inventory provider",[36,67,68],{},"Food, water, treats, toys and medical items",[70,71,72,75,76,80],"p",{},[39,73,74],{},"sky_jobs_base",", Police, Fire and Ambulance are ",[77,78,79],"strong",{},"optional"," service-dog integrations. No Node.js or Vue build is needed for the prepared customer resource.",[10,82,84],{"id":83},"install","Install",[86,87,88,93,115,130,134,162,166,196,202,206],"steps",{},[89,90,92],"h3",{"id":91},"copy-the-release","Copy the release",[70,94,95,96,99,100,103,104,103,107,110,111,114],{},"Put the supplied inner resource directory in your server's resources folder and name it exactly ",[39,97,98],{},"sky_pets",". Do not install the repository's ",[39,101,102],{},"frontend",", ",[39,105,106],{},"storage",[39,108,109],{},"tools",", or ",[39,112,113],{},"tests"," directories on the server. When replacing an old release, use a clean resource directory so retired streamed assets are not left behind. Back up configuration and database data first.",[70,116,117,118,121,122,125,126,129],{},"The Vinewood Petshop MLO is already bundled under ",[39,119,120],{},"sky_pets/stream/Petshop/"," and loaded by ",[39,123,124],{},"fxmanifest.lua",". Keep the streamed files in the resource; the interior does not need a separate ",[39,127,128],{},"ensure"," entry.",[89,131,133],{"id":132},"register-inventory-items","Register inventory items",[70,135,136,137,140,141,144,145,148,149,152,153,155,156,161],{},"Merge the supplied ",[39,138,139],{},"docs/customer/ox_inventory.lua"," entries into your existing ",[39,142,143],{},"ox_inventory/data/items.lua"," return table, and copy the corresponding images from ",[39,146,147],{},"docs/inventory-images"," to ",[39,150,151],{},"ox_inventory/web/images",". For another inventory, register the same item IDs through the inventory provider configured in ",[39,154,41],{},". See ",[157,158,160],"a",{"href":159},"../reference/inventory-items","Inventory items",".",[89,163,165],{"id":164},"start-dependencies-first","Start dependencies first",[167,168,174],"pre",{"className":169,"code":170,"filename":171,"language":172,"meta":173,"style":173},"language-cfg shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Start your framework, database and inventory resources before sky_base.\nensure sky_base\nensure sky_pets\n","server.cfg","cfg","",[39,175,176,184,190],{"__ignoreMap":173},[177,178,181],"span",{"class":179,"line":180},"line",1,[177,182,183],{},"# Start your framework, database and inventory resources before sky_base.\n",[177,185,187],{"class":179,"line":186},2,[177,188,189],{},"ensure sky_base\n",[177,191,193],{"class":179,"line":192},3,[177,194,195],{},"ensure sky_pets\n",[70,197,198,199,201],{},"Start installed Sky Jobs or medical resources before ",[39,200,98],{}," when you use their service-dog integration. Optional breed add-ons are separate and are not needed for this core installation.",[89,203,205],{"id":204},"check-the-database-and-first-start","Check the database and first start",[70,207,208,211,212,214,215,218,219,222],{},[39,209,210],{},"Config.AutoExecuteQuery = true"," creates or updates the pet schema at startup. The configured ",[39,213,41],{}," database user needs schema and data privileges. If you disable automatic pet-data migration, apply the ",[77,216,217],{},"current"," ",[39,220,221],{},"sky_pets/import.sql"," before starting. Do not drop existing pet tables during an update.",[10,224,226],{"id":225},"first-verification","First verification",[70,228,229],{},"Join as a regular player. Confirm the Vinewood shop opens, a preview dog renders, purchase uses the configured account, the new pet appears in the F6 menu, and it remains owned after reconnect. Then test one consumable item and one reusable toy. Browser or offline checks cannot establish that the streamed models, animations or camera placement render correctly in FiveM.",[70,231,232,233,237],{},"If the shop or purchase fails, use ",[157,234,236],{"href":235},"../reference/troubleshooting","Troubleshooting"," and inspect both server and F8 output.",[239,240,241],"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":173,"searchDepth":180,"depth":186,"links":243},[244,245,246],{"id":12,"depth":186,"text":13},{"id":83,"depth":186,"text":84},{"id":225,"depth":186,"text":226},"Install the Sky Pets core resource with sky_base, OneSync, SQL, inventory items, and the correct start order.","md",null,{},true,"/docs/scripts/pets/setup/installation",{"title":5,"description":247},{"loc":252},"1.docs/scripts/5.pets/2.setup/1.installation","gUJEuxMPN3x5895CgKL8e65G3FxWE0HQQWyUZlv-tyM",[258,263],{"title":259,"path":260,"stem":261,"description":262,"children":-1},"Overview","/docs/scripts/pets/overview","1.docs/scripts/5.pets/1.overview","Start here for Sky Pets installation, everyday play, configuration, features, and integration APIs.",{"title":264,"path":265,"stem":266,"description":267,"children":-1},"Configuration","/docs/scripts/pets/setup/configuration","1.docs/scripts/5.pets/2.setup/2.configuration","Configure Sky Pets with /petsconfig, Lua overrides, themes, breed prices, gameplay settings, and permissions.",[],1790206628036]