Files
DeltaZern/paper-api/src/main/java/org/bukkit/command/CommandSender.java
T

36 lines
703 B
Java

package org.bukkit.command;
import org.bukkit.Server;
public interface CommandSender {
/**
* Sends this sender a message
*
* @param message Message to be displayed
*/
public void sendMessage(String message);
/**
* Checks if this sender is currently op
*
* @return true if they are
*/
public boolean isOp();
/**
* Checks if this sender is a player
*
* @return true if they are
* @deprecated Use instanceof
*/
@Deprecated
public boolean isPlayer();
/**
* Returns the server instance that this player is running through
*
* @return Server instance
*/
public Server getServer();
}