Added sendMessage() to player, added /pos to sample plugin

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2010-12-30 04:52:26 +00:00
parent 54e61aab10
commit 9e1f814646
3 changed files with 39 additions and 0 deletions

View File

@@ -12,4 +12,11 @@ public interface Player extends HumanEntity {
* @return true if they are online
*/
public boolean isOnline();
/**
* Sends this player a message, which will be displayed in their chat
*
* @param message Message to be displayed
*/
public void sendMessage(String message);
}