org.bukkit.permissions.ServerOperator Maven / Gradle / Ivy
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
*/
boolean isOp();
/**
* Sets the operator status of this object
*
* @param value New operator value
*/
void setOp(boolean value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy