Uses of Class
com.olziedev.playerauctions.api.auction.Auction
Package
Description
All the generalized objects within the API.
All auction based objects that handles and manages data.
All recent based objects that handles and manages data for auctions.
All auction events that are triggered for auctions.
All auction events that are triggered for menus.
All auction events that are triggered on an update.
All expansion based objects that expose methods for external plugins to hook into.
All player based objects that handles and manages data.
-
Uses of Auction in com.olziedev.playerauctions.api
Modifier and TypeMethodDescriptionabstract Auction
PlayerAuctionsAPI.getPlayerAuction
(long id, CommandSender sender) abstract Auction
PlayerAuctionsAPI.updateAuction
(long id, UUID uuid) Updates the current auction with its new data, if the auction doesn't exist then a new auction object will be created and added to the cache automatically.Modifier and TypeMethodDescriptionPlayerAuctionsAPI.getPlayerAuctions()
PlayerAuctionsAPI.getPlayerAuctions
(CommandSender sender) Modifier and TypeMethodDescriptionabstract void
PlayerAuctionsAPI.createPlayerAuction
(double price, Integer amount, ACurrency currency, APlayer seller, AProduct<?> productProvider, boolean bid, Consumer<Auction> callback) Creates a player auction with the product specified.abstract void
PlayerAuctionsAPI.createPlayerAuction
(double price, Integer amount, APlayer seller, AProduct<?> productProvider, boolean bid, Consumer<Auction> callback) Creates a player auction with the product specified.abstract void
PlayerAuctionsAPI.createSafePlayerAuction
(double price, Integer amount, ACurrency currency, APlayer seller, AProductProvider<?> productProvider, boolean bid, Consumer<Auction> callback) Creates a player auction with product specified.abstract void
PlayerAuctionsAPI.createSafePlayerAuction
(double price, Integer amount, APlayer seller, AProductProvider<?> productProvider, boolean bid, Consumer<Auction> callback) Creates a player auction with product specified. -
Uses of Auction in com.olziedev.playerauctions.api.auction
-
Uses of Auction in com.olziedev.playerauctions.api.auction.recent
Modifier and TypeClassDescriptionclass
Represents a recent auction for a player that can manage and handle basic data within the auction. -
Uses of Auction in com.olziedev.playerauctions.api.events.auction
Modifier and TypeMethodDescriptionPlayerAuctionBidEvent.getPlayerAuction()
PlayerAuctionBidWonEvent.getPlayerAuction()
PlayerAuctionBuyEvent.getPlayerAuction()
PlayerAuctionRemoveEvent.getPlayerAuction()
PlayerAuctionSellEvent.getPlayerAuction()
Modifier and TypeMethodDescriptionvoid
PlayerAuctionSellEvent.setPlayerAuction
(Auction playerAuction) Deprecated.Internal use only, do not use under any circumstances!ModifierConstructorDescriptionPlayerAuctionBidEvent
(Auction playerAuction, APlayer bidder, double price, boolean notEnoughMoney) This event is triggered before a player purchases an auction.PlayerAuctionBidWonEvent
(Auction playerAuction, APlayer bidder, double price) This event is triggered before a player purchases an auction.PlayerAuctionBuyEvent
(Auction playerAuction, Player buyer, double price, ASerializableProduct<?> serializableProduct) This event is triggered before a player purchases an auction.PlayerAuctionRemoveEvent
(Auction playerAuction, PlayerAuctionRemoveEvent.Cause cause) This event is triggered before an auction has been removed.PlayerAuctionSellEvent
(Auction playerAuction, Player seller) This event is triggered before an auction is being added to the auction house. -
Uses of Auction in com.olziedev.playerauctions.api.events.update
ModifierConstructorDescriptionAuctionExpireUpdateEvent
(Long oldTime, Auction playerAuction) This event is triggered before an auctions' expire time has been updated. -
Uses of Auction in com.olziedev.playerauctions.api.expansion
Modifier and TypeMethodDescriptionAProductProvider.getItemLore
(Auction auction, ConfigurationSection section) -
Uses of Auction in com.olziedev.playerauctions.api.player
Modifier and TypeMethodDescriptionAPlayer.getPlayerAuctions()
APlayer.getPlayerAuctions
(CommandSender sender) Modifier and TypeMethodDescriptionabstract void
APlayer.addRecentAuction
(Auction auction, UUID target, double price, ACurrency currency, ASerializableProduct<?> product, RecentAuctionType type, Runnable runnable) Add a recent auction (sold/bought/auctioned) to the player.abstract void
AGUIPlayer.setPlayerAuction
(Auction playerAuction) Modifies the cached auction in this object.