Package com.griefdefender.api.provider
Interface ClanProvider
public interface ClanProvider
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of allClanPlayer's available.Gets a list of allClan's available.@Nullable ClanGets theClanassociated with tag.@Nullable ClanPlayergetClanPlayer(UUID playerUniqueId) Gets theClanPlayer.getClanPlayers(String tag) Gets a list ofClanPlayer's associated with clan tag.getClanRanks(String tag) Gets a list of clanRank's available.
-
Method Details
-
getAllClans
Gets a list of allClan's available.- Returns:
- The clan list, empty list if none
-
getAllClanPlayers
List<ClanPlayer> getAllClanPlayers()Gets a list of allClanPlayer's available.- Returns:
- The clan player list, empty list if none
-
getClanPlayers
Gets a list ofClanPlayer's associated with clan tag.- Parameters:
tag- The clan tag- Returns:
- The list of clan players, empty list if none
-
getClanRanks
Gets a list of clanRank's available.- Parameters:
tag- The clan tag- Returns:
- The clan rank list, empty list if none
-
getClan
Gets theClanassociated with tag.- Parameters:
tag- The clan tag- Returns:
- The clan, if available
-
getClanPlayer
Gets theClanPlayer.- Parameters:
playerUniqueId- The player uuid- Returns:
- The clan player, if available
-