Interface MemberHolder
public interface MemberHolder
Represents an entity that has an owner and a list of trusted players.
-
Method Summary
Modifier and TypeMethodDescription@NotNull UUIDgetOwner()Get the owner's UUID@NotNull Collection<UUID> Get players that are trusted at this protection.booleanCheck if the player is trusted.voidtrustPlayer(@NotNull UUID playerUUID) Trust a player
-
Method Details
-
isTrusted
Check if the player is trusted.- Parameters:
playerUID- the player's UUID- Returns:
- false, if not trusted
-
getOwner
Get the owner's UUID- Returns:
- the owner's UUID
-
getTrusted
Get players that are trusted at this protection.- Returns:
- Players trusted at this protection
-
trustPlayer
Trust a player- Parameters:
playerUUID- the player's UUID to trust
-