Commands
Server
register_command
Registers a command with permission check and optional chat suggestions.
Parameters
command:
string
rank:
string|table|nil
help:
string
params:
table
handler:
function
bdtk.register_command(command, rank, help, params, handler)
Client
get_command_suggestions
Requests command chat suggestions for users. These are the tooltips that display when typing commands.
Returns
table
bdtk.get_command_suggestions()
Last updated