Uses of Class
org.bukkit.command.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
-
Uses of Command in com.destroystokyo.paper.exception
Modifier and TypeMethodDescriptionServerCommandException.getCommand()
Gets the command which threw the exceptionModifierConstructorDescriptionprotected
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
Modifier and TypeClassDescriptionclass
class
Represents a command that delegates to one or more other commandsfinal class
Represents aCommand
belonging to a pluginModifier and TypeMethodDescriptionCommandMap.getCommand
(@NotNull String name) Gets the command registered to the specified nameSimpleCommandMap.getCommand
(@NotNull String name) MultipleCommandAlias.getCommands()
Gets the commands associated with the multi-command alias.Command.setAliases
(@NotNull List<String> aliases) Sets the list of aliases to request on registration for this command.Command.setDescription
(@NotNull String description) Sets a brief description of this command.Command.setPermissionMessage
(@Nullable String permissionMessage) Deprecated.Sets the example usage of this commandModifier and TypeMethodDescriptionSimpleCommandMap.getCommands()
CommandMap.getKnownCommands()
Return a Map of known commandsSimpleCommandMap.getKnownCommands()
Modifier and TypeMethodDescriptionboolean
CommandExecutor.onCommand
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) Executes the given command, returning its success.TabCompleter.onTabComplete
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] 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.Modifier and TypeMethodDescriptionvoid
Registers all the commands belonging to a certain plugin.void
Registers all the commands belonging to a certain plugin.ModifierConstructorDescriptionMultipleCommandAlias
(@NotNull String name, @NotNull Command[] commands) -
Uses of Command in org.bukkit.command.defaults
Modifier and TypeClassDescriptionclass
class
class
class
class
-
Uses of Command in org.bukkit.help
Modifier 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. -
Uses of Command in org.bukkit.plugin.java
Modifier and TypeMethodDescriptionboolean
JavaPlugin.onCommand
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) Executes the given command, returning its success.JavaPlugin.onTabComplete
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, @NotNull String[] args) Requests a list of possible completions for a command argument.
permissionMessage(net.kyori.adventure.text.Component)