Delivery Shop
Configures a rotating delivery shop: NPC spawn schedule, item pool, and FOMO rotation mechanics
Felder
| Feld | Typ | Standard | Beschreibung | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
schedule | String | — | Cron expression or interval for when the shop appears (e.g. '0 14 * * 7' for Sundays at 2pm) | ||||||||||||||||||||||||
npcDefinition | Ref<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. | ||||||||||||||||||||||||
displayRadius | Double | 64.0 | Distance in blocks within which players see the merchant (only used with an NPC definition) | ||||||||||||||||||||||||
itemPool | List<DeliveryPoolItem> | empty | Pool of items randomly selected each rotation
|
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
itemId | String | — | — |
weight | Double | 1.0 | — |
price | Double | 100.0 | — |
maxStock | Int | 10 | — |
requiredRarity | AnimalRarity? | — | —Werte:COMMONUNCOMMONRAREEPICLEGENDARY |
poolSizeInt6buybackMultiplierDouble1.5durationMinutesInt120spawnWorldStringworldspawnXDouble0.0spawnYDouble64.0spawnZDouble0.0spawnYawFloat0How 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>.