Class PermissionAttachmentInfo

java.lang.Object
org.bukkit.permissions.PermissionAttachmentInfo

public class PermissionAttachmentInfo extends Object
Holds information on a permission and which PermissionAttachment provides it
  • Constructor Details Link icon

  • Method Details Link icon

    • getPermissible Link icon

      @NotNull public Permissible getPermissible()
      Gets the permissible this is attached to
      Returns:
      Permissible this permission is for
    • getPermission Link icon

      @NotNull public String getPermission()
      Gets the permission being set
      Returns:
      Name of the permission
    • getAttachment Link icon

      @Nullable public PermissionAttachment getAttachment()
      Gets the attachment providing this permission. This may be null for default permissions (usually parent permissions).
      Returns:
      Attachment
    • getValue Link icon

      public boolean getValue()
      Gets the value of this permission
      Returns:
      Value of the permission