Uses of Class
org.bukkit.command.Command
Packages that use Command
Package
Description
Classes relating to handling specialized non-chat player input.
Commands for emulating the Minecraft commands and other necessary ones for
use by a Bukkit implementation.
Classes used to manipulate the default command and topic assistance system.
Classes for handling
plugins written in
java.-
Uses of Command in co.aikar.timings
Subclasses of Command in co.aikar.timingsModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.Timings will be removed in the futureMethods in co.aikar.timings with parameters of type CommandModifier and TypeMethodDescriptionstatic @NotNull TimingTimingsManager.getCommandTiming(@Nullable String pluginName, @NotNull Command command) Deprecated, for removal: This API element is subject to removal in a future version.Due to access restrictions, we need a helper method to get a Command TimingHandler with String group -
Uses of Command in com.destroystokyo.paper.event.brigadier
Methods in com.destroystokyo.paper.event.brigadier that return CommandModifier and TypeMethodDescriptionCommandRegisteredEvent.getCommand()Deprecated.Gets theCommandbeing registered.Constructors in com.destroystokyo.paper.event.brigadier with parameters of type CommandModifierConstructorDescriptionCommandRegisteredEvent(String commandLabel, BukkitBrigadierCommand<S> brigadierCommand, Command command, com.mojang.brigadier.tree.RootCommandNode<S> root, com.mojang.brigadier.tree.LiteralCommandNode<S> literal, com.mojang.brigadier.tree.ArgumentCommandNode<S, String> defaultArgs) Deprecated. -
Uses of Command in com.destroystokyo.paper.exception
Methods in com.destroystokyo.paper.exception that return CommandModifier and TypeMethodDescriptionServerCommandException.getCommand()Gets the command which threw the exceptionConstructors in com.destroystokyo.paper.exception with parameters of type CommandModifierConstructorDescriptionprotectedServerCommandException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Command command, CommandSender commandSender, String[] arguments) ServerCommandException(String message, Throwable cause, Command command, CommandSender commandSender, String[] arguments) ServerCommandException(Throwable cause, Command command, CommandSender commandSender, String[] arguments) protectedServerTabCompleteException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Command command, CommandSender commandSender, String[] arguments) ServerTabCompleteException(String message, Throwable cause, Command command, CommandSender commandSender, String[] arguments) ServerTabCompleteException(Throwable cause, Command command, CommandSender commandSender, String[] arguments) -
Uses of Command in org.bukkit.command
Subclasses of Command in org.bukkit.commandModifier and TypeClassDescriptionclassclassRepresents a command that delegates to one or more other commandsfinal classRepresents aCommandbelonging to a pluginFields in org.bukkit.command with type parameters of type CommandMethods in org.bukkit.command that return CommandModifier and TypeMethodDescription@Nullable CommandCommandMap.getCommand(@NotNull String name) Gets the command registered to the specified name@Nullable CommandSimpleCommandMap.getCommand(@NotNull String name) @NotNull Command @NotNull []MultipleCommandAlias.getCommands()Gets the commands associated with the multi-command alias.@NotNull CommandCommand.setAliases(@NotNull List<String> aliases) Sets the list of aliases to request on registration for this command.@NotNull CommandCommand.setDescription(@NotNull String description) Sets a brief description of this command.@NotNull CommandCommand.setPermissionMessage(@Nullable String permissionMessage) Deprecated.permission messages have not worked for player-executed commands since 1.13 as clients without permission to execute a command are unaware of its existence and therefore will not send an unknown command execution to the server.@NotNull CommandSets the example usage of this commandMethods in org.bukkit.command that return types with arguments of type CommandModifier and TypeMethodDescription@NotNull Collection<Command> SimpleCommandMap.getCommands()CommandMap.getKnownCommands()Return a Map of known commandsSimpleCommandMap.getKnownCommands()Methods in org.bukkit.command with parameters of type CommandModifier and TypeMethodDescriptionbooleanCommandExecutor.onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String @NotNull [] args) Executes the given command, returning its success.TabCompleter.onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String @NotNull [] args) Requests a list of possible completions for a command argument.booleanCommandMap.register(@NotNull String label, @NotNull String fallbackPrefix, @NotNull Command command) Registers a command.booleanRegisters a command.booleanSimpleCommandMap.register(@NotNull String label, @NotNull String fallbackPrefix, @NotNull Command command) Registers a command.booleanRegisters a command.Method parameters in org.bukkit.command with type arguments of type CommandModifier and TypeMethodDescriptionvoidCommandMap.registerAll(@NotNull String fallbackPrefix, @NotNull List<Command> commands) Registers all the commands belonging to a certain plugin.voidSimpleCommandMap.registerAll(@NotNull String fallbackPrefix, @NotNull List<Command> commands) Registers all the commands belonging to a certain plugin.Constructors in org.bukkit.command with parameters of type CommandModifierConstructorDescriptionMultipleCommandAlias(@NotNull String name, @NotNull Command[] commands) Constructor parameters in org.bukkit.command with type arguments of type CommandModifierConstructorDescriptionSimpleCommandMap(@NotNull Server server, Map<String, Command> backing) -
Uses of Command in org.bukkit.command.defaults
Subclasses of Command in org.bukkit.command.defaultsModifier and TypeClassDescriptionclassclassclassDeprecated, for removal: This API element is subject to removal in a future version.classclassDeprecated, for removal: This API element is subject to removal in a future version. -
Uses of Command in org.bukkit.help
Classes in org.bukkit.help with type parameters of type CommandModifier and TypeInterfaceDescriptioninterfaceHelpTopicFactory<TCommand extends Command>A HelpTopicFactory is used to create customHelpTopicobjects from commands that inherit from a common base class or have executors that inherit from a common base class.Fields in org.bukkit.help declared as CommandConstructors in org.bukkit.help with parameters of type Command -
Uses of Command in org.bukkit.plugin.java
Methods in org.bukkit.plugin.java with parameters of type CommandModifier and TypeMethodDescriptionbooleanJavaPlugin.onCommand(CommandSender sender, Command command, String label, String[] args) Executes the given command, returning its success.JavaPlugin.onTabComplete(CommandSender sender, Command command, String alias, String[] args) Requests a list of possible completions for a command argument.