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
Event that is triggered before an auction is being added to the auction house.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerAuctionSellEvent
(Auction playerAuction, Player seller) This event is triggered before an auction is being added to the auction house. -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
void
setPlayerAuction
(Auction playerAuction) Deprecated.Internal use only, do not use under any circumstances!Methods inherited from class com.olziedev.playerauctions.api.events.AuctionEvent
acceptCallback, callEvent, getPlayerAuctionsAPI, isCancelled, isWaitingForCallback, postEvent, postEvent, setCancelled, setEventCallback, waitForCallback
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerAuctionSellEvent
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
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getPlayerAuction
- Returns:
- The new auction instance that is being added onto the auction house.
-
getSeller
- Returns:
- The player that is selling the auction.
-
setPlayerAuction
Deprecated.Internal use only, do not use under any circumstances!
-