# Configuration

## Configuration

All main settings are inside:

```txt
config.lua
```

***

### Framework

```lua
Config.Framework = "auto"
```

Options:

```txt
auto
esx
qb
qbox
standalone
```

***

### Inventory

```lua
Config.Inventory = "ox_inventory"
```

Options:

```txt
ox_inventory
qb-inventory
qs-inventory
codem-inventory
native
```

***

### Target System

```lua
Config.Target = "ox_target"
```

Options:

```txt
ox_target
qb-target
none
```

If you use `none`, players open the shop with `E` near the shop location.

***

### Currency

```lua
Config.Currency = "bank"
```

Options:

```txt
bank
cash
```

***

### Command

```lua
Config.CommandEnabled = true
Config.Command = "skinshop"
```

If enabled, players can open the shop with:

```txt
/skinshop
```

***

### Debug

```lua
Config.Debug = false
```

Options:

```txt
true
false
```

Use `true` only for testing.

***

### Discord Webhook

```lua
Config.DiscordWebhook = ""
```

Example:

```lua
Config.DiscordWebhook = "https://discord.com/api/webhooks/xxx/xxx"
```

***

### Standalone Mode

```lua
Config.StandaloneMoneyCheck = false
```

Behavior:

```txt
false = skins are free in standalone mode
true  = purchase will be blocked in standalone mode
```

***

### Shop Location

```lua
Config.ShopLocation = {
    coords = {x = 22.11, y = -1105.52, z = 29.8},
    heading = 156.0,

    npc = {
        enabled = true,
        model = "s_m_m_highsec_01",
        scenario = "WORLD_HUMAN_CLIPBOARD"
    },

    blip = {
        enabled = true,
        sprite = 110,
        color = 5,
        scale = 0.8,
        label = "Weapon Skin Shop"
    }
}
```

***

### Preview Settings

```lua
Config.Preview = {
    location = {x = 22.11, y = -1105.52, z = 30.5},
    camOffset = {x = 0.0, y = 2.0, z = 0.3},
    camFov = 30.0,
    mouseRotateSpeed = 15.0,
    mouseVerticalSpeed = 0.08,
    zoomSpeed = 2.0,
    minFov = 10.0,
    maxFov = 60.0
}
```

***

### Rarity Colors

```lua
Config.RarityColors = {
    ["common"] = "#b0b0b0",
    ["rare"] = "#4fc3f7",
    ["epic"] = "#ce93d8",
    ["legendary"] = "#ffd54f",
    ["mythic"] = "#ff5252"
}
```


---

# 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/gameplay/weapon-skins/configuration.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.
