QBCore Resource Generator

QBCore resource generator: a drop-in FiveM resource with client, server, callbacks, an NPC shop starter, NUI, locales and oxmysql, as a .zip.

Build/ FiveMFreeGTA 6 ready
Loading the tool…

How to use QBCore Resource Generator

  1. 01

    Name the resource

    The folder name; it also prefixes your events (name:server:event).

  2. 02

    Pick framework and starter

    Start from QBCore, or switch, then choose Blank or NPC shop.

  3. 03

    Choose files and dependencies

    Client, server, NUI, locales, database and escrow ignore; dependencies fill in from your choices.

  4. 04

    Download and install

    Download the .zip, unzip it into resources, add ensure to server.cfg and import install.sql if there is one.

New QBCore scriptsNPC shopsLearning resource structureTebex script bases
For FiveM server developersBrowser-based, no install

What is QBCore Resource Generator?

The QBCore Resource Generator builds a drop-in FiveM resource skeleton. It opens on QBCore, and the framework switch also covers QBCore, Qbox, ESX, Standalone and RedM. Pick a starter: Blank (a chat command that asks the server for your character and shows it, with the client, server and callback wiring every script needs) or NPC shop (a 24/7 clerk in Strawberry with a blip, a target or [E] prompt, an ox_lib menu, and a server that checks distance, cash and inventory space). On QBCore it uses the QBCore core object for players, money and items. Choose the interaction (ox_target, qb-target or an [E] prompt from ox_lib) and the files: client, server, an NUI panel, locales with lib.locale() and an oxmysql database with install.sql. Add the description, version, author and any extra dependencies, watch the live preview, and download a .zip ready for your resources folder.

Made for FiveM server owners and developers, and ready for GTA 6 roleplay servers. People also search for it as qbcore resource generator.

Built for these scenarios

Why FiveM server developers use QBCore Resource Generator

New QBCore scripts
NPC shops
Learning resource structure
Tebex script bases

Deep dive

QBCore Resource Generator: the complete guide

01

Built the current way

Every resource uses fx_version 'cerulean' with lua54 and client, server and shared folders. The server re-checks everything the client sends, so a modded client can't buy for free or skip the distance check. Event names follow resource:side:event, so two scripts never answer each other's events by accident.

02

Blank or NPC shop

Blank is the smallest working script: a chat command, a server callback and the reply. It's the base to build anything on. NPC shop is a complete small feature: a ped, a blip, the interaction, an ox_lib menu and a server that checks the player's distance, money and inventory space before the sale. The NPC shop needs an economy and an inventory, so it's available on QBCore, Qbox and ESX.

03

Files and dependencies

Database adds oxmysql and an install.sql (the shop logs purchases; Blank counts uses per player). Locales adds locales/en.json read with lib.locale(), and NUI adds an HTML, CSS and JS panel with focus handling and a close callback. Escrow ignore keeps the config editable when you sell the script on Tebex. Locked dependencies come from your choices; FiveM starts dependencies first and refuses to start the resource if one is missing.

04

Testing before you go live

Try generated files on a local or test server first: start it, read the console, and fix any missing dependency or name mismatch before you copy anything to your live server. Everything is generated in your browser, so nothing you type, paste or import is uploaded, and the output is yours to edit, ship or sell.

FAQ

QBCore Resource Generator - frequently asked questions

Also searched as

qbcore resource generatorqbcore script templatefivem resource generatorqbcore boilerplatefivem script generatorqbcore npc shop scriptfxmanifest generatorqbox resource template

Ready for your next build project?

QBCore Resource Generator is one of 100+ tools on GTATools.net for GTA 6 creators, RP servers and players. They all run in your browser, and most are free.