🏆Example: Daily Rewards

Rewards is very similar to Shops, but rewards don't have any price, and usually, it needs to be coordinated with the menu system.

Example for Daily Rewards

Create new shop config at /shops/ folder, then create new product like this:

  A:
    price-mode: CLASSIC_ALL
    product-mode: CLASSIC_ALL
    products:
      1:
        material: DIAMOND
        amount: 16
      2:
        material: IRON_INGOT
        amount: 64
      3:
        economy-plugin: Vault
        amount: 1500
    buy-prices:
      1:
        economy-type: exp
        amount: 0
        placeholder: 'Free'
    buy-limits:
      default: '1'
    buy-times-reset-mode: 'TIMED'
    buy-times-reset-time: '00:00:00' 

In this example, players can purchase this "product" once each day, and because the price is free, so we can consider it as "reward".

If you want to make VIP players have bonus 64x bread, then just use our conditions system, like this:

If you also want to VIP players have 50% chance to get bonus 1x diamond sword, then we need create a new random placeholder at config.yml:

Then also use condition system:

Last updated