Modding4 min readUpdated 2026-04-09
FiveM Resource Installation
On this page
Overview
FiveM resources are Lua, C#, or JavaScript scripts that add features to your server — from custom vehicles and maps to entire roleplay frameworks. This guide covers installation and management.
1. Resource Structure
A typical resource folder contains:
my-resource/
fxmanifest.lua -- metadata and dependencies
client.lua -- client-side scripts
server.lua -- server-side scripts
config.lua -- configuration options
html/ -- NUI (web UI) files if applicable
The fxmanifest.lua (or legacy __resource.lua) declares the resource's scripts, dependencies, and metadata.
2. Installing a Resource
- Download the resource from GitHub, FiveM forums, or Tebex.
- Extract the folder into
/resources/[custom]/(or any category folder). - Open
server.cfgand add:ensure resource-name. - If the resource has a SQL file, import it into your MySQL/MariaDB database.
- Edit
config.luato match your server's settings. - Restart the server.
3. Frameworks (ESX / QBCore)
Most roleplay servers use a framework:
- ESX — the original and most widely used RP framework. Huge ecosystem of resources.
- QBCore — modern framework with better performance and cleaner code. Growing community.
When using a framework, always install resources designed for that framework. Mixing ESX and QBCore resources will cause errors.
4. Database Resources
Many resources need a MySQL database (player data, vehicles, housing, etc.).
- NovaStack provides a MySQL database with every FiveM server.
- Connection details are in
server.cfgor the Database panel tab. - Use HeidiSQL, TablePlus, or any MySQL client with those connection details to import
.sqlfiles.
Was this article helpful?