# Installation

## Installation

### Step 1: Download

Download the latest release and extract `elena_airdrop` folder.

### Step 2: Place Resource

Move `elena_airdrop` into your server's `resources` folder.

`resources/`\
`[standalone]/`\
`elena_airdrop/`\
`client/`\
`server/`\
`html/`\
`config.lua`\
`fxmanifest.lua`

### Step 3: Database

The script automatically creates required tables on first start. No manual SQL import needed.

If you prefer manual setup, run `install.sql` in your database.

### Step 4: Server Config

Add to your `server.cfg`:

```cfg
ensure oxmysql
ensure ox_lib
ensure elena_airdrop
```

Make sure `elena_airdrop` starts AFTER your framework.

### Step 5: Configure

Edit `config.lua` to match your server setup. See Configuration page for details.

### Step 6: Restart

Restart your server. Check console for:

```
[Elena Airdrop] Framework: esx
[Elena Airdrop] Database ready
```

If you see both messages, installation is complete.


---

# 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/core-systems/airdrop/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.
