Private StaticbuiltAll registered built-in commands.
This does not include command aliases, for that, see CommandRegistry.namedAccessBuiltInCommandAliases, CommandRegistry.prefixedAccessBuiltInCommandAliases, and CommandRegistry.regexpAccessBuiltInCommandAliases.
Private StaticbuiltAll registered built-in name-accessible commands.
This does not include command aliases, for that, see CommandRegistry.namedAccessBuiltInCommandAliases.
Private StaticbuiltAll registered built-in prefix-accessible commands.
This does not include command aliases, for that, see CommandRegistry.prefixedAccessBuiltInCommandAliases.
Private StaticbuiltAll registered built-in regex-accessible commands.
This does not include command aliases, for that, see CommandRegistry.regexpAccessBuiltInCommandAliases.
Private StaticcommandsAll registered commands, indexed by name.
This does not include command aliases, for that, see CommandRegistry.namedAccessCommandAliases, CommandRegistry.prefixedAccessCommandAliases, and CommandRegistry.regexpAccessCommandAliases.
Private StaticcustomAll registered custom commands with their prefixes are included in their key in the map.
This does not include command aliases, for that, see CommandRegistry.namedAccessCustomCommandAliases, CommandRegistry.prefixedAccessCustomCommandAliases, and CommandRegistry.regexpAccessCustomCommandAliases.
Private StaticcustomAll registered custom name-accessible commands.
This does not include command aliases, for that, see CommandRegistry.namedAccessCustomCommandAliases.
Private StaticcustomAll registered custom prefix-accessible commands.
This does not include command aliases, for that, see CommandRegistry.prefixedAccessCustomCommandAliases.
Private StaticcustomAll registered custom regex-accessible commands.
This does not include command aliases, for that, see CommandRegistry.regexpAccessCustomCommandAliases.
Private StaticnamedAll registered name-accessible built-in command aliases.
Private StaticnamedAll registered name-accessible command aliases.
Private StaticnamedAll registered name-accessible commands.
This does not include command aliases, for that, see CommandRegistry.namedAccessCommandAliases.
Private StaticnamedAll registered name-accessible custom command aliases.
Private StaticprefixedAll registered prefix-accessible built-in command aliases.
Private StaticprefixedAll registered prefix-accessible command aliases.
Private StaticprefixedAll registered prefix-accessible commands.
This does not include command aliases, for that, see CommandRegistry.prefixedAccessCommandAliases.
Private StaticprefixedAll registered prefix-accessible custom command aliases.
Private StaticregexpAll registered regex-accessible built-in command aliases.
Private StaticregexpAll registered regex-accessible command aliases.
Private StaticregexpAll registered regex-accessible commands.
This does not include command aliases, for that, see CommandRegistry.regexpAccessCommandAliases.
Private StaticregexpAll registered regex-accessible custom command aliases.
StaticgetGets a command by the beginning of the command string.
The beginning of the command string, should not include spaces.
Optionaloptions: CommandRegistryGetCommandOptions = {}The options for the command retrieval.
Options for the CommandRegistry.getCommand method.
OptionalincludeAliases?: booleanWhether or not to include aliases.
Note: Aliases will have a lower priority than actual commands, so if a command with the same name is found, it will be returned instead of the one referenced by the alias.
OptionaltypeFilter?: "built-in" | "custom"The type of command to filter by.
The command, or undefined if not found.
If the typeFilter is not built-in, custom, or undefined.
StaticgetGets a command by the beginning of the command string, but based on a player's permissions.
The beginning of the command string, should not include spaces.
The player to check permissions for.
Optionaloptions: CommandRegistryGetCommandOptions = {}The options for the command retrieval.
Options for the CommandRegistry.getCommand method.
OptionalincludeAliases?: booleanWhether or not to include aliases.
Note: Aliases will have a lower priority than actual commands, so if a command with the same name is found, it will be returned instead of the one referenced by the alias.
OptionaltypeFilter?: "built-in" | "custom"The type of command to filter by.
The command, or undefined if not found.
StaticgetGets all matching commands by the beginning of the command string.
The beginning of the command string, should not include spaces.
OptionaltypeFilter: "built-in" | "custom"The type of command to filter by.
The list of matching commands.
If the typeFilter is not built-in, custom, or undefined.
StaticregisterRegisters a command.
The type of the command data.
The command data.
The registered command.
If the commandData paramter is not an object.
If the commandData.type property is not built-in, custom, or unknown.
If the commandData.commandName property is not a string.
If the CommandType.accessType | commandData.accessType property is regexp and the commandData.escregexp property is not defined.
If any of the commandData.aliases is not an object.
If any of the commandData.aliases has a type that is not nameAccessibleAlias, prefixAccessibleAlias, or regexpAccessibleAlias.
If any of the commandData.aliases has a commandName that is not a string.
If any of the commandData.aliases has an escregexp that is not an object.
If any of the commandData.aliases has a type of prefixAccessibleAlias and has a prefix that is not a string.
If any of the commandData.aliases has a type of regexpAccessibleAlias and has an escregexp.v that is not a string.
If any of the commandData.aliases has a type of regexpAccessibleAlias and has an escregexp.f that is not a string or undefined.
StaticunregisterUnregisters a command.
The command to unregister.
Whether or not the command was successfully unregistered, if false, the command was not found in the registry, so it was either already unregistered or never registered in the first place.
If the command paramter is not an instance of the RegisteredCommand class.
The command registry.