[{"data":1,"prerenderedAt":274},["ShallowReactive",2],{"/docs/guide/fivem-basics":3,"/docs/guide/fivem-basics-surround":261},{"id":4,"title":5,"body":6,"description":250,"extension":251,"head":252,"meta":253,"navigation":254,"path":256,"schemaOrg":252,"seo":257,"sitemap":258,"stem":259,"__hash__":260},"docs/1.docs/1.guide/3.fivem-basics.md","FiveM Basics",{"type":7,"value":8,"toc":239},"minimark",[9,13,18,26,29,39,45,49,54,81,84,88,97,100,106,110,117,123,127,130,133,137,143,154,164,168,175,178,182,185,198,218,222,229,235],[10,11,12],"p",{},"This page explains common FiveM terms that appear in our documentation and support replies.",[14,15,17],"h2",{"id":16},"resource","Resource",[10,19,20,21,25],{},"A resource is a folder loaded by FiveM. It usually contains an ",[22,23,24],"code",{},"fxmanifest.lua"," file.",[10,27,28],{},"Example:",[30,31,37],"pre",{"className":32,"code":34,"language":35,"meta":36},[33],"language-text","resources/\n  sky_base/\n    fxmanifest.lua\n  sky_ambulancejob/\n    fxmanifest.lua\n","text","",[22,38,34],{"__ignoreMap":36},[10,40,41,42,44],{},"If a folder does not contain ",[22,43,24],{},", it is probably not the correct resource folder.",[14,46,48],{"id":47},"servercfg","server.cfg",[10,50,51,53],{},[22,52,48],{}," controls which resources start and in which order.",[30,55,59],{"className":56,"code":57,"filename":48,"language":58,"meta":36,"style":36},"language-cfg shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ensure sky_base\nensure sky_jobs_base\nensure sky_ambulancejob\n","cfg",[22,60,61,69,75],{"__ignoreMap":36},[62,63,66],"span",{"class":64,"line":65},"line",1,[62,67,68],{},"ensure sky_base\n",[62,70,72],{"class":64,"line":71},2,[62,73,74],{},"ensure sky_jobs_base\n",[62,76,78],{"class":64,"line":77},3,[62,79,80],{},"ensure sky_ambulancejob\n",[10,82,83],{},"If a resource is not ensured, it will not run.",[14,85,87],{"id":86},"console","Console",[10,89,90,91,96],{},"The server console shows startup messages, warnings, and errors. When something fails, always check the console first. For error examples, see ",[92,93,95],"a",{"href":94},"/docs/guide/common-console-errors","Common Console Errors",".",[10,98,99],{},"Common useful commands:",[30,101,104],{"className":102,"code":103,"language":35,"meta":36},[33],"refresh\nensure resource_name\nrestart resource_name\nstop resource_name\n",[22,105,103],{"__ignoreMap":36},[14,107,109],{"id":108},"client-console-and-nui","Client Console And NUI",[10,111,112,113,116],{},"The client console is opened with ",[22,114,115],{},"F8",". It shows client-side errors, missing files, NUI errors, and script messages.",[10,118,119,120,122],{},"If a menu, tablet, or browser UI does not open, check ",[22,121,115],{}," and the server console. UI actions often call server callbacks, so a button can fail because of a server-side error.",[14,124,126],{"id":125},"artifacts","Artifacts",[10,128,129],{},"FiveM artifacts are the server build files. Old artifacts can cause strange bugs or missing native behavior.",[10,131,132],{},"If your server is very outdated, update artifacts before reporting script issues.",[14,134,136],{"id":135},"framework-inventory-and-target","Framework, Inventory And Target",[10,138,139,140,96],{},"Your framework is usually ESX, QBCore, or Qbox. Sky-Systems resources need the correct framework setting in ",[22,141,142],{},"sky_base",[10,144,145,146,149,150,153],{},"Inventory resources store items, weapons, and metadata. Examples include ",[22,147,148],{},"ox_inventory",", ",[22,151,152],{},"qb-inventory",", and other third-party inventories.",[10,155,156,157,160,161,96],{},"Target resources handle interactions with players, vehicles, NPCs, and zones. Examples include ",[22,158,159],{},"ox_target"," and ",[22,162,163],{},"qb-target",[14,165,167],{"id":166},"database","Database",[10,169,170,171,174],{},"Most Sky-Systems resources include an ",[22,172,173],{},"import.sql"," file. Import it into your database before starting the resource.",[10,176,177],{},"If you see missing table or missing column errors, import the resource SQL into the correct database and check the changelog for update SQL.",[14,179,181],{"id":180},"permissions-and-admin-access","Permissions And Admin Access",[10,183,184],{},"Some commands and creator tools require admin permissions. If a command says you have no permission, check the command permission config and your ACE/group setup.",[10,186,187,188,190,191,193,194,197],{},"If ",[22,189,142],{}," registers permissions automatically, it needs ACE access in ",[22,192,48],{}," before ",[22,195,196],{},"ensure sky_base",":",[30,199,201],{"className":56,"code":200,"filename":48,"language":58,"meta":36,"style":36},"add_ace resource.sky_base command.add_ace allow\nadd_ace resource.sky_base command.add_principal allow\nadd_ace resource.sky_base command.remove_principal allow\n",[22,202,203,208,213],{"__ignoreMap":36},[62,204,205],{"class":64,"line":65},[62,206,207],{},"add_ace resource.sky_base command.add_ace allow\n",[62,209,210],{"class":64,"line":71},[62,211,212],{},"add_ace resource.sky_base command.add_principal allow\n",[62,214,215],{"class":64,"line":77},[62,216,217],{},"add_ace resource.sky_base command.remove_principal allow\n",[14,219,221],{"id":220},"escrow","Escrow",[10,223,224,225,228],{},"Some FiveM resources are protected by asset escrow. Do not delete ",[22,226,227],{},".fxap"," files and do not upload only part of a resource.",[10,230,231,232,96],{},"For entitlement or protected resource errors, see ",[92,233,95],{"href":234},"/docs/guide/common-console-errors#entitlement-or-protected-resource-error",[236,237,238],"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":36,"searchDepth":65,"depth":71,"links":240},[241,242,243,244,245,246,247,248,249],{"id":16,"depth":71,"text":17},{"id":47,"depth":71,"text":48},{"id":86,"depth":71,"text":87},{"id":108,"depth":71,"text":109},{"id":125,"depth":71,"text":126},{"id":135,"depth":71,"text":136},{"id":166,"depth":71,"text":167},{"id":180,"depth":71,"text":181},{"id":220,"depth":71,"text":221},"Basic FiveM concepts that help you install, configure, and debug resources.","md",null,{},{"icon":255},"i-lucide-server","/docs/guide/fivem-basics",{"title":5,"description":250},{"loc":256},"1.docs/1.guide/3.fivem-basics","AGhvsFCh9K07vsALeMzgk0z8Y5Ns6OOl5tW8Xc09bTU",[262,268],{"title":263,"path":264,"stem":265,"description":266,"icon":267,"children":-1},"Editing Configs","/docs/guide/editing-configs","1.docs/1.guide/2.editing-configs","Learn how to safely edit Lua config files without breaking your FiveM server.","i-lucide-sliders-horizontal",{"title":269,"path":270,"stem":271,"description":272,"icon":273,"children":-1},"Updates & Backups","/docs/guide/updates-backups","1.docs/1.guide/4.updates-backups","How to update Sky-Systems resources safely without losing your configuration.","i-lucide-refresh-cw",1780173463134]