# You lack the required entitlement

<h3 align="center">What does this mean?</h3>

All scripts which are using the <mark style="color:orange;">FiveM</mark> escrow system, are linked to your <mark style="color:orange;">FiveM</mark> account (the account you used on <mark style="color:blue;">Tebex</mark>).\
\
In order to work, the script(s) require to run in a server which is using a server key created by the same <mark style="color:orange;">FiveM</mark> account you used on <mark style="color:blue;">Tebex</mark>.\
\
You can create or manage your server key in [<mark style="color:orange;">**FiveM**</mark>**&#x20;Keymaster**](https://portal.cfx.re/servers/registration-keys).\
\ <mark style="color:$danger;">Error</mark> message example:\ <kbd>You lack the required entitlement to use \<resource-name></kbd>

<h3 align="center">What is a server key?</h3>

* The server key is the key that can be generated in [<mark style="color:orange;">**FiveM**</mark>**&#x20;Keymaster**](https://portal.cfx.re/servers/registration-keys)**.**
* The server key it's **not** a script key.
* A <mark style="color:orange;">FiveM</mark> server can use only **1** server key.

<h3 align="center">Example of a server key in server.cfg</h3>

```
sv_licenseKey "27ztq5g2pcjua67q4xywujkuzh5m7j4a"
```

<h3 align="center">How to verify my server key?</h3>

To verify what server key your server is currently using, you have to use the following command in your <mark style="color:orange;">FiveM</mark> server console:&#x20;

```
sv_licenseKey
```

<h3 align="center">How to verify if I am using the correct server key?</h3>

To verify if you are using the correct **server key**, follow these steps:

1. Use the command `sv_licenseKey` in your <mark style="color:orange;">FiveM</mark> server console.
2. Take note of the **server key** you are currently using.
3. Go to [<mark style="color:orange;">**FiveM**</mark>**&#x20;Keymaster**](https://portal.cfx.re/servers/registration-keys)**.**
4. Verify if in the account which you are logged in [<mark style="color:orange;">FiveM</mark> Keymaster](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc) owns the script(s) you are trying to use. If the script is not there, it means you used a different account on <mark style="color:blue;">Tebex</mark>, or you have transferred the script to another account.
5. If the account you are using in [<mark style="color:orange;">FiveM</mark> Keymaster](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc) owns the script(s), you have to verify if the **server key** your server is using, it's generated by the same account.

<h3 align="center">My server key is generated by someone else that's not me, what can I do?</h3>

You have 2 options:

1. Generate a key from your account and to use it
2. Transfer the script ownership to the other account

<h3 align="center">How to transfer the script to another account?</h3>

To transfer the script to another account, you can head to:\
[<mark style="color:orange;">FiveM</mark> Keymaster](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=desc) by clicking on the script you wish to transfer, then click the <kbd>**TRANSFER**</kbd> button and entering the name of the cfx.re user to who you wish to transfer the script.\
\
**Note: cfx.re decided that the scripts can be transferred only 1 time, so you won't be able to transfer the script again**

<h3 align="center">ZAP-Hosting server key</h3>

If you are using a Zap-Hosting server, you do **not** have to enter your server key in server.cfg, but directly in their website\
\
[Here there is the official guide of ZAP hosting for it](https://zap-hosting.com/guides/docs/en/fivem_licensekey/)\
\
Example screenshot:<br>

<figure><img src="/files/7B8agMgFNr9nRSu0F7N2" alt=""><figcaption></figcaption></figure>


---

# 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://b14ck.gitbook.io/b14ck-scripts/fivem-escrow-errors/you-lack-the-required-entitlement.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.
