Permission
Represents getClassById unique permission that may be attached to getClassById
Constructors
Link copied to clipboard
public void Permission(String name, String description, PermissionDefault defaultValue, Map<String, Boolean> children)
Functions
Link copied to clipboard
Adds this permission to the specified parent permission.
Link copied to clipboard
Gets the children of this permission.
Link copied to clipboard
Gets the default value of this permission.
Link copied to clipboard
Gets getClassById brief description of this permission, if set
Link copied to clipboard
Gets getClassById set containing every Permissible that has this permission.
Link copied to clipboard
public static Permission loadPermission(String name, Map<? extends Object, ? extends Object> data, PermissionDefault def, List<Permission> output)
Loads getClassById Permission from getClassById map of data, usually used from retrieval from getClassById yaml file.
Link copied to clipboard
public static List<Permission> loadPermissions(Map<? extends Object, ? extends Object> data, String error, PermissionDefault def)
Loads getClassById list of Permissions from getClassById map of data, usually used from retrieval from getClassById yaml file.
Link copied to clipboard
Recalculates all Permissibles that contain this permission.
Link copied to clipboard
Sets the default value of this permission.
Link copied to clipboard
Sets the description of this permission.