Module gomint.api

Interface GroupManager


  • public interface GroupManager
    Version:
    1.0 The group manager is a global defined manager which manages permission groups. You can define groups which contain certain permission settings. This will help permission plugins attach permission containers to players quickly without the need of loading / creating duplicate data entries.
    Author:
    geNAZt
    • Method Detail

      • getOrCreateGroup

        Group getOrCreateGroup​(String name)
        Get or create a group named name
        Parameters:
        name - for the group
        Returns:
        new or existing group for the name
      • removeGroup

        void removeGroup​(Group group)
        Remove given group from the group manager. This does not remove references from PermissionManager instances. To fully remove a group from the Java Heap you have to call PermissionManager.removeGroup(Group) on any permission manager who has this group attached
        Parameters:
        group - which should be removed