fx_version / game / manifest errors
A script's settings file is missing a line the server requires. It is usually a very old script.
Do this first
The script needs updating for modern FiveM. Check the seller for a newer version.
What it means
The manifest is missing a required declaration, or uses one the current server build no longer accepts. The resource cannot start.
Typical messages:
• fx_version was not set in the resource manifest
• game was not set in the resource manifest
• Resource <name> does not specify an fx_version
What causes it
Ordered by how often it is the answer.
- 1
No fxmanifest.lua at all
Only
__resource.lua, the pre-2019 format. Modern builds still read it, but nothing new supports it and half the manifest keys do not exist there. - 2
fx_version missing or misspelled
It must be one of the named versions, quoted:
cerulean(current),bodacious,adamant. - 3
game not declared
game 'gta5'is required. RedM usesgame 'rdr3'plus therdr3_warningline. - 4
Lua 5.4 features without the flag
lua54 'yes'is required for integer division, bitwise operators and goto.
How to tell which one is yours
The message names the missing key directly. This one rarely needs diagnosis.
Where to look
fxmanifest.lua, the first five lines.
How to fix it
fx_version 'cerulean'
game 'gta5'
lua54 'yes'
author 'you'
description 'what it does'
version '1.0.0'
shared_scripts { 'config.lua' }
client_scripts { 'client/*.lua' }
server_scripts { '@oxmysql/lib/MySQL.lua', 'server/*.lua' }Still stuck on your own code?
This page is what this error usually means. Paste your console into Server Fixer and it will rank everything in it and tell you what to do first, and if you would rather not touch it, ORBIE can repair the script and hand the resource back ready to drop in.
bug_reportOpen Server Fixer