> For the complete documentation index, see [llms.txt](https://secret-code.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://secret-code.gitbook.io/docs/creators/secret-chat/configuration.md).

# Configuration

## **Configure Your Framework**

1. Open the configuration file located at:

   ```plaintext
   Secret-Chat/config.lua
   ```
2. You will see the following structure:

   ```lua
   Config, Server = {}, {}

   Server.Framework = 'esx' -- 'esx', 'qbcore', or 'standalone'

   Server.language = 'es'  -- 'es' or 'en'
   ```
3. **Set Your Framework**
   * The script is pre-configured to work with `esx`, `qbcore`, or `standalone`.
   * Choose the framework that matches your server setup by modifying the value of `Server.Framework`.
4. **Set the Language**
   * Define the language for the script using `Server.language`.
   * Available options:
     * `'es'` for Spanish
     * `'en'` for English

***

**Additional Customization**

If you need to make custom changes to the script's functionality, you can do so in the following directory:

```plaintext
Secret-Chat/custom/*.lua
```

This ensures flexibility while keeping the main configuration intact.

The rest of the configuration is managed directly through our in-game panel, designed to be incredibly user-friendly and intuitive. No need to deal with complicated files—everything can be set up effortlessly within your server for maximum convenience! 🎮🚀
