Skip to main content

Configuration

Complete reference for plugins/RandomAuctionAddon/config.yml.


Top-Level Settingsโ€‹

KeyTypeDescription
enabledbooleanMaster on/off switch for the entire addon
timezonestringTimezone used for peak hours and event scheduling (e.g. America/New_York, Europe/London)
name-modestringBot identity mode: static or random
system-player-namestringBot player name shown as listing owner in static mode
random-nameslistNames to rotate through in random mode
use-custom-itemsbooleanEnable custom item support (ItemsAdder, Oraxen, Nexo, MMOItems)

Generation Settings (generation)โ€‹

KeyTypeDescription
min-online-playersintMinimum online players before any listings are generated
interval-minintMinimum interval between generation runs (minutes)
interval-maxintMaximum interval between generation runs (minutes)
max-listings-per-runintHard cap on listings created in a single run
max-bot-listingsintGlobal cap on total active bot listings; generation is skipped when reached
cooldown-per-itemintCooldown in minutes before the same material can be listed again
peak-hourslistTime ranges treated as peak hours (e.g. 18:00-22:00)
peak-hour-multiplierdoubleExtra listing multiplier during peak hours

Player-Count Scalingโ€‹

KeyTypeDescription
scaling.low-thresholdintPlayer count below which "low" scaling applies
scaling.low-countintListings per run at low player count
scaling.medium-thresholdintPlayer count for "medium" scaling
scaling.medium-countintListings per run at medium player count
scaling.high-thresholdintPlayer count for "high" scaling
scaling.high-countintListings per run at high player count

Pool Configuration (items)โ€‹

Pool Weightsโ€‹

Controls how often each pool is selected on a generation run. Higher weight = more frequent.

KeyDescription
pool-weights.commonWeight for the Common pool
pool-weights.rareWeight for the Rare pool
pool-weights.oresWeight for the Ores pool
pool-weights.blocksWeight for the Blocks pool
pool-weights.enchantedWeight for the Enchanted pool
pool-weights.potionsWeight for the Potions pool

Quantity Ranges (per pool)โ€‹

KeyDescription
quantity-ranges.<pool>.minMinimum stack size for listings from this pool
quantity-ranges.<pool>.maxMaximum stack size for listings from this pool

Listing Durations (per pool)โ€‹

KeyDescription
listing-durations.<pool>.minMinimum listing duration in minutes
listing-durations.<pool>.maxMaximum listing duration in minutes

Item Listsโ€‹

Each pool (common, rare, ores, blocks, enchanted, potions) has an items list of material names or custom item IDs.

Dimension Itemsโ€‹

KeyDescription
nether-items.enabledEnable Nether-specific items
nether-items.itemsList of Nether materials to include in generation pools
end-items.enabledEnable End-specific items
end-items.itemsList of End materials to include in generation pools

Pricing Settings (pricing)โ€‹

KeyTypeDescription
shop-providerstringShop integration: economyshopgui, excellentshop, or none
profit-margin.mindoubleMinimum profit margin multiplier above shop sell price
profit-margin.maxdoubleMaximum profit margin multiplier
prevent-arbitragebooleanBlock listings exploitable via immediate shop buy-back
arbitrage-gapdoubleAllowed gap before arbitrage protection triggers
prevent-undercutbooleanPrevent bot from listing far below existing player listings
undercut-gapdoubleMaximum allowed % below cheapest player listing
base-multiplier.mindoubleMinimum random price multiplier applied to fallback base prices
base-multiplier.maxdoubleMaximum random price multiplier

Rarity Multipliers (per pool)โ€‹

KeyDescription
rarity-multipliers.commonPrice multiplier for Common pool items
rarity-multipliers.rarePrice multiplier for Rare pool items
rarity-multipliers.oresPrice multiplier for Ores pool items
rarity-multipliers.blocksPrice multiplier for Blocks pool items
rarity-multipliers.enchantedPrice multiplier for Enchanted pool items
rarity-multipliers.potionsPrice multiplier for Potions pool items

Time-Based Bonusesโ€‹

KeyTypeDescription
time-bonuses.peak-hoursdoublePrice multiplier during peak hours
time-bonuses.nightdoublePrice multiplier during night hours
time-bonuses.weekenddoublePrice multiplier on weekends

Fallback Pricesโ€‹

KeyDescription
fallback-prices.<MATERIAL>Exact fallback price for a specific material
generic-fallback-prices.blocksCategory-level fallback for block items
generic-fallback-prices.toolsCategory-level fallback for tools
generic-fallback-prices.armorCategory-level fallback for armor
generic-fallback-prices.defaultUniversal fallback for anything not matched

Enchantment Settings (enchantments)โ€‹

KeyTypeDescription
enabledbooleanEnable enchanted items in bot listings
chancedoubleProbability (0โ€“1) that any generated listing is enchanted
max-countintMaximum enchantments per item; -1 for unlimited

Per-Enchantment Configurationโ€‹

Each enchantment (e.g. SHARPNESS, PROTECTION, EFFICIENCY) has its own block:

KeyDescription
<ENCHANTMENT>.min-levelMinimum level this enchantment can appear at
<ENCHANTMENT>.max-levelMaximum level
<ENCHANTMENT>.min-price-per-levelMinimum price added per level of this enchantment
<ENCHANTMENT>.max-price-per-levelMaximum price added per level

Engagement Settings (engagement)โ€‹

Flash Salesโ€‹

KeyTypeDescription
flash-sale.chancedoubleProbability of a flash sale triggering on a generation run
flash-sale.discountdoubleDiscount percentage applied during a flash sale
flash-sale.durationintHow long flash sale listings stay active (minutes)
flash-sale.announcebooleanBroadcast a server-wide announcement when a flash sale starts
KeyTypeDescription
featured-chancedoubleProbability a generated listing is marked as "featured"

Rare Announcementsโ€‹

KeyTypeDescription
announce-rarebooleanBroadcast when a rare pool item is listed
rare-poolslistPool names that count as "rare" for announcement purposes

Market Eventsโ€‹

Events are named time-window market events that temporarily change pricing and listing volume.

KeyTypeDescription
event-schedule.<name>.dayslistDays of the week the event runs (e.g. SATURDAY, SUNDAY)
event-schedule.<name>.startstringEvent start time (e.g. 18:00)
event-schedule.<name>.endstringEvent end time
event-schedule.<name>.bonus-multiplierdoublePrice multiplier during the event
event-schedule.<name>.extra-listingsintAdditional listings generated per run during the event
event-schedule.<name>.announcebooleanBroadcast when the event begins

Performance Settings (performance)โ€‹

KeyTypeDescription
material-cache-sizeintSize of the generated material data cache
price-cache-ttlintDuration in minutes to cache shop prices
api-rate-limitintMinimum milliseconds between shop plugin API calls

See Alsoโ€‹