Config auction house.yml - BeestoXd/UltimateDonutSMP-V2 GitHub Wiki
auction-house.yml
The player-to-player marketplace behind /ah. Listings live in the database, so this file
controls the rules around them rather than the listings themselves: how long a listing
lasts, what it may cost, what may be sold, how unclaimed items come back to their owner,
and how the browse GUI is laid out.
Two things are worth calling out. RESTRICTIONS is the safety net that stops players
listing items you never intended to be tradable, and BOTS generates synthetic listings
so a quiet server still looks alive — turn it off if you want a purely player-driven
economy. Listing limits are also permission-tiered through
ultimatedonutsmp2.auctionhouse.limit.<N>, which overrides the default limit set here.
# General Auction House settingsSETTINGS:
# Enable or disable the Auction House system globally (true / false)ENABLED: true# Duration in hours before an unpurchased auction listing expiresLISTING_DURATION_HOURS: 48# Default maximum active listings a player can post simultaneouslyMAX_ACTIVE_LISTINGS_DEFAULT: 5# Explicit mapping from permission node to a maximum active listing count# Players can also be given ultimatedonutsmp2.auctionhouse.limit.<1-100> directly, for example# ultimatedonutsmp2.auctionhouse.limit.25 for 25 active listings, without adding it below# Each value is a total, not a bonus added on top of MAX_ACTIVE_LISTINGS_DEFAULT# The highest value the player has wins, and a negative value here means unlimited# Wildcards do not grant a limit, the node has to be set on the player or their groupMAX_ACTIVE_LISTINGS_BY_PERMISSION:
ultimatedonutsmp2.auctionhouse.limit.10: 10ultimatedonutsmp2.auctionhouse.limit.15: 15# Anti-spam click cooldown between menu interactions (in milliseconds)CLICK_COOLDOWN_MS: 750# Interval in seconds to check for expired auction listingsEXPIRE_CHECK_SECONDS: 30
Section: PRICING
Pricing, fees, and tax limits
Options
Option path
Type
Accepted values
Default
What it does
PRICING.MIN_PRICE
integer
Any integer
100
Minimum allowed listing price for an item
PRICING.MAX_PRICE
integer
Any integer
100000000
Maximum allowed listing price for an item
PRICING.LISTING_FEE
integer
Any integer
0
Flat fee charged upfront to create an auction listing
PRICING.TAX_PERCENT
decimal
Any decimal number
5.0
Percentage tax deducted from the final sale price upon purchase (%)
Default PRICING block as shipped
# Pricing, fees, and tax limitsPRICING:
# Minimum allowed listing price for an itemMIN_PRICE: 100# Maximum allowed listing price for an itemMAX_PRICE: 100000000# Flat fee charged upfront to create an auction listingLISTING_FEE: 0# Percentage tax deducted from the final sale price upon purchase (%)TAX_PERCENT: 5.0
Section: RESTRICTIONS
Item restrictions and blacklist
Options
Option path
Type
Accepted values
Default
What it does
RESTRICTIONS.BLOCKED_MATERIALS
list
A list of values
list of 9 items
Materials blocked from being listed on the Auction House
RESTRICTIONS.BLOCKED_IF_HAS_LORE_CONTAINS
list
A list of values
(empty list)
Lore text phrases that block an item from being listed if present
Default contents of RESTRICTIONS.BLOCKED_MATERIALS (9 items)
# Item restrictions and blacklistRESTRICTIONS:
# Materials blocked from being listed on the Auction HouseBLOCKED_MATERIALS:
- BEDROCK
- BARRIER
- COMMAND_BLOCK
- CHAIN_COMMAND_BLOCK
- REPEATING_COMMAND_BLOCK
- STRUCTURE_BLOCK
- STRUCTURE_VOID
- JIGSAW
- LIGHT# Lore text phrases that block an item from being listed if presentBLOCKED_IF_HAS_LORE_CONTAINS: []
Section: CLAIMS
Claims system configuration
Options
Option path
Type
Accepted values
Default
What it does
CLAIMS.ENABLED
boolean
true, false
true
Enable or disable auction claims collection system (true / false)
Default CLAIMS block as shipped
# Claims system configurationCLAIMS:
# Enable or disable auction claims collection system (true / false)ENABLED: true
Section: GUI
GUI Inventory Titles and Sizes
GUI.BROWSE
Options
Option path
Type
Accepted values
Default
What it does
GUI.BROWSE.TITLE
string
Any text
Auction (Page {page})
Title text. Supports & colours and &#RRGGBB hex.
GUI.BROWSE.SIZE
integer
Any integer
54
Chest size. Must be a multiple of 9 between 9 and 54.
GUI.BROWSE.ITEMS_PER_PAGE
integer
Any integer
45
Items per page.
GUI.BROWSE.CONTROLS
Entry schema (7 entries)
Each entry under GUI.BROWSE.CONTROLS is keyed by a name you choose, and every entry accepts the same options:
Shipped entries
Entry key
NAME
MATERIAL
SLOT
PREVIOUS
&fPrevious page
ARROW
45
FILTER
&fFilter
HOPPER
47
QUICK_BUY
&fQuick Buy
ENDER_CHEST
48
REFRESH
&fAuction
ANVIL
49
SEARCH
&fSearch
OAK_SIGN
50
PLAYER_ITEMS
&fYour Items
CHEST
51
NEXT
&fNext page
ARROW
53
Key
Type
Accepted values
Required?
What it does
LORE
list
A list of values
Required
Tooltip lines under the item name.
MATERIAL
string
Any text
Required
Bukkit Material name for the icon.
NAME
string
Any text
Required
Display name shown to players.
SLOT
integer
Any integer
Required
Inventory slot, 0 is the top-left cell.
GUI.MY_LISTINGS
Options
Option path
Type
Accepted values
Default
What it does
GUI.MY_LISTINGS.TITLE
string
Any text
Auction -> Your Items
Title text. Supports & colours and &#RRGGBB hex.
GUI.MY_LISTINGS.SIZE
integer
Any integer
54
Chest size. Must be a multiple of 9 between 9 and 54.
GUI.MY_LISTINGS.ITEMS_PER_PAGE
integer
Any integer
45
Items per page.
GUI.CLAIMS
Options
Option path
Type
Accepted values
Default
What it does
GUI.CLAIMS.TITLE
string
Any text
Auction -> Your Items
Title text. Supports & colours and &#RRGGBB hex.
GUI.CLAIMS.SIZE
integer
Any integer
54
Chest size. Must be a multiple of 9 between 9 and 54.
GUI.CLAIMS.ITEMS_PER_PAGE
integer
Any integer
45
Items per page.
Default GUI block as shipped
# GUI Inventory Titles and SizesGUI:
BROWSE:
TITLE: 'Auction (Page {page})'SIZE: 54ITEMS_PER_PAGE: 45CONTROLS:
PREVIOUS:
SLOT: 45MATERIAL: ARROWNAME: '&fPrevious page'LORE:
- '&7Go to page &f{page}'FILTER:
SLOT: 47MATERIAL: HOPPERNAME: '&fFilter'LORE:
- '&o&7Click to change'QUICK_BUY:
SLOT: 48MATERIAL: ENDER_CHESTNAME: '&fQuick Buy'LORE:
- '&o&7Click to view'REFRESH:
SLOT: 49MATERIAL: ANVILNAME: '&fAuction'LORE:
- '&o&7Buy and sell items'SEARCH:
SLOT: 50MATERIAL: OAK_SIGNNAME: '&fSearch'LORE:
- '&o&7Click to search'PLAYER_ITEMS:
SLOT: 51MATERIAL: CHESTNAME: '&fYour Items'LORE:
- '&o&7Click to view'NEXT:
SLOT: 53MATERIAL: ARROWNAME: '&fNext page'LORE:
# ... section continues, see the file on disk for the full block
# Automated Auction House Bot System ConfigurationBOTS:
# Enable or disable automated bot auction listings (true / false)ENABLED: false# Minimum interval in seconds between bot listing checksMIN_CHECK_INTERVAL_SECONDS: 60# Maximum interval in seconds between bot listing checksMAX_CHECK_INTERVAL_SECONDS: 300# Chance (0.0 to 1.0) for a bot to post a listing on each interval checkCHANCE: 0.5# Maximum active bot listings allowed concurrentlyMAX_ACTIVE_BOT_LISTINGS: 10# Minimum duration in hours for bot auction listingsMIN_DURATION_HOURS: 12# Maximum duration in hours for bot auction listingsMAX_DURATION_HOURS: 48# List of bot names displayed as sellersBOT_NAMES:
- "DonutBot"
- "AuctionBot"
- "ShopKeeper"# Items that bots can list on the Auction HouseITEMS:
- MATERIAL: DIAMOND_SWORDMIN_AMOUNT: 1MAX_AMOUNT: 1MIN_PRICE: 5000MAX_PRICE: 15000ENCHANTS:
- "SHARPNESS:5"
- "UNBREAKING:3"
- MATERIAL: GOLDEN_APPLEMIN_AMOUNT: 4MAX_AMOUNT: 16MIN_PRICE: 2000MAX_PRICE: 8000
- MATERIAL: COBBLESTONEMIN_AMOUNT: 64MAX_AMOUNT: 320MIN_PRICE: 100MAX_PRICE: 500