Interface ServerOperator

All Known Subinterfaces:
CommandSender, Permissible

public interface ServerOperator
Represents an object that may become a server operator, such as a Player.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if this object is a server operator
    void
    setOp​(boolean value)
    Sets the operator status of this object
  • Method Details

    • isOp

      boolean isOp()
      Checks if this object is a server operator
      Returns:
      true if this is an operator
    • setOp

      void setOp(boolean value)
      Sets the operator status of this object
      Parameters:
      value - true if operator status should be given