# Overview

## 📝 Configuration Overview

All settings are in `config/config.lua`.

### 🎯 Main Sections

#### Framework Detection

```lua
Config.Framework = 'auto'  -- auto, qb, esx, qbox, standalone
```

#### Default Language

```lua
Config.Language = 'tr'  -- tr, en, de, fr, es, pt, ru
```

#### Database

```lua
Config.Database = {
    enabled = true,
    saveOnDisconnect = true
}
```

#### General

```lua
Config.General = {
    chatToggleKey = 'T',
    settingsCommand = 'chatset',
    maxMessages = 50,
    fadeTime = 15000
}
```

### 💬 Command Configuration

Each RP command has its own config:

```lua
Config.Me = {
    command = 'me',
    color = '#FF69B4',
    prefix = 'ME',
    range = 20.0,
    showAboveHead = true,
    aboveHeadDuration = 5000
}
```

Same structure for: `Config.Do`, `Config.Ooc`, `Config.AdminChat`

### 🔐 Admin Groups

```lua
Config.AdminChat = {
    allowedGroups = {
        'admin',
        'superadmin',
        'god',
        'mod',
        'moderator'
    }
}
```

### 🎨 Default Theme

```lua
Config.Settings = {
    defaultAccentColor = '#9B78C8',
    defaultBackgroundOpacity = 0.55,
    defaultFontSize = 13,
    presetColors = {
        '#9B78C8', '#FF69B4', '#5DADE2',
        '#48C9B0', '#F39C12', '#E74C3C',
        -- 12 colors total
    }
}
```

> 💡 Restart the resource after config changes!


---

# 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/chat/overview.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.
