[Setting] setting = client.setting.addNamelessKeybind(name, defaultValue)


Adds a keybind for the user to set in the UI

Parameters


name

string

The name of the setting in the UI

defaultValue

integer

The name of the global variable that contains the setting value Keycodes

Return Value


setting

Setting

The setting that was added