Skip to main content

Configuration

Complete reference for plugins/RandomOrdersAddon/config.yml.


Top-Level Settingsโ€‹

KeyTypeDescription
enabledbooleanMaster on/off switch for the addon
system-player-namestringName shown as the order creator for bot-generated orders

Generation Settings (generation)โ€‹

KeyTypeDescription
min-players-onlineintMinimum online players before generation runs (0 = disabled)
min-interval-minutesintMinimum time between generation runs
max-interval-minutesintMaximum time between generation runs
max-orders-per-intervalintMaximum orders created per run
player-count-scalingbooleanScale orders generated by current player count
peak-hour-multiplierdoubleExtra order multiplier during peak hours
peak-hourslistTime ranges (start/end, 24h) treated as peak hours
generation:
min-players-online: 1
min-interval-minutes: 5
max-interval-minutes: 15
max-orders-per-interval: 3
player-count-scaling: true
peak-hour-multiplier: 1.5
peak-hours:
- start: 18
end: 22

Item Selection Settings (items)โ€‹

KeyTypeDescription
material-poolsmapNamed item pools (common, rare, ores, blocks, etc.), each a material list
pool-weightsmapSelection weight per pool
quantity-rangesmapPer-pool min/max stack size
use-itemsadderbooleanAllow ItemsAdder custom items in pools
allow-enchantmentsbooleanAllow randomly enchanted generated items
enchantment-chancedoubleProbability (0.0โ€“1.0) an eligible item is enchanted
max-enchantmentsintMaximum enchantments per item
allow-nether-itemsbooleanAllow Nether-dimension items (default true)
nether-itemslistMaterial name/wildcard patterns treated as Nether items
allow-end-itemsbooleanAllow End-dimension items (default true)
end-itemslistMaterial name/wildcard patterns treated as End items
items:
material-pools:
common: [DIAMOND, IRON_INGOT]
rare: [NETHERITE_INGOT, BEACON]
pool-weights:
common: 50
rare: 10
quantity-ranges:
common: { min: 16, max: 64 }
rare: { min: 1, max: 16 }
use-itemsadder: false
allow-enchantments: true
enchantment-chance: 0.3
max-enchantments: 3
allow-nether-items: true
nether-items: ["*NETHER*", NETHERRACK, SOUL_SAND, "*WARPED*", "*CRIMSON*"]
allow-end-items: true
end-items: ["END*", "*CHORUS*", "*PURPUR*", "*SHULKER*"]

Pricing Settings (pricing)โ€‹

KeyTypeDescription
base-multiplierdoubleBase price multiplier applied to fallback/shop prices
min-multiplier / max-multiplierdoubleRandom multiplier range applied per order
rarity-multipliersmapMultiplier per pool rarity
time-bonusesmapTime-based price adjustments
shop-providerstringexcellentshop, economyshopgui, or none
profit-marginmapmin/max multiplier above shop sell price
prevent-arbitragebooleanBlock prices exploitable via shop buy-back
fallback-pricesmapPer-material price used when no shop price is available
pricing:
base-multiplier: 2.5
min-multiplier: 1.5
max-multiplier: 4.0
rarity-multipliers: { common: 1.2, rare: 2.5 }
shop-provider: excellentshop
profit-margin: { min: 1.1, max: 1.5 }
prevent-arbitrage: false

Engagement Settings (engagement)โ€‹

KeyTypeDescription
completion-bonusbooleanAward a bonus when an order is fully delivered
bonus-multiplierdoubleCompletion bonus size
special-eventsbooleanEnable scheduled special-order events
event-schedulemapSpecial-event time windows
announce-specialbooleanBroadcast special orders server-wide
default-priorityintDefault priority assigned to generated orders
urgent-chancedoubleProbability a generated order is marked urgent
engagement:
completion-bonus: true
bonus-multiplier: 1.1
special-events: true
announce-special: true
default-priority: 0
urgent-chance: 0.1

Performance Settings (performance)โ€‹

KeyTypeDescription
cache-materialsbooleanCache material pool lookups
price-cache-ttlintShop price cache duration (seconds)
rate-limit-msintMinimum milliseconds between shop plugin API calls
performance:
cache-materials: true
price-cache-ttl: 300
rate-limit-ms: 100

Validationโ€‹

Invalid values (bad interval ranges, multiplier ranges, missing pools, out-of-range enchantment chances, etc.) are corrected automatically on load, with a warning logged.

Apply config changes with:

/randomorders reload

See Alsoโ€‹