> ## Documentation Index
> Fetch the complete documentation index at: https://docs.youba.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# FiveM Asset Escrow

> Learn how protected FiveM resources are delivered, installed, and authorized.

FiveM Asset Escrow protects selected resource files while confirming that a purchase belongs to the server owner. YB Scripts can keep core files protected while leaving configuration and supported integration files available for you to edit..

<CardGroup cols={2}>
  <Card title="Protected core" icon="lock-keyhole">
    Escrow-protected files run only when the server has a valid FiveM entitlement.
  </Card>

  <Card title="Editable setup" icon="file-cog">
    Configuration and integration files excluded by the creator remain readable and customizable.
  </Card>
</CardGroup>

## Download and install

<Steps>
  <Step title="Use the purchasing account">
    Sign in to the Cfx.re account that owns the resource and open **Purchased assets** in the [Cfx.re Portal](https://portal.cfx.re/assets/granted-assets).
  </Step>

  <Step title="Download the latest release">
    Download a fresh package whenever an update is published. Do not mix files from different versions.
  </Step>

  <Step title="Upload every included file">
    Extract the package into your resources folder. Keep the hidden `.fxap` file because some FTP clients skip hidden files.
  </Step>

  <Step title="Use the correct license key">
    Run the server with a license key owned by the Cfx.re account entitled to the resource, then start the resource normally.
  </Step>
</Steps>

<Warning>
  Do not rename, modify, or remove protected files. Only edit the configuration and integration files supplied for customization.
</Warning>

## Common entitlement errors

<AccordionGroup>
  <Accordion title="You lack the required entitlement" icon="key-round">
    Confirm that the server license key belongs to the purchasing account, then restart the server. If the asset was purchased on the wrong account, review the transfer option under **Purchased assets**.
  </Accordion>

  <Accordion title="Failed to verify protected resource" icon="message-square-warning">
    Upload the package again and verify that `.fxap` was transferred. Configure your FTP client to include hidden files.
  </Accordion>

  <Accordion title="Error parsing or loading a protected script" icon="triangle-alert">
    Update your FiveM server artifacts, download a fresh copy of the resource, and avoid combining separate releases.
  </Accordion>
</AccordionGroup>

<Card title="Official Asset Escrow guide" icon="arrow-up-right-from-square" horizontal href="https://forum.cfx.re/t/introducing-asset-escrow-for-your-resources/4777151">
  Read FiveM's explanation of entitlements, protected files, transfers, updates, and common errors.
</Card>
