# Configuration

Below is your **Config** table, along with a brief description of each setting. You can update these values directly in your `config.lua` (or equivalent).



| Parameter                                              | Description                                                                                                                                                                                                   | Example Value                                       |
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| <mark style="color:red;">`Config.Framework`</mark>     | Which framework to use (e.g., `"`<mark style="color:red;">`esx`</mark>`"`, `"`<mark style="color:red;">`qb`</mark>`"`, or `"`<mark style="color:red;">`auto`</mark>`"` if your code supports auto-detection). | <mark style="color:red;">`"esx"`</mark>             |
| <mark style="color:red;">`Config.Command`</mark>       | The chat command players can use to launch the Tic Tac Toe UI.                                                                                                                                                | <mark style="color:red;">`"tictactoe"`</mark>       |
| <mark style="color:red;">`Config.Proximity`</mark>     | The distance (in meters) within which players can invite others for multiplayer.                                                                                                                              | <mark style="color:red;">`10.0`</mark>              |
| <mark style="color:red;">`Config.MaxRankPlaces`</mark> | The number of top players (by total wins) to display on the leaderboard.                                                                                                                                      | <mark style="color:red;">`5`</mark>                 |
| <mark style="color:red;">`Config.Debug`</mark>         | If <mark style="color:red;">`true`</mark>, enables debug logs for troubleshooting.                                                                                                                            | <mark style="color:red;">`false`</mark>             |
| <mark style="color:red;">`Config.BotDifficulty`</mark> | AI difficulty for single-player matches (e.g., <mark style="color:red;">`0`</mark> - <mark style="color:red;">`1`</mark>).                                                                                    | <mark style="color:red;">`1`</mark>                 |
| <mark style="color:red;">`Config.LineWobble`</mark>    | A “wobble” effect for drawn lines in the in-game UI.                                                                                                                                                          | <mark style="color:red;">`20`</mark>                |
| <mark style="color:red;">`Config.XOWobble`</mark>      | A “wobble” effect for X’s and O’s.                                                                                                                                                                            | <mark style="color:red;">`20`</mark>                |
| <mark style="color:red;">`Config.Locale`</mark>        | The default language to use (e.g., `"`<mark style="color:red;">`en`</mark>`"`, `"`<mark style="color:red;">`de`</mark>`"`).                                                                                   | <mark style="color:red;">`"en"`</mark>              |
| <mark style="color:red;">`Config.ItemName`</mark>      | The internal name of the item (for inventory references).                                                                                                                                                     | <mark style="color:red;">`"tictactoe"`</mark>       |
| Config.ItemLabel                                       | The display name of the item (e.g., in ESX inventory).                                                                                                                                                        | <mark style="color:red;">`"TicTacToe Board"`</mark> |



```lua
Config = {
  Framework = "esx",
  Command = "tictactoe",
  Proximity = 10.0,
  MaxRankPlaces = 5,
  Debug = false,

  -- Bot settings
  BotDifficulty = 1,
  LineWobble = 20,
  XOWobble = 20,

  -- Language
  Locale = 'en',
  SupportedLocales = { 'en', 'de' },

  -- Item-based usage
  ItemName = "tictactoe",
  ItemLabel = "TicTacToe Board"
}

```
