Interface Logic


  • public interface Logic
    • Method Detail

      • isPremium

        boolean isPremium()
        Returns if the plugin is premium or not
        Returns:
        True if premium, false if not
      • priorityLogic

        QueuePlayer priorityLogic​(QueueServer queueServer,
                                  AdaptedPlayer player,
                                  AdaptedServer server)
        The priority logic that is executed if the plugin is premium.
        Parameters:
        queueServer - The server/group name that is being queued for
        player - The player that is being queued
        server - The server/group name that is being queued for
      • playerDisconnectedTooLong

        boolean playerDisconnectedTooLong​(QueuePlayer player)
        The logic for checking if a player has been disconnected for too long
        Parameters:
        player - The player to check
        Returns:
        true if the player has been disconnected for too long and should be removed from the queue
      • getPermissionGetter

        PermissionGetter getPermissionGetter()
        Gets the permissionGetter. Only available on ajQueuePlus
        Returns:
        the permission getter
      • hasAnyBypass

        boolean hasAnyBypass​(AdaptedPlayer player,
                             java.lang.String server)