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 TypeClassDescriptionclass
Deprecated, 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 Timing
TimingsManager.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 theCommand
being 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 CommandModifierConstructorDescriptionprotected
ServerCommandException
(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) protected
ServerTabCompleteException
(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 TypeClassDescriptionclass
class
Represents a command that delegates to one or more other commandsfinal class
Represents aCommand
belonging to a pluginFields in org.bukkit.command with type parameters of type CommandMethods in org.bukkit.command that return CommandModifier and TypeMethodDescription@Nullable Command
CommandMap.getCommand
(@NotNull String name) Gets the command registered to the specified name@Nullable Command
SimpleCommandMap.getCommand
(@NotNull String name) @NotNull Command @NotNull []
MultipleCommandAlias.getCommands()
Gets the commands associated with the multi-command alias.@NotNull Command
Command.setAliases
(@NotNull List<String> aliases) Sets the list of aliases to request on registration for this command.@NotNull Command
Command.setDescription
(@NotNull String description) Sets a brief description of this command.@NotNull Command
Command.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 Command
Sets 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 TypeMethodDescriptionboolean
CommandExecutor.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.boolean
CommandMap.register
(@NotNull String label, @NotNull String fallbackPrefix, @NotNull Command command) Registers a command.boolean
Registers a command.boolean
SimpleCommandMap.register
(@NotNull String label, @NotNull String fallbackPrefix, @NotNull Command command) Registers a command.boolean
Registers a command.Method parameters in org.bukkit.command with type arguments of type CommandModifier and TypeMethodDescriptionvoid
CommandMap.registerAll
(@NotNull String fallbackPrefix, @NotNull List<Command> commands) Registers all the commands belonging to a certain plugin.void
SimpleCommandMap.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 TypeClassDescriptionclass
class
class
Deprecated, for removal: This API element is subject to removal in a future version.class
class
Deprecated, 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 TypeInterfaceDescriptioninterface
HelpTopicFactory<TCommand extends Command>
A HelpTopicFactory is used to create customHelpTopic
objects 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 TypeMethodDescriptionboolean
JavaPlugin.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.