Skip to main content

🔨 Auction System 🔨

Quick Description​

The Auction System allows you to hold automatic or manual auctions on the server, where players compete for rare items using stackable items as bidding currency.

How it works​

  • The event can be started by a Game Master using the /auctionstart command or scheduled automatically by the Scheduler.
  • Players receive notification before the auction starts (configurable time).
  • Bidding is done using stackable items defined in the configuration.
  • The highest bid at the end of the time wins the item.

Main commands​

  • /stack: Manages the stackable items used as currency.
  • /check: Query the amount of stackable items the player has.
  • /bid [quantity]: Places a bid in the auction.
  • /auctionstart: (GM) Starts the auction manually.

Quick Setup​

AuctionConfig.lua:

Switch = true, -- Enables/disables the system
ServerCode = {11, 12, 13, 14, 19}, -- Enabled servers
StackItemIndex = 7189, -- Stack ID of items used as currency
StackItemLevel = 0, -- Stack level of items
StackItemDurability = 0, -- Durability of items stack
NotifyTimeInMinutes = 1, -- Minutes before notifying
CommandStack = "/stack", -- Stack command
CommandCheck = "/check", -- Query command
CommandBid = "/bid", -- Bid command
GMStartString = "/auctionstart", -- GM command to start
GMLevel = 16, -- Minimum GM level to start

Example item configured​

{Index = 1, ItemIndex = 7553, ItemLevel = 0, ItemCount = 1, ItemName = "1x Mystery Box"}

A complete list of items can be customized according to your needs, including quantity, options and name.

Automatic scheduling (Scheduler)​

Allows you to set dates and times for the auction to occur automatically. See the file comments for configuration details.


For more details, see the AuctionConfig.lua file itself, which contains explanatory comments about each parameter.