Interface Group

All Superinterfaces:
org.bukkit.permissions.Permissible, PermissionHolder, org.bukkit.permissions.ServerOperator

public interface Group extends PermissionHolder
Represents a permissible group which holds a set of permissions that can then be applied to a User / Player.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.kyori.adventure.text.Component
     
    net.kyori.adventure.text.Component
     
    net.kyori.adventure.text.Component
     
    int
     
    boolean
    If more than one group is marked as default, the first retrieved default group will be used.
    boolean
     

    Methods inherited from interface org.bukkit.permissions.Permissible

    addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, permissionValue, permissionValue, recalculatePermissions, removeAttachment

    Methods inherited from interface me.totalfreedom.security.PermissionHolder

    addPermission, getUniqueId, permissions, removePermission

    Methods 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.