Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
CommandSender.java
1 package org.bukkit.command;
2 
3 import org.bukkit.Server;
5 
6 public interface CommandSender extends Permissible {
7 
8  /**
9  * Sends this sender a message
10  *
11  * @param message Message to be displayed
12  */
13  public void sendMessage(String message);
14 
15  /**
16  * Sends this sender multiple messages
17  *
18  * @param messages An array of messages to be displayed
19  */
20  public void sendMessage(String[] messages);
21 
22  /**
23  * Returns the server instance that this command is running on
24  *
25  * @return Server instance
26  */
27  public Server getServer();
28 
29  /**
30  * Gets the name of this command sender
31  *
32  * @return Name of the sender
33  */
34  public String getName();
35 }
void sendMessage(String message)