Interface IPlayerPreJoinEvent

All Superinterfaces:
Cancellable, PartiesEvent
All Known Implementing Classes:
BukkitPartiesPlayerPreJoinEvent, BungeePartiesPlayerPreJoinEvent, VelocityPartiesPlayerPreJoinEvent

public interface IPlayerPreJoinEvent extends PartiesEvent, Cancellable
  • Method Details

    • getPartyPlayer

      @NotNull @NotNull PartyPlayer getPartyPlayer()
      Get the player that is joining inside the party
      Returns:
      the PartyPlayer
    • getParty

      @NotNull @NotNull Party getParty()
      Get the party
      Returns:
      the Party
    • getCause

      @NotNull @NotNull JoinCause getCause()
      Get the join cause
      Returns:
      the JoinCause of the event
    • isInvited

      @Deprecated default boolean isInvited()
      Deprecated.
      Has been invited?
      Returns:
      true if the player has been invited
    • getInviter

      @Nullable @Nullable PartyPlayer getInviter()
      Get the inviter
      Returns:
      the PartyPlayer of the inviter, null if the player joined via join/ask command