⚡Example: Common Usage

settings:
  menu: 'example-shop-menu'
  buy-more: true
  shop-name: 'Blocks Shop'
  hide-message: false

items:
  A:
    # ...
  B:
    # ...
  C:
    # ...

Product A

This example has sell limits, which means player can only sell this product X times every day.

  • Sell limits can help your server has "economy balance", even player has 10000 rotten flesh, he still can only sell 64x in this example.

  • In this example, VIP players will have 50% more sell limits, which can help your server has more supporter.

  • In this example, sell limits will reset at local time '0:00:00', which means midnight.

  • In this example, we set price and product mode has CLASSIC_ prefix, this will save server performance, you should use this when you didn't set start-apply option to other value in prices section.

Product B

Product A only brought an item from vanilla, let's try to obtain an item from a third-party plugin! Meanwhile, using Vault as an economy is too boring! Let's try something different, such as vanilla's experience points!

  • To get how to write hook-plugin option and hook-item option, please read Item Format page.

  • To get how to write economy-type option or economy-plugin option, please read Economy Format page.

Product C

Sometimes, we do not support the third-party plugin items you are using, so you can solve this by creating a command shop!

  • You can first enter the command /shop generateeitemformat to generate an Item Format and fill it into the display-item option. This way, even if you haven't set any items, the plugin can still display the item in the store by reading the item in the display-item option.

  • This product didn't set sell-prices option, so it can not be sold.

  • After purchase, we will execute buy-actions which includes execute the command you set. For more info about Actions, please read Action Format page.

Seasonal Product

Last updated