PlayerAuctionRemoveEvent
This event is called an auction has been removed, you can view the JavaDocs for this event here. Please note that this event will only be triggered for the creator of the auction if the server has setup like that.
Received Data
Once the event is triggered, you will receive a JSON object containing the data below:
{
"name" : "PlayerAuctionRemoveEvent",
"type" : "EVENT_TRIGGERED",
"event" : {
"cancelled" : false,
"playerAuction" : {
"randomSort" : 0,
"originalPrice" : 50000.0,
"internalCurrency" : null,
"auctionPlayer" : {
"logs" : [ ],
"backpack" : [ ],
"staticAuctions" : 0,
"blacklistedPlayers" : [ ],
"madeOffline" : [ ],
"maximumAuctions" : 9223372036854775807,
"prettyMaximumAuctions" : "Unlimited",
"sellPrice" : 500.0,
"uuid" : "5ca251ab-589d-4f04-8f0c-28404d0686b0",
"messages" : [ ],
"name" : "ForgotUrPassword",
"language" : null
},
"auctionCategories" : [ {
"minPrice" : -1.0,
"maxPrice" : -1.0,
"all" : false,
"icon" : {
"type" : "DIAMOND_HELMET",
"meta" : {
"display-name" : "{\"text\":\"\",\"extra\":[{\"text\":\"Armor\",\"obfuscated\":false,\"italic\":false,\"underlined\":false,\"strikethrough\":false,\"color\":\"aqua\",\"bold\":false}]}",
"lore" : [ "{\"text\":\"\",\"extra\":[{\"text\":\"Click\",\"color\":\"yellow\"},{\"text\":\" to view all the armor.\",\"color\":\"aqua\"}],\"italic\":false}" ],
"attribute-modifiers" : { },
"ItemFlags" : [ "HIDE_ATTRIBUTES" ],
"PublicBukkitValues" : "{\n \"playerauctions:itemtag_item\": \"1\"\n}"
}
},
"name" : "armor",
"displayName" : "Armor"
} ],
"bidder" : null,
"price" : 0.0,
"bidding" : false,
"auctionDate" : 1736121916482,
"expireTime" : 172799000,
"auctionServer" : "PA_SERVER",
"itemAmount" : 0,
"uuid" : "5ca251ab-589d-4f04-8f0c-28404d0686b0",
"world" : "world",
"unlimited" : false,
"currency" : {
"integrated" : false,
"version" : "1.1.0-pre2",
"minPricePurchaseAmount" : -1.0,
"minPriceSellAmount" : 1000.0,
"maxPriceSellAmount" : 9999999.0,
"minPriceBidAmount" : 1000.0,
"name" : "Vault Currency",
"enabled" : true,
"currencyName" : "money",
"internalCurrencies" : [ ]
},
"id" : 3,
"item" : {
"type" : "AIR",
"amount" : 0
}
},
"remover" : {
"uuid" : "2bb28618-c1e1-46cc-9492-fe30d5dba8fa",
"name" : "ResetUrPassword"
},
"cause" : "SOLD",
"asynchronous" : true
}
}
Last updated
Was this helpful?