mirror of
https://github.com/UraniumMC/KCauldron-Bukkit
synced 2026-11-20 12:09:43 +00:00
Upload Bukkit API.
This commit is contained in:
1 parent
a97367b322
commit
220f57b421
739 files changed
+67046
No files matched your search
@@ -0,0 +1,35 @@
|
||||
package org.bukkit.command;
|
||||
|
||||
import org.bukkit.Server;
|
||||
import org.bukkit.permissions.Permissible;
|
||||
|
||||
public interface CommandSender extends Permissible {
|
||||
|
||||
/**
|
||||
* Sends this sender a message
|
||||
*
|
||||
* @param message Message to be displayed
|
||||
*/
|
||||
public void sendMessage(String message);
|
||||
|
||||
/**
|
||||
* Sends this sender multiple messages
|
||||
*
|
||||
* @param messages An array of messages to be displayed
|
||||
*/
|
||||
public void sendMessage(String[] messages);
|
||||
|
||||
/**
|
||||
* Returns the server instance that this command is running on
|
||||
*
|
||||
* @return Server instance
|
||||
*/
|
||||
public Server getServer();
|
||||
|
||||
/**
|
||||
* Gets the name of this command sender
|
||||
*
|
||||
* @return Name of the sender
|
||||
*/
|
||||
public String getName();
|
||||
}
|
||||
Reference in new issue
Block a user