> For the complete documentation index, see [llms.txt](https://mstudio-1.gitbook.io/mstudio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mstudio-1.gitbook.io/mstudio/kz-resources/editor-7/config.md).

# Config

{% code title="config.lua" %}

```lua
Config = {}

Config.Framework = 'esx'          -- 'esx' | 'qb' | 'qbx'
Config.Locale = 'en'              -- 'en' | 'it' | 'es'
Config.BotToken = 'BOT_TOKEN'     -- It is used to take the discord image

Config.ShowStats = {              -- Decide what to show in the menu
  id = true,
  cash = true,
  bank = true,
  customAccount = {
    enabled = false,
    name = "coin",                -- Account name
    icon = "fa-solid fa-coins"
  }
}

Config.KeyBinds = {
  commandName = '_togglePauseMenu',
  description = 'Open/Close PauseMenu',
  key = 'ESCAPE'
}

Config.MaxPlayers = 64            -- Max Players

Config.Announcements = {
  {title = "RESTART SERVER", message = "Maintenance scheduled at 04:00 AM", time = "04:00"},
  {title = "NEW CARS", message = "Available now from the Luxury dealer", time = "NEW"},
  {title = "EVENT CITY", message = "Clandestine race at Vespucci tonight!", time = "22:30"},
  {title = "SHOP DISCOUNTS", message = "Everything 20% off this weekend", time = "OFFER"},
}

Config.ExitFunction = function(src)
  DropPlayer(src, 'You have exited the server')
end
```

{% endcode %}
