Class PartyAPI
java.lang.Object
de.simonsator.partyandfriends.api.party.PartyAPI
The APIs for the party system of Party and Friends
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerParty
getParty
(OnlinePAFPlayer player) Returns the party, if the given player is in a party or null if he is not in a party
-
Field Details
-
LEADER_PERMISSION_HEIGHT
public static final int LEADER_PERMISSION_HEIGHT- See Also:
-
PARTY_MEMBER_PERMISSION_HEIGHT
public static final int PARTY_MEMBER_PERMISSION_HEIGHT- See Also:
-
NO_PARTY_PERMISSION_HEIGHT
public static final int NO_PARTY_PERMISSION_HEIGHT- See Also:
-
-
Constructor Details
-
PartyAPI
public PartyAPI()
-
-
Method Details
-
getParty
Returns the party, if the given player is in a party or null if he is not in a party- Parameters:
player
- The player- Returns:
- Returns the party, if the given player is in a party or null if he is not in a party
-