Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Bukkit.dispatchCommand(@NotNull CommandSender sender,
@NotNull String commandLine)
Dispatches a command on this server, and executes it if found.
|
boolean |
Server.dispatchCommand(@NotNull CommandSender sender,
@NotNull String commandLine)
Dispatches a command on this server, and executes it if found.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CommandMap.dispatch(@NotNull CommandSender sender,
@NotNull String cmdLine)
Looks for the requested command and executes it if found.
|
boolean |
SimpleCommandMap.dispatch(@NotNull CommandSender sender,
@NotNull String commandLine)
Looks for the requested command and executes it if found.
|
List<String> |
PluginCommand.tabComplete(@NotNull CommandSender sender,
@NotNull String alias,
@NotNull String[] args)
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
Copyright © 2021. All rights reserved.