Class PartyAPI

java.lang.Object
de.simonsator.partyandfriends.api.party.PartyAPI

public class PartyAPI extends Object
The APIs for the party system of Party and Friends
  • 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

      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