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