The type of the command data.
Creates a new command.
The data of the command.
If the commandData.type property is not built-in, custom, or unknown.
If the commandData.accessType property is not named or regexp.
If the commandData.commandName property is not a string.
If the commandData.accessType property is regexp and the commandData.escregexp property is not defined.
Private#executeThe callback function of the command.
This function will be called in read-only mode.
The player that executed the command.
The event that triggered the command.
The response of the command execution.
Private#requiredThe tags required to execute the command.
Only applies when Ultra Security Mode is disabled.
Private#ultraThe ultra security mode security level required to execute the command.
Only applies when Ultra Security Mode is enabled.
ReadonlyaccessThe type of access to the command.
The aliases of the command.
The categories of the command.
The version of the command.
ReadonlycommandThe data of the command.
ReadonlycommandThe name used to access the command.
This is only defined if the accessType is named.
The commands format version that the custom command was created in.
OptionalcommandThe ID of the dynamic property that holds the command settings.
ReadonlycustomThe custom prefix of the command.
Whether or not the command is deprecated.
The description of the command.
Whether or not the command is enabled.
The documentation on the flags parameters of the command.
The formatting code to display the command with.
Whether or not the command is functional.
Whether or not the command is hidden.
ReadonlyidThe ID of the command.
ReadonlynameThe name of the command.
ReadonlyregexpThe regular expression used to access the command.
This is only defined if the accessType is regexp.
The syntax of the command.
ReadonlytypeThe type of command.
The tags required to execute the command.
Only applies when Ultra Security Mode is disabled.
The settings of the command, will be an instance of the commandSettings class.
If the type of the command is unknown then this will be undefined.
The ultra security mode security level required to execute the command.
Only applies when Ultra Security Mode is enabled.
owner: Only the owner or people with the andexdb.fullControl or andexdb.useOwnerLevelCommands permissions can execute the command.headAdmin: Only players with the andexdb.headAdmin or andexdb.useHeadAdminLevelCommands permissions can execute the command.admin: Only players with the andexdb.admin or andexdb.useAdminLevelCommands permissions can execute the command.moderator: Only players with the andexdb.moderator or andexdb.useModeratorLevelCommands permissions can execute the command.WorldEdit: Only players with the andexdb.WorldEdit permission can execute the command.everyone: Everyone can execute the command.Checks if the player can execute the command.
The player to check.
True if the player can execute the command, false otherwise.
Runs the command.
The player who executed the command, depending on the command, can have the source player be a regular entity or block.
The event that triggered the command.
The response of the command execution.
If the player paramter is not an instance of executeCommandPlayerW.
If the event paramter is not an object.
Unregisters the command.
A registered command.