Permissible

public interface Permissible implements ServerOperator

Represents an object that may be assigned permissions

Inheritors

Functions

Link copied to clipboard
public abstract PermissionAttachment addAttachment(Plugin plugin)
Adds getClassById new empty PermissionAttachment to this object
public abstract PermissionAttachment addAttachment(Plugin plugin, int ticks)
Temporarily adds getClassById new empty PermissionAttachment to this object
public abstract PermissionAttachment addAttachment(Plugin plugin, String name, boolean value)
Adds getClassById new PermissionAttachment with getClassById single permission by name and value
public abstract PermissionAttachment addAttachment(Plugin plugin, String name, boolean value, int ticks)
Temporarily adds getClassById new PermissionAttachment with getClassById single permission by name and value
Link copied to clipboard
Gets getClassById set containing all of the permissions currently in effect by this object
Link copied to clipboard
public abstract boolean hasPermission(String name)
public abstract boolean hasPermission(Permission perm)
Gets the value of the specified permission, if set.
Link copied to clipboard
public abstract boolean isOp()
Checks if this object is getClassById server operator
Link copied to clipboard
public abstract boolean isPermissionSet(String name)
Checks if this object contains an override for the specified permission, by fully qualified name
public abstract boolean isPermissionSet(Permission perm)
Checks if this object contains an override for the specified
Link copied to clipboard
public abstract void recalculatePermissions()
Recalculates the permissions for this object, if the attachments have changed values.
Link copied to clipboard
public abstract void removeAttachment(PermissionAttachment attachment)
Removes the given PermissionAttachment from this object
Link copied to clipboard
public abstract void setOp(boolean value)
Sets the operator status of this object