# Installation

This page will walk you through **how to install Arena PvP** step-by-step in a clear and visual way, so you avoid errors and get it working smoothly.

***

### 🔒 1️⃣ Download the Script

1. Log in to the **official CFX (FiveM) portal** with your account.
2. Go to **“Granted Assets”** to access your purchased resources.
3. Download the following files:

* **Energy Arena PvP 3 Standalone** — the main script
* **Energy Arena V3 Maps** — additional map files

> 📌 You can re-download assets anytime from the portal if updates are released.&#x20;

***

### 📁 2️⃣ Add Files to Your Server

After downloading everything:

1. Open your **server files** on your local machine or host panel.
2. Go to the **resources** directory.
3. Move all related folders into it:
4. resources/\
   ├─ energy\_arenapvpv3\
   ├─ energy\_arenamapsv3

***

### 📝 3️⃣ Update server.cfg

Next you must tell your server to load the scripts on startup.

Open your `server.cfg` file (in your main server directory) and add the lines **in this exact order**:

ensure energy\_arenapvpv3\
ensure energy\_arenamapsv3

📌 Order matters — ensure these come **before any other unrelated script lines**.

***

### 🔄 4️⃣ Restart the Server

Once the entries are saved in `server.cfg`:

or simply reboot the whole server.

✅ This applies the configuration changes and loads the Arena PvP scripts correctly.

***

### 📌 Tips & Troubleshooting

🔹 **Scripts not starting?**\
Check that:

* Folders are in the correct path
* Names don’t contain spaces or extra characters
* You added the `ensure` lines in `server.cfg` properly

🔹 **Dependencies failing?**\
Re-download and extract again — some zip downloads add extra folders.&#x20;

***

### ▶️ Next Steps (Recommended)

After installation:

* Configure your **framework support** if needed (ESX, QBcore, vRP, etc).
* Open the configuration file to customize Arena PvP rules, modes and maps.
* Make sure your permissions and admin settings are configured so you can start arena matches.

***

✨ **You are now ready to install Arena PvP on your FiveM server!**\
If you need help with framework setup or configuration, visit the next section.
