PermissibleBase

public class PermissibleBase implements Permissible

Base Permissible for use in any Permissible object via proxy or extension

Constructors

Link copied to clipboard
public void PermissibleBase(ServerOperator opable)

Functions

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