Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.command.CommandExecutor Interface Reference
Inheritance diagram for org.bukkit.command.CommandExecutor:
org.bukkit.command.TabCommandExecutor org.bukkit.command.TabExecutor org.bukkit.plugin.Plugin org.bukkit.plugin.PluginBase org.bukkit.plugin.java.JavaPlugin org.bukkit.plugin.TestPlugin

Public Member Functions

boolean onCommand (CommandSender sender, Command command, String label, String[] args)

Detailed Description

Represents a class which contains a single method for executing commands

Definition at line 6 of file CommandExecutor.java.

Member Function Documentation

boolean org.bukkit.command.CommandExecutor.onCommand ( CommandSender  sender,
Command  command,
String  label,
String[]  args 

Executes the given command, returning its success

senderSource of the command
commandCommand which was executed
labelAlias of the command which was used
argsPassed command arguments
true if a valid command, otherwise false

Implemented in org.bukkit.plugin.java.JavaPlugin, and org.bukkit.plugin.TestPlugin.

Referenced by org.bukkit.command.PluginCommand.execute().

The documentation for this interface was generated from the following file: