Skip to main content

ShopPoolEntry

Typewriter Web panel: click Add Page, then use Search bar or + to create the entry with its exact identifier.

A pool groups items that are drawn or displayed together. It is then referenced by itemPools in ShopDefinitionEntry.

Pool fields

Exact fieldRole
itemsList of PoolItem objects.
displayCountNumber of items displayed or selected by the service.

PoolItem fields

Exact fieldRole
itemItem to offer.
weightRelative selection weight.
quantityOffered quantity.
isLimitedEnables a limit for this item.
limitItem limit.
namePool-specific name.
lorePool-specific lore.

In practice

Create the pool, add its PoolItem objects, then select it in the shop's itemPools. A pool does not replace items: a shop can combine direct items and pools.

warning

Weight is not an absolute percentage. It is compared with the weights of the other items in the same pool.