Class PartyMemberJoinEvent

java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.party.PartyMemberJoinEvent

public class PartyMemberJoinEvent extends ZentrixEvent
Called when a player joins a party (accepts an invite).
Since:
1.2.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    PartyMemberJoinEvent(@NotNull ZentrixParty party, @NotNull UUID memberId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
    Gets the handler list for this event.
    @NotNull UUID
    Gets the UUID of the player who joined the party.
    @NotNull ZentrixParty
    Gets the party the player joined.

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PartyMemberJoinEvent

      public PartyMemberJoinEvent(@NotNull @NotNull ZentrixParty party, @NotNull @NotNull UUID memberId)
  • Method Details

    • getParty

      @NotNull public @NotNull ZentrixParty getParty()
      Gets the party the player joined.
      Returns:
      The party
    • getMemberId

      @NotNull public @NotNull UUID getMemberId()
      Gets the UUID of the player who joined the party.
      Returns:
      The new member's UUID
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Description copied from class: ZentrixEvent
      Gets the handler list for this event.
      Overrides:
      getHandlers in class ZentrixEvent
      Returns:
      The handler list
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()