org.bukkit.permissions
Interface ServerOperator

All Known Subinterfaces:
BlockCommandSender, CommandSender, ConsoleCommandSender, HumanEntity, OfflinePlayer, Permissible, Player, RemoteConsoleCommandSender
All Known Implementing Classes:
PermissibleBase

public interface ServerOperator

Represents an object that may become a server operator, such as a Player


Method Summary
 boolean isOp()
          Checks if this object is a server operator
 void setOp(boolean value)
          Sets the operator status of this object
 

Method Detail

isOp

boolean isOp()
Checks if this object is a server operator

Returns:
true if this is an operator, otherwise false

setOp

void setOp(boolean value)
Sets the operator status of this object

Parameters:
value - New operator value


Copyright © 2013. All Rights Reserved.