Bukkit  1.5.2-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.permissions.ServerOperator Interface Reference

Represents an object that may become a server operator, such as a Player. More...

+ Inheritance diagram for org.bukkit.permissions.ServerOperator:

Public Member Functions

boolean isOp ()
 Checks if this object is a server operator.
 
void setOp (boolean value)
 Sets the operator status of this object.
 

Detailed Description

Represents an object that may become a server operator, such as a Player.

Definition at line 8 of file ServerOperator.java.

Member Function Documentation

boolean org.bukkit.permissions.ServerOperator.isOp ( )

Checks if this object is a server operator.

Returns
true if this is an operator, otherwise false

Referenced by org.bukkit.permissions.PermissibleBase.isOp().

void org.bukkit.permissions.ServerOperator.setOp ( boolean  value)

Sets the operator status of this object.

Parameters
valueNew operator value

Referenced by org.bukkit.command.defaults.DeopCommand.execute(), org.bukkit.command.defaults.OpCommand.execute(), and org.bukkit.permissions.PermissibleBase.setOp().


The documentation for this interface was generated from the following file: