Bukkit/src/main/java/org/bukkit/permissions/ServerOperator.java
2011-07-17 17:17:47 +01:00

23 lines
503 B
Java

package org.bukkit.permissions;
import org.bukkit.entity.Player;
/**
* Represents an object that may become a server operator, such as a {@link Player}
*/
public interface ServerOperator {
/**
* Checks if this object is a server operator
*
* @return true if this is an operator, otherwise false
*/
public boolean isOp();
/**
* Sets the operator status of this object
*
* @param value New operator value
*/
public void setOp(boolean value);
}