Class PartyAPI
java.lang.Object
de.simonsator.partyandfriends.api.party.PartyAPI
The APIs for the party system of Party and Friends
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerPartygetParty(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
 
 
 -