Duplicate resource <name>
You have two copies of the same script installed. The server picks one and ignores the other, and which one it picks is not predictable.
Do this first
Search your resources folder for that name and delete or move out the copy you are not using.
What it means
Two folders in the resources tree carry the same resource name. The server registers one and ignores the other, and which one wins is not something you should rely on.
What causes it
Ordered by how often it is the answer.
- 1
A backup copy left in the tree
[old]/qb-corealongside[qb]/qb-core. Renaming the FOLDER does not help if the manifest declares a name. - 2
Two frameworks that ship the same helper
Two inventory scripts both shipping their own
ox_lib, for example. - 3
An update unzipped beside the original
my-scriptandmy-script-neware fine;my-scripttwice is not. - 4
A "disabled" resource that is still in a scanned path
Prefixing a folder with
_does not hide it if the path is scanned.
How to tell which one is yours
Search the resources tree for the name:
find resources -maxdepth 3 -type d -name "qb-core"
Anything with two hits is your answer.
Where to look
Every scanned category folder in server.cfg.
How to fix it
Delete or MOVE OUT of the resources tree the copy you are not using. Renaming it in place is not enough if the folder is still inside a path the server scans.
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