Package de.marcely.bedwars.api.hook
Interface PartiesHook.Member
- Enclosing interface:
PartiesHook
public static interface PartiesHook.Member
Represents a member of a party.
-
Method Summary
Modifier and TypeMethodDescriptiongetParty()
Get the party of which the member is a part of.The UUID of the player (Entity.getUniqueId()
.The name of the player (HumanEntity.getName()
.boolean
isLeader()
Get whether he is a leader of the party or not.
-
Method Details
-
getParty
PartiesHook.Party getParty()Get the party of which the member is a part of.- Returns:
- The party of which he is a part of
-
getUniqueId
UUID getUniqueId()The UUID of the player (Entity.getUniqueId()
.- Returns:
- The UUID of the player
-
getUsername
String getUsername()The name of the player (HumanEntity.getName()
.- Returns:
- The name of the player
-
isLeader
boolean isLeader()Get whether he is a leader of the party or not.- Returns:
true
in case he is a leader and maintains the party
-