Browse docs

FiveM Basics

Basic FiveM concepts that help you install, configure, and debug resources.

This page explains common FiveM terms that appear in our documentation and support replies.

Resource

A resource is a folder loaded by FiveM. It usually contains an fxmanifest.lua file.

Example:

resources/
  sky_base/
    fxmanifest.lua
  sky_ambulancejob/
    fxmanifest.lua

If a folder does not contain fxmanifest.lua, it is probably not the correct resource folder.

server.cfg

server.cfg controls which resources start and in which order.

server.cfg
ensure sky_base
ensure sky_jobs_base
ensure sky_ambulancejob

If a resource is not ensured, it will not run.

Console

The server console shows startup messages, warnings, and errors. When something fails, always check the console first. For error examples, see Common Console Errors.

Common useful commands:

refresh
ensure resource_name
restart resource_name
stop resource_name

Client Console And NUI

The client console is opened with F8. It shows client-side errors, missing files, NUI errors, and script messages.

If a menu, tablet, or browser UI does not open, check F8 and the server console. UI actions often call server callbacks, so a button can fail because of a server-side error.

Artifacts

FiveM artifacts are the server build files. Old artifacts can cause strange bugs or missing native behavior.

If your server is very outdated, update artifacts before reporting script issues.

Framework, Inventory And Target

Your framework is usually ESX, QBCore, or Qbox. Sky-Systems resources need the correct framework setting in sky_base.

Inventory resources store items, weapons, and metadata. Examples include ox_inventory, qb-inventory, and other third-party inventories.

Target resources handle interactions with players, vehicles, NPCs, and zones. Examples include ox_target and qb-target.

Database

Most Sky-Systems resources include an import.sql file. Import it into your database before starting the resource.

If you see missing table or missing column errors, import the resource SQL into the correct database and check the changelog for update SQL.

Permissions And Admin Access

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.

If sky_base registers permissions automatically, it needs ACE access in server.cfg before ensure sky_base:

server.cfg
add_ace resource.sky_base command.add_ace allow
add_ace resource.sky_base command.add_principal allow
add_ace resource.sky_base command.remove_principal allow

Escrow

Some FiveM resources are protected by asset escrow. Do not delete .fxap files and do not upload only part of a resource.

For entitlement or protected resource errors, see Common Console Errors.