# Installation

## 📥 Installation

### Step 1: Download

Download the elenashop folder from Tebex and place it in your server resources folder.

Your folder structure should look like this:

resources/ └── elenashop/ ├── html/ │ ├── index.html │ ├── style.css │ ├── script.js │ ├── sounds/ │ │ ├── add.mp3 │ │ ├── remove.mp3 │ │ ├── purchase.mp3 │ │ └── click.mp3 │ └── images/ (optional) ├── client/ │ └── client.lua ├── server/ │ └── server.lua ├── shared/ │ ├── config.lua │ └── locales.lua └── fxmanifest.lua

***

### Step 2: Add to server.cfg

Open your server.cfg file and add the following line:

ensure elenashop

Make sure elenashop starts AFTER your framework.

Example for QB-Core:

ensure qb-core ensure qb-inventory ensure elenashop

Example for ESX:

ensure es\_extended ensure ox\_inventory ensure elenashop

***

### Step 3: Configure

Open shared/config.lua and configure the script to your needs.

See the Configuration page for all available options.

***

### Step 4: Restart Server

Restart your server completely, or use the console command:

ensure elenashop

***

### Done!

That is it! The script is now installed and ready to use.

* No database setup required
* No additional dependencies required
* Framework is auto-detected

Visit any 24/7 store location and press E to open the market.

***

### Troubleshooting

#### Script not starting?

1. Check server console for errors
2. Make sure framework starts before elenashop
3. Verify folder name is exactly elenashop

#### UI not opening?

1. Check if NPC is spawned at store location
2. Make sure you are close enough (2m default)
3. Check if Config.UseInteraction is true

#### Framework not detected?

In config.lua, try setting manually:

Config.Framework = 'qb' -- for QB-Core Config.Framework = 'esx' -- for ESX


---

# 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://elena-scripts.gitbook.io/elenascripts/economy/shop/installation.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.
