Interface Party


public interface Party
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addMember(org.bukkit.entity.Player owner, org.bukkit.entity.Player member)
     
    void
    createParty(org.bukkit.entity.Player owner, org.bukkit.entity.Player... members)
     
    void
    disband(org.bukkit.entity.Player owner)
     
    List<org.bukkit.entity.Player>
    getMembers(org.bukkit.entity.Player owner)
     
    default org.bukkit.entity.Player
    getOwner(org.bukkit.entity.Player member)
     
    boolean
    hasParty(org.bukkit.entity.Player p)
     
    boolean
     
    boolean
    isMember(org.bukkit.entity.Player owner, org.bukkit.entity.Player check)
     
    boolean
    isOwner(org.bukkit.entity.Player p)
     
    int
    partySize(org.bukkit.entity.Player p)
     
    default void
    promote(@NotNull org.bukkit.entity.Player owner, @NotNull org.bukkit.entity.Player target)
     
    void
    removeFromParty(org.bukkit.entity.Player member)
     
    void
    removePlayer(org.bukkit.entity.Player owner, org.bukkit.entity.Player target)
     
  • Method Details

    • hasParty

      boolean hasParty(org.bukkit.entity.Player p)
    • partySize

      int partySize(org.bukkit.entity.Player p)
    • isOwner

      boolean isOwner(org.bukkit.entity.Player p)
    • getMembers

      List<org.bukkit.entity.Player> getMembers(org.bukkit.entity.Player owner)
    • createParty

      void createParty(org.bukkit.entity.Player owner, org.bukkit.entity.Player... members)
    • addMember

      void addMember(org.bukkit.entity.Player owner, org.bukkit.entity.Player member)
    • removeFromParty

      void removeFromParty(org.bukkit.entity.Player member)
    • disband

      void disband(org.bukkit.entity.Player owner)
    • isMember

      boolean isMember(org.bukkit.entity.Player owner, org.bukkit.entity.Player check)
    • removePlayer

      void removePlayer(org.bukkit.entity.Player owner, org.bukkit.entity.Player target)
    • getOwner

      default org.bukkit.entity.Player getOwner(org.bukkit.entity.Player member)
    • promote

      default void promote(@NotNull @NotNull org.bukkit.entity.Player owner, @NotNull @NotNull org.bukkit.entity.Player target)
    • isInternal

      boolean isInternal()