FiveM auction house script: what to look for
Short answer: a good FiveM auction house script lets players consign items from their inventory, bid against each other and buy out lots, while the server holds every bid in escrow, refunds outbid players automatically, prevents last second sniping and keeps item metadata intact. The Goliath Auction House does all of this for ESX Legacy, QBCore and Qbox.
What an auction house adds to a FiveM server
An auction house gives players a place to trade with each other instead of only selling to NPC shops. Prices are set by demand, rare items become valuable, and a fee on every sale removes money from the economy, which keeps inflation in check.
What to look for
Escrow bids. The bid has to be charged when it is placed and held until the auction ends. Otherwise players bid money they no longer have.
Automatic refunds. When someone is outbid, the money must come back, also while they are offline.
Anti-snipe. A bid in the last minutes should extend the auction, so nobody wins with a last second click.
Metadata. Weapons with serial numbers or items with durability must stay single pieces with their properties, not be merged into a stack.
Pickup storage. Won items need a place to wait when the inventory is full.
Server-side checks. Every bid, buyout and pickup has to be validated on the server, including the player's distance to the auction house. Two bids at the same moment must never both win.
How the Goliath Auction House handles it
Bids plus fee are charged at once and held until the end. Outbid players get the full amount back on a separate auction balance, even offline. A bid in the last two minutes extends the auction, the time is set in the config. Items with metadata are auctioned slot exact. Won lots wait 30 days in storage. Cash, IDs and weapons are blocked by default, and every listing, bid and payout can be logged to Discord.
It works with ox_inventory, qb-inventory, ps-inventory, lj-inventory, qs-inventory and many more, with ox_target, qb-target or a TextUI key, and needs ox_lib, oxmysql and OneSync.
Questions
Who pays the auction fee?
In the Goliath Auction House the bidder pays one fee rate on top of the bid and the seller receives the hammer price in full. The fee leaves the economy or goes to a society account.
Can players stay anonymous?
Yes, anonymous consigning can be turned on in the config.
Can staff remove a lot?
Yes. The command /auctionremove [id] removes a lot, refunds the highest bid and returns the item to the seller's storage.