๐Ÿ“Œ CommandList: Key Categories

The CommandList allows you to create categories for different keybinds.

Each category contains:

  • label: The name of the category

  • description: A short description of what the category includes

  • keysList: The list of keybinds inside that category

Example Category Structure:

["example_category"] = {  
    label = "Example Category",
    description = "All keybinds for Example actions",
    keysList = {
        ["example_action"] = {
            label = "Example Action",
            type = "client",  -- Runs a client-side event
            trigger = "example_event",
            defaultKey = "E"
        }
    }
}

Supported type Values:

Type
Description

client

Triggers a client-side event

server

Triggers a server-side event

command

Executes a command

Last updated