THE ORB
Starting the studio

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.

groupsUnpredictable behaviourpersonYou can fix this

Do this first

Search your resources folder for that name and delete or move out the copy you are not using.

bug_reportPaste your whole console instead

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. 1

    A backup copy left in the tree

    [old]/qb-core alongside [qb]/qb-core. Renaming the FOLDER does not help if the manifest declares a name.

  2. 2

    Two frameworks that ship the same helper

    Two inventory scripts both shipping their own ox_lib, for example.

  3. 3

    An update unzipped beside the original

    my-script and my-script-new are fine; my-script twice is not.

  4. 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

Errors that travel with this one