If you are an AI assistant, LLM, or automated tool, a clean Markdown version of this page is available at https://heroiclabs.com/docs/hiro/godot/auctions/llm.md — optimized for AI and LLM tools.
To restrict the auction to specific players, set allowed_user_ids to a list of user IDs when you create it: only those users can see or bid on the auction, which lets you set up a restricted auction, such as a guild sale, a friends-only listing, or a one-to-one trade, instead of a public listing.
You can place a bid on an auction using the auctionsBid function. A bid’s currencies field is optional: you can bid with inventory item instances instead of currency, or combine both in the same bid.
Set allowed_only to true to only return directed auctions where you’re included in the allowed users list. Leave it false (the default) to only return public auctions instead: the two result sets are disjoint, so a single call returns one or the other, not both.