Poom Poom Shop Pass · 29.99€/mo

Tutorials

Escrow errors on FiveM: why a bought resource won't start

NXBy Team NolX
· 4 min read

Bunker Compound

You bought a map or a script, dropped it in your resources folder, added the ensure line, restarted, and the console spits out an escrow error. The interior isn't there, or the script never starts. It feels like the purchase is broken.

It almost never is. Escrow errors have a short list of causes, and nearly all of them are about which account owns what. Here's how to work through it.

What the error looks like

The exact wording changes between FXServer versions, but you'll see something in the server console along these lines when the resource starts:

[ script:resource] Failed to load resource richman-vault-residence:
You lack the required entitlement to use richman-vault-residence

Variations mention "authorization", "entitlement" or "escrow". Whatever the phrasing, the meaning is the same: the server tried to decrypt an escrowed file and Cfx.re said this server isn't allowed to.

For maps, the symptom in-game is usually an empty shell or the vanilla building with no interior, because the custom .ydr, .ytd and .ytyp files never loaded.

Cause 1: wrong Cfx.re account at checkout

This is the big one. When you bought on Tebex, you logged in with a Cfx.re account. The asset was granted to that account. If your server's license key was generated on a different account, the check fails.

How to verify:

  • Open your Tebex receipt and note the Cfx.re username.
  • Log in to portal.cfx.re with that account and check Granted Assets. The resource should be listed there.
  • Still on the portal, check whether the server key you use is listed under that same account.

If the asset is on account A and your key is on account B, you have two options: generate a new key on account A and use it, or ask the creator whether a transfer is possible. Generating a new key is usually faster.

Cause 2: the license key in server.cfg

Even with the right account, people sometimes have an old key in server.cfg, or two sv_licenseKey lines where the second one overrides the first. Open the file and search:

sv_licenseKey "cfxk_xxxxxxxxxxxxxxxx"

There should be exactly one. If you use a hosting panel, check that it isn't injecting its own key through a startup variable. Several panels do this and it catches people out constantly.

Cause 3: an old or shared copy of the files

If the files came from anywhere other than your own Granted Assets page (a friend, a dev who "already had it", an old backup from another account), they're encrypted for whoever originally downloaded them. Delete the folder and download a fresh copy from the portal.

Same goes after a creator update. Mixing files from two versions can break decryption. Replace the whole folder, don't merge.

Cause 4: a renamed resource or edited encrypted files

Keep the folder name the creator shipped. Renaming is the kind of change that seems harmless and then costs you an evening, so rule it out early. Editing encrypted files is worse. If someone opened a .fxap-protected file or an encrypted stream asset in an editor and saved it, it's corrupted. Re-download.

If you need to change something, stick to the files the creator left open. On our maps that's config.lua and the modified vanilla files (collisions, ymaps, occlusion).

Cause 5: outdated server artifacts

Escrow relies on the server artifacts being recent enough. If you're running an FXServer build from a long time ago, update it. It's good practice anyway, and newer game builds require newer artifacts regardless.

Not actually an escrow error

Some problems look like escrow but aren't:

  • The resource loads but the map is missing pieces. Usually the game build is too low. Our Richman maps need sv_enforceGameBuild 2944 or newer, Grapeseed and Sandy Shores need 3717 or newer. See our game build guide.
  • "Couldn't find resource". The folder name doesn't match the ensure line, or the resource sits in a subfolder without brackets, like resources/maps/ instead of resources/[maps]/.
  • Collisions missing or falling through the floor. Often another map is replacing the same vanilla collision file. That's a conflict, not escrow.

A checklist you can run in five minutes

[ ] Tebex receipt account == account listing the asset in Granted Assets
[ ] sv_licenseKey generated on that same account
[ ] Only one sv_licenseKey, no panel override
[ ] Fresh download from portal.cfx.re, whole folder replaced
[ ] Server artifacts reasonably recent
[ ] sv_enforceGameBuild meets the asset's requirement

Restart fully after each change, not just restart <resource>, since the license check happens when the server boots.

When to contact the creator

If you've confirmed the asset is on the right account, the key is on the same account, the files are fresh and the server is up to date, then it's worth contacting the seller. Some creators offer support for this; we don't provide support on our side, which is exactly why we wrote this down. The FAQ covers the rest of what we're usually asked.

Keep reading

More from the Journal