[{"data":1,"prerenderedAt":280},["ShallowReactive",2],{"/docs/scripts/pets/setup/installation":3,"/docs/scripts/pets/setup/installation-surround":268,"/docs/scripts/pets/setup/installation-implemented-suggestions":279},{"id":4,"title":5,"body":6,"description":258,"extension":259,"head":260,"implementedSuggestions":260,"meta":261,"navigation":262,"path":263,"schemaOrg":260,"seo":264,"sitemap":265,"stem":266,"__hash__":267},"docs/1.docs/scripts/5.pets/2.setup/1.installation.md","Installation",{"type":7,"value":8,"toc":253},"minimark",[9,14,69,81,85,234,238,241,249],[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.",[10,82,84],{"id":83},"install","Install",[86,87,88,93,119,122,136,140,167,174,178,208,214,218],"steps",{},[89,90,92],"h3",{"id":91},"install-the-resource","Install the resource",[70,94,95,96,103,104,107,108,111,112,115,116,118],{},"Download Sky Pets from the ",[97,98,102],"a",{"href":99,"rel":100},"https://portal.cfx.re/",[101],"nofollow","Cfx.re Portal",", extract the download, and upload the ",[39,105,106],{},"sky_pets"," folder containing ",[39,109,110],{},"fxmanifest.lua"," to your server's ",[39,113,114],{},"resources"," directory. Keep the folder name ",[39,117,106],{},".",[70,120,121],{},"For an update, back up your configuration and database, replace the resource files with the new download, and merge your settings into the new configuration files. Keep the existing pet database.",[70,123,124,125,128,129,131,132,135],{},"The Vinewood Petshop MLO is already bundled under ",[39,126,127],{},"sky_pets/stream/Petshop/"," and loaded by ",[39,130,110],{},". Keep the streamed files in the resource; the interior does not need a separate ",[39,133,134],{},"ensure"," entry.",[89,137,139],{"id":138},"register-inventory-items","Register inventory items",[70,141,142,143,147,148,151,152,155,156,159,160,163,164,118],{},"Open ",[97,144,146],{"href":145},"../reference/inventory-items","Inventory items",", choose your inventory's tab, and merge the definitions into its existing item catalogue. For ",[39,149,150],{},"ox_inventory",", use ",[39,153,154],{},"ox_inventory/data/items.lua",". The download's installation attachments contain ",[39,157,158],{},"installation/ox_inventory.lua"," and ",[39,161,162],{},"installation/inventory-images/","; copy the matching images to ",[39,165,166],{},"ox_inventory/web/images/",[70,168,169,170,173],{},"For ESX's database-backed inventory, apply ",[39,171,172],{},"sky_pets/import.sql"," manually to insert the default item rows even if automatic pet-schema migration is enabled.",[89,175,177],{"id":176},"start-dependencies-first","Start dependencies first",[179,180,186],"pre",{"className":181,"code":182,"filename":183,"language":184,"meta":185,"style":185},"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,187,188,196,202],{"__ignoreMap":185},[189,190,193],"span",{"class":191,"line":192},"line",1,[189,194,195],{},"# Start your framework, database and inventory resources before sky_base.\n",[189,197,199],{"class":191,"line":198},2,[189,200,201],{},"ensure sky_base\n",[189,203,205],{"class":191,"line":204},3,[189,206,207],{},"ensure sky_pets\n",[70,209,210,211,213],{},"Start installed Sky Jobs or medical resources before ",[39,212,106],{}," when you use their service-dog integration. Optional breed add-ons are separate and are not needed for this core installation.",[89,215,217],{"id":216},"check-the-database-and-first-start","Check the database and first start",[70,219,220,223,224,226,227,230,231,233],{},[39,221,222],{},"Config.AutoExecuteQuery = true"," creates or updates the pet schema at startup. The configured ",[39,225,41],{}," database user needs schema and data privileges. If you disable automatic pet-data migration, apply the ",[77,228,229],{},"current"," ",[39,232,172],{}," before starting. Do not drop existing pet tables during an update.",[10,235,237],{"id":236},"first-verification","First verification",[70,239,240],{},"Join as a regular player. Confirm the Vinewood shop opens, a preview dog appears, 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.",[70,242,243,244,248],{},"If the shop or purchase fails, use ",[97,245,247],{"href":246},"../reference/troubleshooting","Troubleshooting"," and inspect both server and F8 output.",[250,251,252],"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":185,"searchDepth":192,"depth":198,"links":254},[255,256,257],{"id":12,"depth":198,"text":13},{"id":83,"depth":198,"text":84},{"id":236,"depth":198,"text":237},"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":258},{"loc":263},"1.docs/scripts/5.pets/2.setup/1.installation","OAqyWB_5necMAs_tdTXdG2_sKBlP6ZQobl1LmlUPqKA",[269,274],{"title":270,"path":271,"stem":272,"description":273,"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":275,"path":276,"stem":277,"description":278,"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.",[],1791330899419]