Class PartyAPI
- java.lang.Object
-
- de.simonsator.partyandfriends.api.party.PartyAPI
-
public class PartyAPI extends java.lang.Object
The APIs for the party system of Party and Friends
-
-
Field Summary
Fields Modifier and Type Field Description static int
LEADER_PERMISSION_HEIGHT
static int
NO_PARTY_PERMISSION_HEIGHT
static int
PARTY_MEMBER_PERMISSION_HEIGHT
-
Constructor Summary
Constructors Constructor Description PartyAPI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
LEADER_PERMISSION_HEIGHT
public static final int LEADER_PERMISSION_HEIGHT
- See Also:
- Constant Field Values
-
PARTY_MEMBER_PERMISSION_HEIGHT
public static final int PARTY_MEMBER_PERMISSION_HEIGHT
- See Also:
- Constant Field Values
-
NO_PARTY_PERMISSION_HEIGHT
public static final int NO_PARTY_PERMISSION_HEIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getParty
public static PlayerParty getParty(OnlinePAFPlayer player)
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
-
-