Interface ClanProvider


public interface ClanProvider
  • Method Details

    • getAllClans

      List<Clan> getAllClans()
      Gets a list of all Clan's available.
      Returns:
      The clan list, empty list if none
    • getAllClanPlayers

      List<ClanPlayer> getAllClanPlayers()
      Gets a list of all ClanPlayer's available.
      Returns:
      The clan player list, empty list if none
    • getClanPlayers

      List<ClanPlayer> getClanPlayers(String tag)
      Gets a list of ClanPlayer's associated with clan tag.
      Parameters:
      tag - The clan tag
      Returns:
      The list of clan players, empty list if none
    • getClanRanks

      List<Rank> getClanRanks(String tag)
      Gets a list of clan Rank's available.
      Parameters:
      tag - The clan tag
      Returns:
      The clan rank list, empty list if none
    • getClan

      @Nullable Clan getClan(String tag)
      Gets the Clan associated with tag.
      Parameters:
      tag - The clan tag
      Returns:
      The clan, if available
    • getClanPlayer

      @Nullable ClanPlayer getClanPlayer(UUID playerUniqueId)
      Gets the ClanPlayer.
      Parameters:
      playerUniqueId - The player uuid
      Returns:
      The clan player, if available