Couldn't start or find resource
The server cannot locate a resource or its manifest. Almost always a folder name or fxmanifest problem.
The error
Couldn't start resource my_script.Why it happens
- The folder name does not match the name in
ensure(names are case sensitive on Linux). - The resource is nested one folder too deep, e.g.
resources/my_script/my_script/fxmanifest.lua. fxmanifest.luais missing, or the resource still uses the old__resource.lua.- The manifest is missing
fx_versionorgame.
How to fix it
- Open the folder and check that
fxmanifest.luasits directly inside it. - Make sure the folder name matches the
ensureline exactly. - Check the manifest has the basics:
Lua
fx_version 'cerulean'
game 'gta5'
lua54 'yes'
client_scripts { 'client.lua' }
server_scripts { 'server.lua' }
- In the server console run
refreshand thenensure my_script. Read the lines printed just above the error, they usually name the exact file that failed.