Class MinecraftPermissionsEx<T>

    • Method Detail

      • builder

        public static <V> MinecraftPermissionsEx.Builder<V> builder​(Class<V> configType)
        Create a new builder for a Minecraft permissions engine.
        Type Parameters:
        V - platform configuration type
        Parameters:
        configType - class of platform configuration
        Returns:
        the builder
        Since:
        2.0.0
      • engine

        public ca.stellardrift.permissionsex.impl.PermissionsEx<Tengine()
        Get the engine backing this PermissionsEx instance.
        Returns:
        the backing engine
        Since:
        2.0.0
      • users

        public ca.stellardrift.permissionsex.subject.SubjectTypeCollection<UUIDusers()
        Get user subjects.

        User subject identifiers are UUIDs.

        Returns:
        the collection of user subjects
        Since:
        2.0.0
      • groups

        public ca.stellardrift.permissionsex.subject.SubjectTypeCollection<Stringgroups()
        Get group subjects.

        Group subject identifiers are any string.

        Returns:
        the collection of group subjects
        Since:
        2.0.0
      • describe

        public void describe​(net.kyori.adventure.audience.Audience receiver,
                             boolean verbose)
        Describe this PermissionsEx implementation.
        Parameters:
        receiver - the receiver for the messages
        verbose - whether verbose information should be printed
      • baseDirectory

        public Path baseDirectory​(BaseDirectoryScope scope)
        Get a game-specific base directory for a certain socpe.
        Parameters:
        scope - the scope
        Returns:
        a base directory
        Since:
        2.0.0
      • platformConfig

        public T platformConfig()
        Get the platform-specific configuration section.
        Returns:
        the platform configuration instance