Command
Noir.Classes.CommandClass: NoirClass
Represents a command.
Initializes command class objects.
Parameters
name
: stringaliases
: table<integer, string>requiredPermissions
: table<integer, string>requiresAuth
: booleanrequiresAdmin
: booleancapsSensitive
: booleandescription
: string
Trigger this command.
Used internally. Do not use in your code.
Parameters
player
: NoirPlayermessage
: stringargs
: table
Returns whether or not the string matches this command.
Used internally. Do not use in your code.
Parameters
query
: string
Returns
boolean
Returns whether or not the player can use this command.
Parameters
player
: NoirPlayer
Returns
boolean
Last updated