BIENVENUE10valid for the first month only! on all offersView plans
Skip to content
← Knowledge base

Install a FiveM script or framework (ESX, QBCore)

Drop your resources into resources/, add ensure to server.cfg and configure the database.

Install a FiveM script or framework (ESX, QBCore)

Installing a framework (ESX, QBCore) or a script always follows the same logic: drop the resource in, declare it, then configure its dependencies.

Cause / The problem

A script that does not show up in game or throws errors at startup is almost always misplaced, not declared in server.cfg, or missing its database dependency.

Solution

  1. Drop the resource into your server’s resources/ folder. Each resource must live in its own subfolder containing an fxmanifest.lua (or __resource.lua) file.
  2. Configure the database. The ESX and QBCore frameworks require MySQL. Import the provided .sql file into your database via phpMyAdmin, then add ensure oxmysql before the framework in server.cfg.
  3. Declare the resources in server.cfg, in the correct order (dependencies first):
    ensure oxmysql
    ensure qb-core      # or es_extended
    ensure qb-management
  4. With txAdmin, you can also use a recipe (QBCore ships an official txAdminRecipe) that automatically deploys the whole framework and configures server.cfg.
  5. Restart the server and check the console: a resource that starts correctly displays Started resource xxx.
  6. On a “resource not found” error, make sure the folder name exactly matches the ensure line, and that fxmanifest.lua sits at the root of the folder.

Never mix the ESX and QBCore frameworks on the same server: they conflict.

Related products

oneSubnet

French hosting provider in Paris. High-performance game and voice servers.

SERVICES

Resources

LEGAL

All systems operational