Interface PlatformPermission

All Known Implementing Classes:
BukkitPlatformPermission

public interface PlatformPermission
Represents a server permission node.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The group to which this permission should be attributed to by default if not explicitly set.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addChild(PlatformPermission permission, boolean value)
    Add the given PlatformPermission as a child of this permission node.
    Get the name (or "id") of this permission node.
    void
    Recalculate all permissible objects that have this permission attached to them.
  • Method Details

    • getName

      String getName()
      Get the name (or "id") of this permission node.
      Returns:
      the name
    • addChild

      void addChild(PlatformPermission permission, boolean value)
      Add the given PlatformPermission as a child of this permission node.
      Parameters:
      permission - the child permission to add
      value - whether or not the child permission will inherit the parent permission. If false, the child will inherit the inverse of its parent permission
    • recalculatePermissibles

      void recalculatePermissibles()
      Recalculate all permissible objects that have this permission attached to them.