RageKit

How to find and fix FiveM stream conflicts

A stream conflict is the same file name streamed by more than one started resource. Only one copy is used: the one from the resource that starts last in server.cfg. If the copies differ, the other resource's car, map or clothing shows the wrong model or texture. RageKit's Server Doctor scans the whole server, lists every conflict with the resources involved, says whether the copies are identical and which one wins, and can move the unused copies into a backup.

Updated

Before you start

  • The FiveM server folder with resources/ and server.cfg. The start order in server.cfg decides which copy wins.
  • Premium to apply the Remove duplicates fix. Scanning, the findings and the preview are free.

Steps

  1. Choose the server

    Open Server › Doctor and choose Choose server folder…. Pick the server data folder or its resources folder. The folder set in Settings › Dev server is used by default.

    • If your config has another name or place, use the server.cfg button in the toolbar to pick it.
  2. Scan

    Choose Scan. Server Doctor reads server.cfg and the cfg files it executes for what starts and in which order, then checks every resource together.

  3. Open the conflicts

    Go to Findings and filter by STREAM_CONFLICT, or click it under Problems by check on the Dashboard.

  4. Read each finding

    Each one names the file, the resources that stream it, whether they are identical copies or different files, and which resource starts last, so its copy is used.

    • Identical copies are harmless, they only waste space.
    • Different files mean one resource doesn't get its own asset.
    • Right-click a finding and choose Show each file to open every copy's folder, or Open in RPF Explorer to look at the one that wins.
  5. Decide: remove or rename

    If the copies are the same asset, remove the ones that aren't used. If they are different assets that happen to share a name, rename one, along with everything that refers to it.

  6. Preview the fix

    Choose Remove duplicates… on a finding, or Fix all N… on the group. The preview lists every file that will be moved to the backup and whether it is identical to the copy that is kept.

  7. Apply

    Choose Apply. The unused copies are moved into ragekit-backups/ next to resources/, and the server is scanned again. Undo in the dialog or in the Backups tab puts the files back.

Related clashes Server Doctor reports

STREAM_DUPLICATE: the same file twice inside one resource. Keep one copy, or rename the others if they are different assets.

VEHICLE_CONFLICT, HANDLING_CONFLICT and VARIATION_CONFLICT: several resources define the same vehicle model, handling name or carvariations entry.

MODKIT_ID_CONFLICT and SIREN_ID_CONFLICT: different mod kits or siren settings share an id, so vehicles get the wrong tuning parts or siren lights. Renumber kit… and Renumber siren… fix these.

ARCHETYPE_CONFLICT and YMAP_OVERLAP: the same archetype defined in two resources, or two maps built in the same spot.

ASSET_REPLACES_GAME: streamed files named like the game's own, so they replace them. This check needs your GTA V install open in the RPF Explorer with the World Viewer index built.

Common problems

No server.cfg was found: every resource is treated as started, in folder order, so the winner is a guess. Point Server Doctor at the right config and scan again.

A resource is missing from the conflicts: only started resources are compared. Resources that server.cfg never starts are listed as stopped.

You'd rather keep the packs together: merge the resources into one. Identical files are then shipped once.

Questions

What happens when two FiveM resources stream a file with the same name?

Only one copy is used: the one in the resource that starts last. The other resource gets that copy too, so if the files differ, its model or texture looks wrong in game.

Why do two of my addon cars share the same textures or parts?

Usually both resources ship a file with the same name, such as a shared .ytd or a tuning part, or their mod kits use the same id. Server Doctor lists both kinds of clash and which resource wins.

Is it safe to delete duplicate stream files?

If the copies are identical, yes: the game already uses only one. If they differ, check which one each resource needs first. Server Doctor's fix moves files into a backup instead of deleting them, and can be undone.

Can I check for conflicts without changing anything?

Yes. Scanning is free and changes nothing, and the report can be exported as an HTML page or JSON to share.

Tools in this guide

Get RageKit

Free download for Windows 10 and 11. No account needed for the free tools.

There's no Windows installer on the latest release yet. Check the changelog for when it lands.