001 package org.bukkit.command; 002 003 import org.bukkit.Server; 004 import org.bukkit.permissions.Permissible; 005 006 public interface CommandSender extends Permissible { 007 008 /** 009 * Sends this sender a message 010 * 011 * @param message Message to be displayed 012 */ 013 public void sendMessage(String message); 014 015 /** 016 * Sends this sender multiple messages 017 * 018 * @param messages An array of messages to be displayed 019 */ 020 public void sendMessage(String[] messages); 021 022 /** 023 * Returns the server instance that this command is running on 024 * 025 * @return Server instance 026 */ 027 public Server getServer(); 028 029 /** 030 * Gets the name of this command sender 031 * 032 * @return Name of the sender 033 */ 034 public String getName(); 035 }