Class PlayerAuctionSellEvent

java.lang.Object
org.bukkit.event.Event
com.olziedev.playerauctions.api.events.AuctionEvent
com.olziedev.playerauctions.api.events.auction.PlayerAuctionSellEvent
All Implemented Interfaces:
Cancellable

public class PlayerAuctionSellEvent extends AuctionEvent
Event that is triggered before an auction is being added to the auction house.
  • Constructor Details

    • PlayerAuctionSellEvent

      public PlayerAuctionSellEvent(Auction playerAuction, Player seller)
      This event is triggered before an auction is being added to the auction house.
      Parameters:
      playerAuction - The new auction instance that is being added onto the auction house.
      seller - The player that is selling the auction.
  • Method Details

    • getHandlerList

      public static HandlerList getHandlerList()
    • getHandlers

      @Nonnull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getPlayerAuction

      public Auction getPlayerAuction()
      Returns:
      The new auction instance that is being added onto the auction house.
    • getSeller

      public Player getSeller()
      Returns:
      The player that is selling the auction.
    • setPlayerAuction

      public void setPlayerAuction(Auction playerAuction)
      Deprecated.
      Internal use only, do not use under any circumstances!