Bukkit  1.6.4-R2.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.command.CommandExecutor Interface Reference

Represents a class which contains a single method for executing commands. More...

+ Inheritance diagram for org.bukkit.command.CommandExecutor:

Public Member Functions

boolean onCommand (CommandSender sender, Command command, String label, String[] args)
 Executes the given command, returning its success.
 

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.

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

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


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