Updated 29 November 2026
Every FiveM resource needs an fxmanifest.lua in its folder. It tells the server which files to load on the client, on the server or on both, and which other resources must start first. Our free fxmanifest generator builds one from a form.
Script resource
fx_version 'cerulean'
game 'gta5'
lua54 'yes'
author 'You'
description 'My script'
version '1.0.0'
shared_scripts {
'config.lua'
}
client_scripts {
'client/*.lua'
}
server_scripts {
'server/*.lua'
}
dependencies {
'qb-core' -- or es_extended / qbx_core
}- fx_version 'cerulean' is the current manifest version.
- lua54 'yes' enables Lua 5.4. Leave it out only for very old scripts.
- shared_scripts load on both sides. Put config.lua here.
- Server scripts can use '@oxmysql/lib/MySQL.lua' first if the script uses oxmysql.
Add-on vehicle
fx_version 'cerulean'
game 'gta5'
files {
'data/vehicles.meta',
'data/carvariations.meta',
'data/carcols.meta',
'data/handling.meta'
}
data_file 'HANDLING_FILE' 'data/handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'data/vehicles.meta'
data_file 'CARCOLS_FILE' 'data/carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/carvariations.meta'Put the .yft and .ytd model files in a folder named stream. FiveM streams that folder automatically.
MLO or map
fx_version 'cerulean'
game 'gta5'
this_is_a_map 'yes'
data_file 'DLC_ITYP_REQUEST' 'stream/*.ytyp'Map files (.ymap, .ytyp, .ybn, .ydr) go in the stream folder as well.
NUI page
ui_page 'web/index.html'
files {
'web/index.html',
'web/style.css',
'web/app.js'
}After you change fxmanifest.lua, run refresh and then ensure <resource> in the server console, or restart the resource from txAdmin.
Need the manifest for a whole new resource? Describe the resource in FiveDev in-game and it creates the files, manifest included, for you to review.