[Setting] setting = client.setting.addKeybind(name, variableName)
Adds a keybind for the user to set in the UI
Parameters
name
stringThe name of the setting in the UI
variableName
stringThe name of the global variable that contains the setting value Keycodes
Return Value
setting
SettingThe setting that was added