Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 22 lines 503 B view raw
1package org.bukkit.permissions; 2 3import org.bukkit.entity.Player; 4 5/** 6 * Represents an object that may become a server operator, such as a {@link Player} 7 */ 8public interface ServerOperator { 9 /** 10 * Checks if this object is a server operator 11 * 12 * @return true if this is an operator, otherwise false 13 */ 14 public boolean isOp(); 15 16 /** 17 * Sets the operator status of this object 18 * 19 * @param value New operator value 20 */ 21 public void setOp(boolean value); 22}