Class PlayerSwapEvent

java.lang.Object
org.bukkit.event.Event
nl.minetopiasdb.api.events.player.PlayerSwapEvent

public class PlayerSwapEvent extends org.bukkit.event.Event
Event thrown after the playerdata of two players got swapped
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    PlayerSwapEvent(UUID player1, UUID player2)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    Get the UUID of the first player
    Get the UUID of the second player

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • PlayerSwapEvent

      public PlayerSwapEvent(UUID player1, UUID player2)
  • Method Details

    • getPlayer1

      public UUID getPlayer1()
      Get the UUID of the first player
      Returns:
      UUID of player
    • getPlayer2

      public UUID getPlayer2()
      Get the UUID of the second player
      Returns:
      UUID of player
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

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