> For the complete documentation index, see [llms.txt](https://botiv.gitbook.io/rdr2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://botiv.gitbook.io/rdr2/quick-keys-menu.md).

# Quick Keys Menu

**The keybind is a menu that allows you to use any key on your keyboard in the game. You need to apply the keybindings.sql file and run the script.**

<mark style="color:green;">Here is an excerpt from the config.lua file : (parts of the excerpt are hidden)</mark>

```lua
Config = {}
Config.DEBUG = false
Config.openKey = "F1"
Config.RefreshTime = 200 -- In milliseconds, the time it takes for the script to check the other menus (do not go below 100).
Config.UseVorpMenu = true -- true -> use vorp menu / false -> use warmenu
Config.DeadCloseMenu = true -- close Menu when player dead
Config.DisableControlCloseMenu = true -- close menu when DisableAllControlActions(0) is call
Config.blackKey = { "TAB", "ESCAPE", "SHIFT" } -- key blacklist (example)
Config.resetKey = "DELETE" -- key used to remove assigned key

--[[
Exemple :
["Open Inventory"] = {
    key = nil,
    eventCall = {
        clientEvent = "vorp_inventory:OpenInv",
        serverEvent = ""
        command = "",
        keypad = "", -- You can use 0xF1301666 or keys["R"] from shared/KEYS.lua
    },
    -- optional description
    description = "The key to open your inventory"
    -- optionnal job/group whitelist (you can use both at the same time)
    allowedGroups = { "admin", "mod" } -- groups allowed
    allowedJobs = { "farmer", "bartender" }, -- jobs allowed
    --
}]]

Config.Binds = {
    ["Crouch"] = {
        key = nil,
        eventCall = {
            keypad = 0xDB096B85
        },
        description = "The key to crouch"
    },
    ["Reload Character"] = {
        key = nil,
        eventCall = {
            command = "rc"
        },
        description = "The key to reload your char"
    },
    ["Bartebder Menu"] = {
        key = nil,
        eventCall = {
             clientEvent = "",
             serverEvent = ""
             command = "",
             keypad = "",
        },
        allowedJobs = { "bartender" }, -- jobs allowed
    },
    ["Open Admin Menu"] = {
        key = nil,
        eventCall = {
            command = "adminMenu"
        },
        allowedGroups = { "admin", "mod" }, -- groups allowed
    }
}
    -- this content is hidden in the excerpt
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://botiv.gitbook.io/rdr2/quick-keys-menu.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.
