Aller au contenu principal

Delivery Shop

Configures a rotating delivery shop: NPC spawn schedule, item pool, and FOMO rotation mechanics

Champs

ChampTypePar défautDescription
scheduleString—Cron expression or interval for when the shop appears (e.g. '0 14 * * 7' for Sundays at 2pm)
npcDefinitionRef<EntityDefinitionEntry>—The NPC entity definition used as the merchant appearance. Each nearby player gets their own copy of it. Leave empty to use a plain villager named after the shop.
displayRadiusDouble64.0Distance in blocks within which players see the merchant (only used with an NPC definition)
itemPoolList<DeliveryPoolItem>emptyPool of items randomly selected each rotation
DeliveryPoolItem (5)
ChampTypePar défautDescription
itemIdString——
weightDouble1.0—
priceDouble100.0—
maxStockInt10—
requiredRarityAnimalRarity?——Valeurs :COMMONUNCOMMONRAREEPICLEGENDARY
poolSizeInt6Number of items drawn from the pool each rotation
buybackMultiplierDouble1.5Multiplier applied when buying back animal resources from players
durationMinutesInt120Duration in minutes the merchant stays spawned
spawnWorldStringworldWorld name for the spawn location
spawnXDouble0.0Spawn X coordinate
spawnYDouble64.0Spawn Y coordinate
spawnZDouble0.0Spawn Z coordinate
spawnYawFloat0Spawn yaw

How to use it​

schedule accepts a fixed interval (30s, 15m, 2h, 1d) or a daily time HH:MM. Blank means the merchant is always present and respawns when it leaves. Any other value, including a cron expression, falls back to a 6-hour cooldown. With an npcDefinition, the merchant takes that entity's appearance (for example a BetterModel model): every player within displayRadius blocks (default 64) sees their own copy, and it disappears when the merchant leaves. Without an npcDefinition, the merchant is an invulnerable villager named after the entry. The merchant stays for durationMinutes. Each rotation draws poolSize distinct items from itemPool by weight. You can force a spawn with /tycoonadmin spawnshop <shop>.