fxmanifest.lua Explained for FiveM Server Owners
What each fxmanifest.lua line does in a FiveM resource: fx_version, game, scripts, files, data_file, dependencies, __resource.lua, lua54 and manifest errors.
- Applies to
- FiveM Legacy and FiveM for GTAV Enhanced resources; FXServer source of November 17, 2026; Lua 5.4 only since June 2025; qbx_core 1.24.1 and ESX Legacy 1.16.4 manifests
- Last verified
On this page
- Direct Answer
- What fxmanifest.lua is and where it goes
- Reading a real fxmanifest.lua: qbx_core 1.24.1
- The two required lines: fx_version and game
- client_scripts, server_scripts and shared_scripts
- files, ui_page and data_file in fxmanifest.lua
- dependencies, provide and runtime constraints
- Other fxmanifest.lua entries you will see
- lua54 ‘yes’ is deprecated: Lua 5.4 only since June 2025
- fxmanifest.lua vs __resource.lua
- Edit fxmanifest.lua on a running server
- Legacy vs Enhanced: what changes in the manifest
- Troubleshooting
- Next Steps
Direct Answer
fxmanifest.lua is the file in the root of every resource folder that tells FXServer what the resource contains and what to load. A resource needs two lines before FXServer will start it: fx_version (use 'cerulean') and game ('gta5' for FiveM). Below them, client_scripts, server_scripts and shared_scripts list the code, files lists extra files that players download, data_file registers game data such as vehicles.meta, and dependencies names what must run first. __resource.lua is the outdated name of the same file. lua54 'yes' is no longer needed: Lua 5.3 was removed in June 2025. After an edit, run refresh and ensure <resource>.
What fxmanifest.lua is and where it goes
FXServer loads resources from the resources folder in the server data directory. The Introduction to Resources page says every folder there is parsed as a resource, “except folders between [brackets] which are categories”, and that each resource folder has to contain a manifest called fxmanifest.lua to be parsed as a resource.
Two placement rules follow from FXServer’s resource scanner (the public citizenfx/fivem source, commit of November 17, 2026):
- The manifest sits directly in the resource folder. Only bracketed folders are searched for more resources. If a download unpacks as
resources/mypack/mycar/fxmanifest.lua, FXServer sees a resource namedmypackwithout a manifest and never looks inside it. Rename the outer folder to[mypack], or movemycarup one level. - A category folder must not have one. A bracketed folder that contains a manifest is reported as a category that “has a resource manifest”.
The file is Lua, but it is not a game script. The manifest reference says it runs “in a separate runtime from any Lua scripts in the resource” with “a semi-declarative syntax to be used for defining metadata”. Each line passes a value to a name: fx_version 'cerulean' is Lua shorthand for fx_version('cerulean'), and client_scripts { ... } passes a table. Three Lua rules matter when you edit one:
- Names are case-sensitive.
Client_Scriptandclient_scriptare different names. - Table entries need separators. Put a comma (or semicolon) between the entries inside
{ }. A comma after the last entry is allowed. --starts a comment. Putting--in front of a line switches it off.
Any name is accepted. The reference states that “metadata keys can be arbitrary”, and resources use this for their own settings: qbx_core’s manifest contains ox_lib 'locale', the module list that ox_lib’s documentation says you can set in fxmanifest.lua. The flip side is that a misspelled entry is not an error. FXServer stores client_scirpt 'client.lua' as custom metadata, and nothing ever runs that file.
Reading a real fxmanifest.lua: qbx_core 1.24.1
This is the complete manifest of qbx_core v1.24.1, the Qbox core released on October 30, 2026:
fx_version 'cerulean'
game 'gta5'
name 'qbx_core'
description 'The core resource for the Qbox Framework'
repository 'https://github.com/Qbox-project/qbx_core'
version '1.24.1'
ox_lib 'locale'
shared_scripts {
'@ox_lib/init.lua',
'modules/lib.lua',
'shared/locale.lua',
'shared/functions.lua',
}
client_scripts {
'client/main.lua',
'client/groups.lua',
'client/functions.lua',
'client/loops.lua',
'client/events.lua',
'client/character.lua',
'client/discord.lua',
'client/vehicle-persistence.lua',
'bridge/qb/client/main.lua',
}
server_scripts {
'@oxmysql/lib/MySQL.lua',
'server/motd.lua',
'server/main.lua',
'server/groups.lua',
'server/functions.lua',
'server/player.lua',
'server/events.lua',
'server/commands.lua',
'server/loops.lua',
'server/character.lua',
'server/vehicle-persistence.lua',
'server/convert/inventory.lua',
'bridge/qb/server/main.lua',
}
files {
'modules/*.lua',
'data/*.lua',
'shared/gangs.lua',
'shared/items.lua',
'shared/jobs.lua',
'shared/locations.lua',
'shared/main.lua',
'shared/vehicles.lua',
'shared/weapons.lua',
'bridge/qb/client/functions.lua',
'bridge/qb/client/drawtext.lua',
'bridge/qb/client/events.lua',
'bridge/qb/shared/main.lua',
'bridge/qb/shared/export-function.lua',
'config/client.lua',
'config/shared.lua',
'locales/*.json'
}
dependencies {
'/server:10731',
'/onesync',
'ox_lib',
'oxmysql',
}
provide 'qb-core'
lua54 'yes'
use_experimental_fxv2_oal 'yes'
| Lines | What they do | What happens when they are wrong |
|---|---|---|
fx_version, game | Declare the manifest version and the game | Either one missing, or a game other than gta5 or common: FXServer refuses to start the resource |
name, description, repository, version | Extra metadata “for documentation or internal use”, as Qbox’s guide puts it | Information only |
shared_scripts | Code loaded on both the server and the client | A wrong path prints a could not find shared_script warning and the file is skipped |
client_scripts, server_scripts | Code for players’ games and for the server | Same warning for a wrong path |
'@ox_lib/init.lua', '@oxmysql/lib/MySQL.lua' | Load a file from another resource | Not checked when the resource starts (see below) |
files | Extra files that players download with the resource | A wrong path prints a could not find file warning |
dependencies | FXServer build 10731 or newer, OneSync, and the ox_lib and oxmysql resources | Any one missing: the resource does not start |
provide 'qb-core' | Lets qbx_core stand in for qb-core | Scripts that need qb-core would not find it |
lua54 'yes' | Deprecated since June 2025 | Nothing: all Lua is 5.4 now |
use_experimental_fxv2_oal 'yes' | An experimental mode for native calls in Lua | Leave it as the author set it: the reference says vector unpacking “does not work when using OAL” |
The two required lines: fx_version and game
fx_version ‘cerulean’, ‘bodacious’ and ‘adamant’
fx_version selects a set of behaviours. FXServer’s source lists exactly three names, oldest first: adamant, bodacious and cerulean. The reference calls cerulean the current version, and each version includes the features of the earlier ones.
| fx_version | Date | What it adds |
|---|---|---|
cerulean | May 2020 | NUI pages load in a “secure context”; NUI callbacks must use https:// instead of http:// |
bodacious | February 2020 | Implies clr_disable_task_scheduler for C# server libraries; JavaScript contexts no longer define window |
adamant | December 2019 | Equivalent to the old-style version 44febabe-d386-4d18-afbe-5e627f4af937, which the reference still calls the current resource manifest version; requires a game line |
Qbox’s guide recommends cerulean as the newest and most secure. In a file named fxmanifest.lua, FXServer checks that the version is adamant or newer, so spell it exactly: the source knows no other words. Without the line it prints Resource <name> does not specify an `fx_version` in fxmanifest.lua. and refuses to start the resource.
game ‘gta5’, ‘rdr3’ or ‘common’
| Value | Meaning in the manifest reference |
|---|---|
gta5 | “Runs on FiveM.” |
rdr3 | “Runs on RedM.” |
common | “Runs on any game, but can’t access game-specific APIs - only CitizenFX APIs.” |
Use game 'gta5' for FiveM. games { 'rdr3', 'gta5' } declares both games, and oxmysql’s manifest is an example of game 'common'. FXServer refuses two cases: a resource whose game entries name neither the current game nor common, and one that lists common together with the current game, which the source calls “ill-formed”.
client_scripts, server_scripts and shared_scripts
| Entry | Loaded on | Notes from the reference |
|---|---|---|
client_script | Each player’s game | “implicitly adds the file to the resource packfile” |
server_script | The server | Loaded “on the server” |
shared_script | Both sides | Also added to the resource packfile |
The file extension picks the runtime: .lua for Lua, .net.dll for a .NET assembly and .js for JavaScript. All three entries accept wildcards. On each side, FXServer’s scripting code loads every shared_script entry first and then that side’s own scripts. Keep the order the author wrote: oxmysql’s documentation tells you to put its import line “above any other script files”.
Why client_scripts ‘client.lua’ never runs
The plural names are not separate entries. FiveM’s manifest loader, resource_init.lua, removes a trailing s only when the value is a table in braces:
client_scripts { 'client.lua' }andclient_script 'client.lua'both create aclient_scriptentry.client_script { 'a.lua', 'b.lua' }works as well.client_scripts 'client.lua', a plural name followed by a single quoted file, is stored under the nameclient_scripts, which nothing reads. The script never runs, and FXServer’s start check, which looks only atclient_script,server_script,shared_scriptandfileentries, prints no warning.
The same rule turns dependencies { ... } into entries named dependencie, which is why FXServer’s dependency loader checks both dependency and “dependencies without s”. It also means dependencies 'ox_lib', a plural name with a single quoted value, is stored as dependencies and never checked: write dependency 'ox_lib' or use braces.
Files from other resources: the @ prefix
A path that starts with @ loads a file from another resource. Framework and library documentation, and the framework manifests themselves, use these:
| Line | Source | Needs |
|---|---|---|
shared_script '@ox_lib/init.lua' | ox_lib documentation | ox_lib |
server_script '@oxmysql/lib/MySQL.lua' | oxmysql documentation | oxmysql |
'@es_extended/imports.lua' in shared_scripts | ESX tutorial, with dependencies { 'es_extended' } | es_extended |
'@esx_lib/imports.lua' in shared_scripts | es_extended’s own manifest in ESX Legacy 1.16.4 (October 18, 2026) | esx_lib |
FXServer’s file check skips these paths: its source says ”@ prefixes for files are special and handled later on”. If the other resource is missing, your resource still starts and the server console prints Failed to load script @ox_lib/init.lua. for that line. Qbox’s guide calls this a soft dependency: “if the resource is missing, your script might throw an error, but it will still run.” Listing the resource under dependencies as well makes it a hard requirement, which is what qbx_core does with ox_lib and oxmysql, and what the ESX tutorial’s comment asks for: “Ensure the script starts after es_extended so that the functions work.”
What players download
client_script, shared_script and file entries go into the resource packfile that players download. The ESX tutorial warns, in capitals, not to load “CONFIGS/FILES CONTAINING SENSITIVE DATA LIKE API KEYS AND WEBHOOKS” as shared scripts. Keep webhooks, API keys and passwords out of anything listed under shared_scripts, client_scripts or files.
files, ui_page and data_file in fxmanifest.lua
files(orfile) adds files to the resource packfile, “to be downloaded by clients upon loading the resource”. Use it for anything the game or the UI reads that is not a script: NUI pages, images, JSON and.metafiles. Qbox’s guide puts it the same way: files “like JSON, images, or configs”. Listing a script here downloads it but does not run it.ui_pagesets the resource’s NUI page. If it points to a file, that file “(along with its dependencies) has to be referenced using files”. es_extended’s manifest listshtml/ui.htmlunder both.loadscreensets an HTML file as the loading screen, which is also listed withfile.data_file 'TYPE' 'path'“Adds a data file of a specified type to the game extra content system.” The type comes from the Data Files reference, for exampleVEHICLE_METADATA_FILE,HANDLING_FILE,CARCOLS_FILEorAUDIO_WAVEPACK. In the reference’s own example, the files that thedata_filelines use are also listed underfiles.
FXServer’s start check never looks at data_file paths, so a wrong one prints no warning on the server. The complete set of lines for a car, and their order, is in the addon cars install guide.
The stream folder needs no line at all: FXServer collects everything under the resource’s stream/ folder by itself. On FiveM for GTAV Enhanced, when a stream_enhanced folder is present, its contents “are loaded instead of the stream folder”. That is a folder, not a manifest entry.
Wildcards (globbing) in fxmanifest.lua
These patterns come from the manifest reference:
| Pattern | Matches |
|---|---|
*.lua | a.lua, b.lua (not in subfolders) |
dir/*.dll | the .dll files in dir (not in subfolders) |
**/*.lua | dir1/a.lua, dir2/b.lua, dir1/dir2/f.lua |
**.lua | the same as above |
**/cl_*.lua | dir1/cl_hi.lua and similar |
The reference marks wildcard support on client_script, server_script, shared_script and on the file name of data_file. It does not mark file, but FXServer’s start check expands file entries the same way, and qbx_core lists locales/*.json under files. One gap to know: a pattern whose file name part begins with * gives no warning when it matches nothing, as long as its folder exists.
dependencies, provide and runtime constraints
dependency 'name' or dependencies { ... } “Requires the specified resource to load before the current resource.” FXServer’s dependency loader does three things with each name:
- Starts it first. If the dependency exists but is stopped, FXServer starts it before your resource.
- Blocks the start when it is missing. The console prints
Could not find dependency <dependency> for resource <resource>., orCould not start dependency ...when the dependency itself fails, and your resource stays stopped. - Stops dependants with it. Stopping a resource stops every started resource that depends on it. A comment in FXServer’s
ensurecode states the result: if res2 depends on res1, “res1 restarting will lead to res2 stopping but not being started again”. After you restart ox_lib or oxmysql on a live server,ensurethe resources that depend on it.
An entry that starts with / is a runtime constraint instead of a resource name. This is the reference’s example:
dependencies {
'/server:4500', -- requires at least server build 4500
'/policy:subdir_file_mapping', -- requires the server key to have 'subdir_file_mapping' granted
'/onesync', -- requires state awareness to be enabled
'/gameBuild:h4', -- requires at least game build 2189
'/native:0xE27C97A0', -- requires native 0xE27C97A0 to be supported
}
When a constraint fails, FXServer prints Resource '<name>' can't run: followed by a numbered list of reasons:
| Constraint | Requirement | Reason printed when it fails |
|---|---|---|
/server:<build> | An FXServer build at least this number | server needs to be <build> or higher |
/onesync | OneSync not disabled | onesync: OneSync needs to be enabled |
/gameBuild:<build> | sv_enforceGameBuild at least this build, using the same values as that convar | gameBuild(<value>): sv_enforceGameBuild needs to be at least <build> (current is <build>) |
/native:<hash> | A server-side native that the server supports | native(<hash>): native <hash> isn't supported |
/policy:<name> | A policy granted to the server key, such as subdir_file_mapping (clothing support) |
Current examples: qbx_core 1.24.1 requires /server:10731 and /onesync, oxmysql’s manifest at v2.14.3 (October 6, 2026) requires /server:12913, and es_extended in ESX Legacy 1.16.4 requires two natives. Raising sv_enforceGameBuild is covered in the game build guide.
provide 'name' “Marks the current resource as a replacement for the specified resource.” FXServer uses the providing resource when no resource has that name, or when the named one is stopped and the provider is running. qbx_core provides qb-core, which Qbox’s migration docs explain as the Qbox resource answering “to the old name, so scripts that need qb-something keep working”. oxmysql provides mysql-async and ghmattimysql.
Other fxmanifest.lua entries you will see
| Entry | What it does, per the reference | Note |
|---|---|---|
this_is_a_map 'yes' | Marks the resource as a GTA map and reloads map storage when it loads | Used by map and MLO resources; see the MLO install guide |
server_only 'yes' | “stops clients from downloading anything of this resource” | Any value works |
loadscreen_manual_shutdown 'yes' | Keeps the loading screen open until a script closes it with SHUTDOWN_LOADING_SCREEN_NUI | |
export, server_export | Declare a global function as an export of a client or server script | The reference suggests the exports('name', ...) function instead |
escrow_ignore { ... } | Lists the files the Asset Escrow system leaves unprotected | Asset Escrow is “Not implemented yet” on Enhanced |
node_version '22' | Picks the Node.js version for server JavaScript | On November 21, 2026 the reference lists 16 (the default) and 22; oxmysql sets 22 |
use_experimental_fxv2_oal 'yes' | One Argument List mode for Lua natives | “This feature is still experimental.” |
convar_category | Adds convars to the Project Settings page in FxDK | oxmysql’s manifest lists mysql_connection_string in one |
nui_callback_strict_mode | Restricts who may call the resource’s NUI callbacks | Default differs between Legacy and Enhanced (below) |
before_level_meta, after_level_meta | Load a level meta before or after the main one | Deprecated: “Wherever possible you should use data files.” |
lua54 ‘yes’ is deprecated: Lua 5.4 only since June 2025
On June 24, 2025, Cfx announced that “the Lua 5.3 runtime has been removed from Canary and will be removed from all release channels on our next production release date”, and that the Lua 5.4 runtime was updated to 5.4.8. The manifest reference now says of lua54: “This setting is deprecated and you do not need to enable it. As of June 2025, Lua 5.3 has been deprecated and all Lua scripts now use the 5.4 version.”
For a server owner this means:
- Adding
lua54 'yes'fixes nothing. There is no Lua 5.3 left to switch away from. - Existing lines can stay. The reference does not tell you to remove them, and current manifests still carry one: both qbx_core 1.24.1 and es_extended in ESX Legacy 1.16.4 contain
lua54 'yes'. - The ESX tutorial and the Cfx reference disagree. The ESX developing tutorial still comments the line as “Not always needed, needed for functions that require Lua 5.4”. The Cfx manifest reference says you do not need to enable it, because every Lua script now runs on 5.4.
A resource written for Lua 5.3 that broke in mid-2025 cannot be switched back from the manifest. The announcement lists the differences that can break old code, including these:
| Change in Lua 5.4 | Wording in the announcement |
|---|---|
json.decode is stricter | It “no longer accepts square brackets, unkeyed values, or numbers as keys” |
| No automatic string-to-number conversion in bitwise operations | The string library still converts for arithmetic, “but not for bitwise” operations |
math.random changed | It “now starts with a somewhat random seed” and “uses a different algorithm” |
print changed | It “does not call tostring to format its arguments” |
The script’s code has to change, so ask the author for an updated version.
fxmanifest.lua vs __resource.lua
__resource.lua is the earlier name of the manifest. Qbox’s guide says it “serves the same purpose but is now outdated and replaced by the fxmanifest system”. Both names are read by the same loader with the same entry names. The difference is the version line:
__resource.lua | fxmanifest.lua | |
|---|---|---|
| Version line | resource_manifest_version '<GUID>', now deprecated | fx_version 'cerulean' |
| Without a version line | The empty GUID 00000000-0000-0000-0000-000000000000 applies | FXServer refuses to start the resource |
game line | Not required; old manifests are allowed for GTA V only | Required |
In a May 30, 2021 forum reply, the user nta described the main difference: with the new file “you can’t ‘forget’ to specify a version and then be stuck to an older native definition file predating the universal native definitions.”
FXServer looks for fxmanifest.lua first and reads __resource.lua only when there is no fxmanifest.lua. If a folder has both, the old file is ignored. A syntax error in fxmanifest.lua does not make it fall back to __resource.lua.
During a resource scan, FXServer prints <name> has an outdated manifest (__resource.lua instead of fxmanifest.lua) for a resource that is new or changed in that scan, has client scripts, and declares neither an fx_version nor one of the last two old-style versions in FXServer’s list (44febabe-d386-4d18-afbe-5e627f4af937 or 05cfa83c-a124-4cfa-a768-c24a5811d8f9). It is a warning, and the resource still loads.
How to convert __resource.lua to fxmanifest.lua
- Copy the resource folder somewhere outside
resourcesas a backup. A copy anywhere insideresourcesis scanned as a resource too, and one with the same folder name triggers the “exists in more than one place” warning. - Rename the file from
__resource.luatofxmanifest.lua. The Introduction to Resources page says you “can replace the name with fxmanifest.lua and modify the structure inside for compatibility”. - Replace the version line. Delete the
resource_manifest_versionline and putfx_version 'cerulean'at the top. The reference marks the old line deprecated: “You should be using fxmanifest.lua and fx_version instead.” - Add
game 'gta5'below it. A new-style manifest without agameline does not start. - Keep the other lines. Script entries,
files,data_file,this_is_a_mapand the rest keep their names. - Check the NUI. If the resource has a
ui_page, its callbacks must usehttps://instead ofhttp://undercerulean. - Reload it. Run
refreshand thenensurewith the resource name, as described in the next section.
This is a map manifest after conversion, from a Cfx.re forum answer of June 19, 2022. The old __resource.lua held only a resource_manifest_version line with the GUID 77731fab-63ca-442c-a67b-abc70f28dfa5 and a this_is_a_map line:
fx_version 'cerulean'
game 'gta5'
author 'John Doe' -- optional
description 'Here could be your advertising' -- optional
version '1.0.0' -- optional
this_is_a_map 'yes'
Edit fxmanifest.lua on a running server
- Open the manifest at
resources/<resource>/fxmanifest.lua, or inside the[category]folder that holds the resource, and save your change. - Run
refreshin the server console. It “rescans the resources folder and loads all resource manifests in them”. The scan printsFound <n> new resources, and refreshed <n>/<n> resources.Any manifest warning or error is printed above that line, and a count such as1 warning was encountered.follows it. - Run
ensure <resource>.ensurerestarts the resource if it was started and starts it if it was not. - Read the result.
Started resource <name>means no check found a problem.Started resource <name> (<n> warnings)means it started anyway, with warnings printed above it: acould not findline is a missing file, and anAsset ... uses ... MiBline is a streamed asset over the size limits explained in the oversized assets guide.Couldn't start resource <name>.means a check refused it; the lines before it say which one.Couldn't find resource <name>.means no loaded resource has that name: check the folder name and the scan messages. - Ensure the dependants again if other resources depend on the one you restarted.
Legacy vs Enhanced: what changes in the manifest
The What’s Changed page for FiveM for GTAV Enhanced, the NUI callbacks page and the manifest reference give these manifest-related differences:
| Topic | FiveM Legacy | FiveM for GTAV Enhanced |
|---|---|---|
| NUI callback strict mode | Off; add nui_callback_strict_mode 'true' to opt in | On; add nui_callback_strict_mode 'false' to opt out |
| A blocked NUI callback | HTTP 404 and a console line ending “has been blocked by NUI Callback Strict Mode” | HTTP 403, and “nothing is printed to the console” |
| Streamed assets | stream folder | stream_enhanced replaces stream when present; stream alone still works but is deprecated |
Asset Escrow and escrow_ignore | Supported | “Not implemented yet” |
| Resource builders | Allowed | “Resources can no longer be builders.” |
.net.dll scripts | Handled by the Mono runtime | “Mono was replaced by .NET.” |
Strict mode means “only NUI belonging to the resource that registered a callback may invoke it”. Without it, the NUI docs warn, “a malicious resource could tap into” a callback that exposes sensitive data or management functions. A UI that calls another resource’s callbacks therefore stops working on Enhanced. The fix the docs give is for the author to move that logic into an export and register a proxy callback; the opt-out line brings back the old behaviour along with the old risk.
The page lists no change to fx_version, game, the script entries or dependencies. The console messages on this page were read in the public citizenfx/fivem source, commit of November 17, 2026.
Troubleshooting
“does not have a resource manifest (fxmanifest.lua)”
The scanner found a folder without a file named exactly fxmanifest.lua (or __resource.lua) directly inside it. The Introduction to Resources page says to “verify that the fxmanifest.lua is correctly named”. Then check for an extra folder level from unpacking, and rename a wrapper folder with brackets. Some resources create their manifest in a build step: oxmysql’s build script writes fxmanifest.lua, the repository’s .gitignore keeps that file out of the source code, and its README links the release download. Install the release, not the source code.
“does not specify an fx_version in fxmanifest.lua”
Add fx_version 'cerulean' at the top. If the line is there, check that it is not commented out with -- and that the word is one of cerulean, bodacious or adamant.
“does not support the current game (gta5)”
The manifest has no game line, or its game entries name neither gta5 nor common. Add game 'gta5'. The related message “specifies both common and a specific game. This is considered ill-formed.” means common and gta5 are both listed; keep only one.
“failed to load: Could not parse resource metadata file”
FXServer prints this as an error during the scan, followed by the manifest’s path and the Lua parser’s own message, and the resource is not loaded. The file is not valid Lua: look for a missing comma between table entries, an unclosed { or a missing quote. “Could not execute resource metadata file” means the file is valid Lua but failed while it ran; the text after the colon is the Lua error.
“could not find client_script” (defined in fxmanifest.lua)
The full form is could not find <type> `<path>` (defined in fxmanifest.lua:<line>), where <type> is client_script, server_script, shared_script or file. The path is relative to the resource folder and the number is the manifest line. The resource still starts, without that file. Correct the path or move the file.
A script is listed but never runs, with no warning
- Plural name with a single file.
client_scripts 'client.lua'is ignored; writeclient_script 'client.lua'or use braces. - Misspelled or wrongly capitalised name. It is stored as custom metadata.
- Listed under
files. Files are downloaded, not run. - A wildcard that matches nothing in an existing folder.
“Could not find dependency” or “can’t run”
Could not find dependency <dependency> for resource <resource>. means no resource with that folder name exists, and no other resource provides that name. A resource’s name is its folder name, so a folder called ox_lib-main is not ox_lib. A resource whose own manifest failed to load during the scan is removed and is not found either. Install it, rename its folder, or fix the name in dependencies. Resource '<name>' can't run: lists unmet constraints: update FXServer, enable OneSync or raise sv_enforceGameBuild.
“exists in more than one place”
<name> exists in more than one place (<path> is used, the duplicate is <path>) means two folders share a name, for example an old and a new copy of the same script. FXServer uses the path the message names as used. Delete the folder you do not want.
“is a category, but has a resource manifest”
The message continues “(if this is meant to be a resource, don’t use [] around the name)”. Remove the brackets from a folder that is a resource, or the manifest from a folder that is a category.
“has an outdated manifest (__resource.lua instead of fxmanifest.lua)”
Convert the file with the steps in the conversion section above. The resource keeps running in the meantime.
Works on Windows, files missing on Linux
Linux paths are case-sensitive. A 2020 forum thread about a vehicle pack that streamed on Windows but not on Linux ended with the advice to lowercase “folders, files and corresponding data written within any files, due to Linux’s case-sensitivity”. Make every path in the manifest match the file names on disk exactly.
An old script broke after June 2025
Lua 5.3 is gone, and lua54 'yes' cannot bring it back. Compare the script’s errors with the Lua 5.4 changes listed above, and get an updated version from its author.
Next Steps
- Place, order and start new resources with how to install FiveM scripts, or browse FiveCrate’s FiveM scripts category.
- Work through start errors with the couldn’t start resource guide.
- Fix exports that fail between resources with the no such export guide.
- Write the
filesanddata_filelines for a car with the addon cars install guide.
FiveM scripts from FiveCrate
Listed in the FiveCrate catalogue now.
Official documentation and repository references
- Cfx.re Docs: Resource Manifest
- Cfx.re Docs: Introduction to Resources
- Cfx.re Forum: Removal of Lua 5.3 Support
- Cfx.re Docs: What's Changed in FiveM for GTAV Enhanced
- citizenfx/fivem: ServerResources.cpp (resource start checks)
- citizenfx/fivem: ServerResourceList.cpp (resource scan messages)
- citizenfx/fivem: resource_init.lua (how manifest lines are read)
- Qbox Docs: How fxmanifests work
Related guides
Fix FiveM 'Couldn't Start Resource' and Dependency Errors
Couldn't start resource in FiveM means a start check failed. Read the line above it, then fix the dependency, manifest, server build or folder name.
Fix 'No Such Export in Resource' Errors in FiveM
Fix 'No such export in resource' in FiveM: find why the export is missing, then check the resource name, start order, client or server side and version.
How to Install FiveM Scripts and Resources Safely
How to install FiveM scripts: check the files, put the folder in resources, add its dependencies and SQL, then set the ensure order in server.cfg.
How to Add Addon Cars to a FiveM Server
How to add cars to a FiveM server: stream folder, vehicles.meta and data_file lines in fxmanifest.lua, ensure, a spawn test, pack merging and Enhanced.

