zAuctionHouse icon

zAuctionHouse -----

The most used auction house plugin in the world !



[3.0.4.5] Add new event
Add event AuctionPreSellEvent call before selling item

Code (Java):

this. addListener ( new Listener ( ) {
    @EventHandler
    public void onPreSell (AuctionPreSellEvent event ) {
       
        System. out. println (event. getItemStack ( ) ) ;
        System. out. println (event. getPrice ( ) ) ;
        System. out. println (event. getEconomy ( ). name ( ) ) ;
       
        event. setItemStack ( new ItemStack (Material. DIAMOND, event. getAmount ( ) ) ) ;
    }
} ) ;
 
----------, Sep 5, 2021
Resource Information
Author:
----------
Total Downloads: 2,454
First Release: Dec 21, 2018
Last Update: Feb 5, 2025
Category: ---------------
All-Time Rating:
162 ratings
Find more info at discord.groupez.dev...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings