Package me.totalfreedom.security
Interface Group
- All Superinterfaces:
org.bukkit.permissions.Permissible,PermissionHolder,org.bukkit.permissions.ServerOperator
Represents a permissible group which holds a set of permissions that can then be applied to a User / Player.
-
Method Summary
Methods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, permissionValue, permissionValue, recalculatePermissions, removeAttachmentMethods inherited from interface me.totalfreedom.security.PermissionHolder
addPermission, getUniqueId, permissions, removePermissionMethods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOp
-
Method Details
-
getName
net.kyori.adventure.text.Component getName()- Returns:
- The name of the group.
-
getPrefix
net.kyori.adventure.text.Component getPrefix()- Returns:
- The prefix of the group.
-
getAbbreviation
net.kyori.adventure.text.Component getAbbreviation()- Returns:
- The abbreviation of the group.
-
getWeight
int getWeight()- Returns:
- The weight of the group.
-
isDefault
boolean isDefault()If more than one group is marked as default, the first retrieved default group will be used.- Returns:
- Whether this is the default group.
-
isHidden
boolean isHidden()- Returns:
- Whether the group is hidden.
-