# What is FiveM Escrow Protection?

### FiveM Escrow Protection

At **FiveStar Scripts**, we use the official **FiveM Escrow system** to protect our premium resources.\
This makes sure your purchased scripts only run on your **licensed server**, prevents unauthorized sharing, and protects the work of the developers.

***

### What Is FiveM Escrow?

**FiveM Escrow** is an encryption and licensing system created by **Cfx.re** (the team behind FiveM). It:

* 🔐 Encrypts the main source code of purchased scripts
* 🖥️ Allows the script to run **only** on servers that are properly licensed

So you can use the script on your server, but the core code cannot be leaked or modified.

***

### Which Files Are Protected?

Some parts of the script are locked (encrypted), while others remain open so you can configure and customize them.

**Protected (Encrypted):**

* Main script logic files (`*.lua`)
* Core systems and critical functionality

**Unprotected (Editable):**

* Configuration files (e.g. `config.lua`)
* Localization / language files (e.g. `locales/*.json`)
* Any files we intentionally leave open for customization

This structure lets you **configure** the script without having access to or modifying the core code.

***

### How to Use Your Purchased Scripts

#### 1️⃣ Licensed Server Required

Your scripts are tied to your license and will only run on the **authorized server**.\
Make sure you are using the correct server that matches your license.

***

#### 2️⃣ Code Editing Limitations

* 🔒 **Encrypted files cannot be edited** or decompiled.
* 🛠️ You can fully customize the script using the **open configuration files** like `config.lua` and other non-encrypted files.

***

#### 3️⃣ Installation & Activation

1. Upload the script folder to your server’s `resources` directory.
2. Check the `fxmanifest.lua` for dependencies and make sure they are installed.
3. Add the script to your `server.cfg` (e.g. `ensure script-name`).
4. Restart your server.

If everything is configured correctly and your license is valid, the script will start normally.

***

### FAQ

**❓ Can I use the script on multiple servers?**\
No. Each server needs its **own license**. A single license is only valid for the server(s) defined in the Tebex/Keymaster setup.

***

**❓ Can I edit the encrypted code?**\
No. Encrypted files are locked by the Escrow system.\
However, you can customize behavior and settings through the provided **config and localization files**.

***

**❓ Does the license last forever?**\
Licenses are not guaranteed to be permanently “lifetime.”\
Future changes in **FiveM’s Escrow system** or licensing policies may affect how licenses work going forward. Any important changes will be communicated through our store or documentation.
