📅Example: Daily Shop/Rotating Shop
Create random placeholder
We need to create a random placeholder.
In this example, we created a new random placeholder config called daily.yml at random_placeholder folder. And it's options represents:
reset-modeandreset-time: This placeholder refreshed every day.element-amount: This placeholder will randomly pick 5 elements when it refresh, this is same as the amount of slots in this daily shop.elements: The result determines what product will appear in this slot by the condition system. So the quantity of elements should be equal to the quantity of all possible products in the daily shop.
In this example, this daily shop will has 5 slots and 7 possible products, so each day, it will has 2 products be hidden, and 5 products randomly picked to display in shop.
Please view Random Placeholder page for more info about random placeholder.
reset-mode: TIMED
reset-time: '00:00:00'
element-amount: 5
per-player-element: false
element-sort: true
elements:
- 'A'
- 'B'
- 'C'
- 'D'
- 'E'
- 'F'
- 'G'Configure Shop
The various options used in this example are detailed on the Shops page. If you are unsure of the purpose of each option, please refer to that article.
Configure Menu
The various options used in this example are detailed on the Menus page. If you are unsure of the purpose of each option, please refer to that article.
Showcase

Last updated