🔧 Configuration File (config.lua)
The configuration file (config.lua
) is structured as follows:
return {
OpenMenu = "F10", -- Default key to open the menu
MenuTranslate = { -- UI Translations
title = "Which Area Would You Like to Edit?",
shortcut = "Which Shortcut Should It Work With?"
},
CommandList = {
["admin"] = {
label = "Admin",
description = "You can set all key combinations related to Admin",
keysList = {
["open_admin_menu"] = {
label = "Open Admin Menu",
type = "command", -- Runs a command
trigger = "admin", -- Command name
defaultKey = "F11"
},
["noclip"] = {
label = "Noclip",
type = "command", -- Runs a command
trigger = "noclip", -- Command name
defaultKey = "F12"
},
}
},
["general"] = {
label = "General Interactions",
description = "You can set all key combinations related to Admin",
keysList = {
["battlepass"] = {
label = "Open Battlepass Menu",
type = "client", -- Triggers a client-side event
trigger = "maV-battlepass:Open", -- Event Name
defaultKey = "J"
},
["vipmenu"] = {
label = "Open Vip Menu",
type = "command", -- Runs a command
trigger = "vipmenu", -- Command name
defaultKey = "Z"
}
}
}
},
KeyList = { -- List of supported keys
{label = "Backspace", value = "BACK"},
{label = "Tab", value = "TAB"},
{label = "Enter", value = "RETURN"},
{label = "Pause Break", value = "PAUSE"},
{label = "Caps Lock", value = "CAPITAL"},
{label = "Escape", value = "ESCAPE"},
{label = "Space bar", value = "SPACE"},
{label = "Page Up", value = "PAGEUP"},
{label = "Page Down", value = "PAGEDOWN"},
{label = "End", value = "END"},
{label = "Home", value = "HOME"},
{label = "Left Arrow", value = "LEFT"},
{label = "Up Arrow", value = "UP"},
{label = "Right Arrow", value = "RIGHT"},
{label = "Down Arrow", value = "DOWN"},
{label = "Print Screen", value = "SYSRQ"},
{label = "Insert", value = "INSERT"},
{label = "Delete", value = "DELETE"},
{label = "0", value = "0"},
{label = "1", value = "1"},
{label = "2", value = "2"},
{label = "3", value = "3"},
{label = "4", value = "4"},
{label = "5", value = "5"},
{label = "6", value = "6"},
{label = "7", value = "7"},
{label = "8", value = "8"},
{label = "9", value = "9"},
{label = "A", value = "A"},
{label = "B", value = "B"},
{label = "C", value = "C"},
{label = "D", value = "D"},
{label = "E", value = "E"},
{label = "F", value = "F"},
{label = "G", value = "G"},
{label = "H", value = "H"},
{label = "I", value = "I"},
{label = "J", value = "J"},
{label = "K", value = "K"},
{label = "L", value = "L"},
{label = "M", value = "M"},
{label = "N", value = "N"},
{label = "O", value = "O"},
{label = "P", value = "P"},
{label = "Q", value = "Q"},
{label = "R", value = "R"},
{label = "S", value = "S"},
{label = "T", value = "T"},
{label = "U", value = "U"},
{label = "V", value = "V"},
{label = "W", value = "W"},
{label = "X", value = "X"},
{label = "Y", value = "Y"},
{label = "Z", value = "Z"},
{label = "Left OS/Windows Key", value = "LWIN"},
{label = "Right OS/Windows Key", value = "RWIN"},
{label = "Context Menu Key", value = "APPS"},
{label = "Numpad 0", value = "NUMPAD0"},
{label = "Numpad 1", value = "NUMPAD1"},
{label = "Numpad 2", value = "NUMPAD2"},
{label = "Numpad 3", value = "NUMPAD3"},
{label = "Numpad 4", value = "NUMPAD4"},
{label = "Numpad 5", value = "NUMPAD5"},
{label = "Numpad 6", value = "NUMPAD6"},
{label = "Numpad 7", value = "NUMPAD7"},
{label = "Numpad 8", value = "NUMPAD8"},
{label = "Numpad 9", value = "NUMPAD9"},
{label = "Numpad Multiply", value = "MULTIPLY"},
{label = "Numpad Plus", value = "ADD"},
{label = "Numpad Subtract", value = "SUBTRACT"},
{label = "Numpad Decimal", value = "DECIMAL"},
{label = "Numpad Slash", value = "DIVIDE"},
{label = "Numpad Equals", value = "NUMPADEQUALS"},
{label = "Numpad Enter", value = "NUMPADENTER"},
{label = "F1", value = "F1"},
{label = "F2", value = "F2"},
{label = "F3", value = "F3"},
{label = "F4", value = "F4"},
{label = "F5", value = "F5"},
{label = "F6", value = "F6"},
{label = "F7", value = "F7"},
{label = "F8", value = "F8"},
{label = "F9", value = "F9"},
{label = "F10", value = "F10"},
{label = "F11", value = "F11"},
{label = "F12", value = "F12"},
{label = "F13", value = "F13"},
{label = "F14", value = "F14"},
{label = "F15", value = "F15"},
{label = "F16", value = "F16"},
{label = "F17", value = "F17"},
{label = "F18", value = "F18"},
{label = "F19", value = "F19"},
{label = "F20", value = "F20"},
{label = "F21", value = "F21"},
{label = "F22", value = "F22"},
{label = "F23", value = "F23"},
{label = "F24", value = "F24"},
{label = "Num Lock", value = "NUMLOCK"},
{label = "Scroll Lock", value = "SCROLL"},
{label = "Left Shift", value = "LSHIFT"},
{label = "Right Shift", value = "RSHIFT"},
{label = "Left Control", value = "LCONTROL"},
{label = "Right Control", value = "RCONTROL"},
{label = "Left Alt", value = "LMENU"},
{label = "Right Alt", value = "RMENU"},
{label = ";", value = "OEM_1"},
-- {label = "+", value = "PLUS"},
{label = ",", value = "COMMA"},
-- {label = "-", value = "MINUS"},
{label = ".", value = "PERIOD"},
{label = "/", value = "SLASH"},
{label = "`", value = "GRAVE"},
{label = "[", value = "LBRACKET"},
{label = "\\", value = "BACKSLASH"},
{label = "]", value = "RBRACKET"},
{label = "'", value = "APOSTROPHE"}
}
}
Last updated