Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
org.bukkit.command.defaults |
Commands for emulating the Minecraft commands and other necessary ones for
use by a Bukkit implementation.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.entity.minecart |
Interfaces for various
Minecart types. |
org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
org.bukkit.help |
Classes used to manipulate the default command and topic assistance system.
|
org.bukkit.plugin.java |
Classes for handling
plugins written in
java. |
Modifier and Type | Method and Description |
---|---|
boolean |
Server.dispatchCommand(CommandSender sender,
String commandLine)
Dispatches a command on this server, and executes it if found.
|
static boolean |
Bukkit.dispatchCommand(CommandSender sender,
String commandLine) |
WorldCreator |
WorldCreator.generator(String generator,
CommandSender output)
Sets the generator that will be used to create or load the world.
|
static ChunkGenerator |
WorldCreator.getGeneratorForName(String world,
String name,
CommandSender output)
Attempts to get the
ChunkGenerator with the given name. |
Modifier and Type | Interface and Description |
---|---|
interface |
BlockCommandSender |
interface |
ConsoleCommandSender |
interface |
RemoteConsoleCommandSender |
Modifier and Type | Method and Description |
---|---|
static void |
Command.broadcastCommandMessage(CommandSender source,
String message) |
static void |
Command.broadcastCommandMessage(CommandSender source,
String message,
boolean sendToSource) |
boolean |
SimpleCommandMap.dispatch(CommandSender sender,
String commandLine)
Looks for the requested command and executes it if found.
|
boolean |
CommandMap.dispatch(CommandSender sender,
String cmdLine)
Looks for the requested command and executes it if found.
|
abstract boolean |
Command.execute(CommandSender sender,
String commandLabel,
String[] args)
Executes the command, returning its success
|
boolean |
MultipleCommandAlias.execute(CommandSender sender,
String commandLabel,
String[] args) |
boolean |
FormattedCommandAlias.execute(CommandSender sender,
String commandLabel,
String[] args) |
boolean |
PluginCommand.execute(CommandSender sender,
String commandLabel,
String[] args)
Executes the command, returning its success
|
boolean |
CommandExecutor.onCommand(CommandSender sender,
Command command,
String label,
String[] args)
Executes the given command, returning its success
|
List<String> |
TabCompleter.onTabComplete(CommandSender sender,
Command command,
String alias,
String[] args)
Requests a list of possible completions for a command argument.
|
List<String> |
SimpleCommandMap.tabComplete(CommandSender sender,
String cmdLine) |
List<String> |
CommandMap.tabComplete(CommandSender sender,
String cmdLine)
Looks for the requested command and executes an appropriate
tab-completer if found.
|
List<String> |
Command.tabComplete(CommandSender sender,
String[] args)
Deprecated.
This method is not supported and returns null
|
List<String> |
Command.tabComplete(CommandSender sender,
String alias,
String[] args)
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
List<String> |
PluginCommand.tabComplete(CommandSender sender,
String alias,
String[] args)
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
boolean |
Command.testPermission(CommandSender target)
Tests the given
CommandSender to see if they can perform this
command. |
boolean |
Command.testPermissionSilent(CommandSender target)
Tests the given
CommandSender to see if they can perform this
command. |
Modifier and Type | Method and Description |
---|---|
boolean |
SpreadPlayersCommand.execute(CommandSender sender,
String commandLabel,
String[] args) |
boolean |
DefaultGameModeCommand.execute(CommandSender sender,
String commandLabel,
String[] args) |
boolean |
SeedCommand.execute(CommandSender sender,
String commandLabel,
String[] args) |
boolean |
ToggleDownfallCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
BanListCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
SetIdleTimeoutCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
SpawnpointCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
TeleportCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
ListCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
KillCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
TellCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
PardonCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
GiveCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
ExpCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
SayCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
ScoreboardCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
EnchantCommand.execute(CommandSender sender,
String commandLabel,
String[] args) |
boolean |
StopCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
SaveCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
GameModeCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
DifficultyCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
TimeCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
TestForCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
OpCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
SetWorldSpawnCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
BanCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
DeopCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
SaveOffCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
BanIpCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
ReloadCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
WhitelistCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
AchievementCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
PluginsCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
HelpCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
KickCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
SaveOnCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
TimingsCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
EffectCommand.execute(CommandSender sender,
String commandLabel,
String[] args) |
boolean |
PardonIpCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
VersionCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
ClearCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
GameRuleCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
WeatherCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
MeCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
boolean |
PlaySoundCommand.execute(CommandSender sender,
String currentAlias,
String[] args) |
protected int |
DifficultyCommand.getDifficultyForString(CommandSender sender,
String name) |
static double |
VanillaCommand.getDouble(CommandSender sender,
String input) |
static double |
VanillaCommand.getDouble(CommandSender sender,
String input,
double min,
double max) |
protected int |
VanillaCommand.getInteger(CommandSender sender,
String value,
int min) |
static double |
VanillaCommand.getRelativeDouble(double original,
CommandSender sender,
String input) |
List<String> |
DefaultGameModeCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
SeedCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
ToggleDownfallCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
BanListCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
SetIdleTimeoutCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
SpawnpointCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
TeleportCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
ListCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
KillCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
PardonCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
GiveCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
ExpCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
SayCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
ScoreboardCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
EnchantCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
StopCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
SaveCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
GameModeCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
DifficultyCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
TimeCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
OpCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
SetWorldSpawnCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
BanCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
DeopCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
SaveOffCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
BanIpCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
WhitelistCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
AchievementCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
HelpCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
KickCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
SaveOnCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
TimingsCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
EffectCommand.tabComplete(CommandSender sender,
String commandLabel,
String[] args) |
List<String> |
PardonIpCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
VersionCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
ClearCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
GameRuleCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
List<String> |
WeatherCommand.tabComplete(CommandSender sender,
String alias,
String[] args) |
Modifier and Type | Interface and Description |
---|---|
interface |
Player
Represents a player, connected or not
|
Modifier and Type | Interface and Description |
---|---|
interface |
CommandMinecart |
Modifier and Type | Method and Description |
---|---|
CommandSender |
ServerCommandEvent.getSender()
Get the command sender.
|
Constructor and Description |
---|
RemoteServerCommandEvent(CommandSender sender,
String command) |
ServerCommandEvent(CommandSender sender,
String command) |
Modifier and Type | Method and Description |
---|---|
protected String |
IndexHelpTopic.buildIndexLine(CommandSender sender,
HelpTopic topic)
Builds individual lines in the index topic.
|
protected String |
IndexHelpTopic.buildPreamble(CommandSender sender)
Builds the topic preamble.
|
boolean |
IndexHelpTopic.canSee(CommandSender sender) |
boolean |
GenericCommandHelpTopic.canSee(CommandSender sender) |
abstract boolean |
HelpTopic.canSee(CommandSender player)
Determines if a
Player is allowed to see this help topic. |
String |
IndexHelpTopic.getFullText(CommandSender sender) |
String |
HelpTopic.getFullText(CommandSender forWho)
Returns the full description of this help topic that is displayed when
the user requests this topic's details.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JavaPlugin.onCommand(CommandSender sender,
Command command,
String label,
String[] args)
Executes the given command, returning its success
|
List<String> |
JavaPlugin.onTabComplete(CommandSender sender,
Command command,
String alias,
String[] args)
Requests a list of possible completions for a command argument.
|
Copyright © 2014. All rights reserved.