Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.command.CommandSender Interface Reference
Inheritance diagram for org.bukkit.command.CommandSender:
org.bukkit.permissions.Permissible org.bukkit.permissions.ServerOperator org.bukkit.command.BlockCommandSender org.bukkit.command.ConsoleCommandSender org.bukkit.command.RemoteConsoleCommandSender org.bukkit.entity.minecart.CommandMinecart org.bukkit.entity.Player

Public Member Functions

void sendMessage (String message)
 
void sendMessage (String[] messages)
 
Server getServer ()
 
String getName ()
 
- Public Member Functions inherited from org.bukkit.permissions.Permissible
boolean isPermissionSet (String name)
 
boolean isPermissionSet (Permission perm)
 
boolean hasPermission (String name)
 
boolean hasPermission (Permission perm)
 
PermissionAttachment addAttachment (Plugin plugin, String name, boolean value)
 
PermissionAttachment addAttachment (Plugin plugin)
 
PermissionAttachment addAttachment (Plugin plugin, String name, boolean value, int ticks)
 
PermissionAttachment addAttachment (Plugin plugin, int ticks)
 
void removeAttachment (PermissionAttachment attachment)
 
void recalculatePermissions ()
 
Set< PermissionAttachmentInfogetEffectivePermissions ()
 
- Public Member Functions inherited from org.bukkit.permissions.ServerOperator
boolean isOp ()
 
void setOp (boolean value)
 

Detailed Description

Definition at line 6 of file CommandSender.java.

Member Function Documentation

String org.bukkit.command.CommandSender.getName ( )

Gets the name of this command sender

Returns
Name of the sender

Referenced by org.bukkit.command.Command.tabComplete().

Server org.bukkit.command.CommandSender.getServer ( )

Returns the server instance that this command is running on

Returns
Server instance

Referenced by org.bukkit.command.Command.tabComplete().

void org.bukkit.command.CommandSender.sendMessage ( String  message)

Sends this sender a message

Parameters
messageMessage to be displayed

Referenced by org.bukkit.command.PluginCommand.execute(), org.bukkit.WorldCreator.getGeneratorForName(), and org.bukkit.command.Command.testPermission().

void org.bukkit.command.CommandSender.sendMessage ( String[]  messages)

Sends this sender multiple messages

Parameters
messagesAn array of messages to be displayed

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