# CFX Auth system

## 🔐 Paid Scripts & FXAP (CFX Asset System)

Everything you need to know about how **paid scripts** work using the official **CFX Asset Escrow System (FXAP)**.\
This guide will help you understand where to find your assets, how to authorize them, and how to fix common issues.

***

### 📦 Where Are My Scripts?

Once your purchase is complete, your scripts are linked to your **CFX Keymaster account**.

> 🔗 Access your purchased assets here:\
> 👉 <https://keymaster.fivem.net/asset-grants>

***

### 💡 What Is FXAP?

**FXAP** (FiveM Asset Purchases) is the official **escrow system** from CFX.re.\
It ensures that paid resources are securely delivered and can only be used by authorized servers.

Key features:

* Your script is **linked to your CFX account**
* The asset is **encrypted and protected**
* It will only work on servers that you **own or have licensed keys for**

***

<figure><img src="https://www.gitbook.com/cdn-cgi/image/dpr=2,width=760,onerror=redirect,format=auto/https%3A%2F%2Fcontent.gitbook.com%2Fcontent%2FCHOcFFobDFrsPx8NF8do%2Fblobs%2FVSdN1d8eegCLZeKO9Eyj%2FCapture%2520d%25E2%2580%2599%25C3%25A9cran%25202024-02-05%2520105008.png" alt=""><figcaption></figcaption></figure>

### ❓ Can’t Find Your Purchased Script?

If you’re not seeing your asset in Keymaster, here are a few common reasons:

* You bought the resource with a **different CFX account**
* You’re **logged into the wrong account** on Keymaster
* You're using a **server key that doesn't match** the account that owns the script

***

### 🔄 How to Transfer an Asset to Another Account

If you made a purchase with the wrong account, you can **transfer the asset** to the correct one.

> 📖 Follow the official CFX asset transfer guide:\
> 👉 <https://docs.fivem.net/docs/assets/asset-transfers/>

Make sure to transfer it to the account that holds your **server key(s)**.

***

### ⚙️ How to Use Your Script In-Game

To ensure the script works properly on your server:

1. Place the resource in your server’s `resources` folder
2. Double-check that your **server key belongs to the same CFX account** that owns the script
3. Add `ensure yourscriptname` to your `server.cfg`
4. Start your server — if all is correctly configured, the resource will load without issues

***

### 🛠️ Need Help?

If you're still running into issues after following this guide, don’t worry.\
Open a ticket in our support Discord — we’re here to help:

> 💬 [https://discord.gg/kMdMhDKwrA&#x20;> ](<https://discord.gg/kMdMhDKwrA &#xD;&#xA;>)

***

> 🧠 Tip: Always double-check which CFX account you're using before purchasing a script to avoid transfer issues.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rex-studio.gitbook.io/rex-studio-docs/cfx-and-other/cfx-auth-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
