Auction


Auction Config (auctions.lua)

The Auction system allows players to sell or bid on contracts inside the Boosting Laptop. You can control timing, bidding limits, and anti-snipe mechanics directly from this config.


Example Config

Config.Auction = {
    auctionEndIntervalCheck = 60, -- 60 secs
    minBid = 500,
    maxBid = 1000,
    timeIncrease = 5, -- last 5 mins window for anti-snipe
    timeIncreaseBy = 4 -- extend auction by 4 mins if someone bids during that window
}

Explanation of Settings

  • auctionEndIntervalCheck How often (in seconds) the system checks if any auctions should end. Default: 60 (1 minute)

  • minBid Minimum bid amount allowed when starting or placing a bid. Default: 500

  • maxBid Maximum bid amount allowed. Prevents excessively high numbers. Default: 1000

  • timeIncrease Defines the last-minute window (in minutes) where anti-snipe rules apply. Example: If set to 5, any bid made within the final 5 minutes triggers an extension. Default: 5

  • timeIncreaseBy Amount of time (in minutes) added to the auction if a bid is placed during the last-minute window. Default: 4


How it Works (Flow)

  1. Players list a contract for auction.

  2. Auction runs until the defined end time.

  3. If a bid is placed in the last timeIncrease minutes (e.g., 5 mins), the auction is extended by timeIncreaseBy minutes (e.g., +4 mins).

    • This prevents “sniping” at the very last second.

  4. System checks for auction end every auctionEndIntervalCheck seconds and finalises winners.


Notes

  • Keep minBid and maxBid aligned with your server’s economy.

  • Adjust timeIncrease and timeIncreaseBy for how competitive you want auctions to feel.

  • Anti-snipe extensions ensure fair bidding and encourage live competition.

Last updated