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.
&#xNAN;Default:60(1 minute) - minBid
Minimum bid amount allowed when starting or placing a bid.
&#xNAN;Default:500 - maxBid
Maximum bid amount allowed. Prevents excessively high numbers.
&#xNAN;Default:1000 - timeIncrease
Defines the last-minute window (in minutes) where anti-snipe rules apply.
Example: If set to5, any bid made within the final 5 minutes triggers an extension.
&#xNAN;Default:5 - timeIncreaseBy
Amount of time (in minutes) added to the auction if a bid is placed during the last-minute window.
&#xNAN;Default:4
How it Works (Flow)
- Players list a contract for auction.
- Auction runs until the defined end time.
- 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.
- System checks for auction end every auctionEndIntervalCheck seconds and finalises winners.
Notes
- Keep
minBidandmaxBidaligned with your server’s economy. - Adjust
timeIncreaseandtimeIncreaseByfor how competitive you want auctions to feel. - Anti-snipe extensions ensure fair bidding and encourage live competition.