Added new permission system

This commit is contained in:
Dinnerbone
2011-07-17 17:17:47 +01:00
parent 46d8c4d92f
commit 914da8e887
15 changed files with 958 additions and 9 deletions

View File

@@ -0,0 +1,22 @@
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);
}