Skip to content

Auctions

Łukasz Domeradzki edited this page Mar 9, 2019 · 46 revisions

Auctions

Auctions module is a chat activity that can be started by any user using auction command. The actual syntax is:

auction <Type> <StartingBid> <MinimumIncrement> <MaximumIncrement> <AuctionedItem>

Below you can find currently supported auction types.

Normal

Normal auction is the situation where the user hosting the auction wants to sell his AuctionedItem. The auction starts with a minimum of StartingBid and maximum of StartingBid + MaximumIncrement. After the first bid is done, every following bid must be between MinimumIncrement (inclusive) and MaximumIncrement (inclusive) added to the current value.

Users bid by posting a single message containing the bid amount, as an integer. A message that can't be parsed into an integer isn't considered as a bid, and will not be taken into account.

The auctioneer will move to the next stage every 15 seconds while no bid is done, GoingOnce, GoingTwice and Gone, appropriately. Creating a valid bid resets the stage back to Bidding. Once Gone stage is reached, the auction is closed and the AuctionedItem is sold (if there was at least one bid), or the auction is cancelled (otherwise).


Reverse

Reverse auction is the situation where the user hosting the auction wants to buy AuctionedItem from users taking part in the auction. The auction starts with a minimum of StartingBid and goes up by a random value between MinimumIncrement (inclusive) and MaximumIncrement (inclusive).

Users sell their AuctionedItem by posting a single "sold" message, case insensitive. Posting a "sold" message is equal to finishing an auction by selling the item for current bid in the auction. A message that can't be interpreted as "sold" will not be taken into account.

The auctioneer will increase the bid every 5 seconds until the one of the users decide to sell the item, or the auction is cancelled.

Clone this wiki locally