Newer
Older
ultramine_bukkit / src / main / java / org / bukkit / permissions / ServerOperator.java
@vlad20012 vlad20012 on 24 Feb 2017 470 bytes initial
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);
}