🛒Products
Here is an example of 2 product configs:
Items ID / Product ID
Product ID must be a single char, because we need use them in shop menu layout
option.
General Options
display-item.modify-lore: Whether we will modify display item lore. Optional (default to true)
display-name: Set product display name in {product} placeholder and buy more menu display item. Optional.
buy-more: Set whether this product can open buy more menu, you must delete shop's buy-more option to make this option has effect! Optional.
buy-more-menu: Set up separate buy more menu settings for the product. Optional. Require 2.2.10+ version.
price-mode: Support
ANY, ALL, CLASSIC_ANY, CLASSIC_ALL
. Required.product-mode: Same as above. Required if you have products section.
Product Give
Give random products that meet conditions.
Give all products.
Same as ANY.
Same as ALL.
Product /Price Take
First product/price that we found player meet condition and have enough amount.
Players must have all products/prices that meet conditions to sell.
Same as ANY.
Same as ALL.
Price Give (means sell)
First prices meet the condition requirements.
All prices will be given.
Same as ANY.
Same as ALL.
Price Support
Support dynamic price & apply
option.
Same as ALL.
Price must be same at everytime.
Same as CLASSIC_ALL.
Server Performances
Maybe high when you have much buy/sell requests.
Same as ALL.
Low, just like other shop plugins doing!
Same as CLASSIC_ANY.
buy-limits: Set the maximum times of buy/sell times. Optional. If not set, product can be purchased with unlimited times.
buy-limits.global: Global limit. Optional.
buy-limits.default: If player don't meet any condition set below, they will use this limit. Required if you have set buy-limits.
sell-limits: Same as buy-limits, but use for sell.
Single Thing Options
This section of the configuration includes the following options:
buy-prices
sell-prices
products
Buy/Sell Times Reset Options
This section of the configuration includes the following options:
buy-times-reset-mode
buy-times-reset-time
buy-times-reset-time-format
sell-times-reset-mode
sell-times-reset-time
sell-times-reset-time-format
Dynamic Value
{buy-times-player}
{buy-times-server}
{sell-times-player}
{sell-times-server}
{last-buy-player}
{last-buy-server}
{last-sell-player}
{last-sell-server}
Also in buy-prices
and sell-prices
section, you can set new 2 options:
max-amount: Price max amount, useful for dynamic prices. Optional.
min-amount: Price min amount, useful for dynamic prices. Optional.
Please carefully note that if you want to use our PlaceholderAPI extansion's placeholder, you have to use our new format, for example:
Additionally, you need to set menu.shop.click-update
to true
if the related to product is also in the menu you opened. Otherwise this price won't auto update after you sell B product.
Sub Buttons - Premium
Sometimes, you want to display same product in different menus, or you want to make 2 or more buttons for same product. Well, as-sub-button
option can help you. Just set another product ID here, then this button will also be considered as the product you set here.
display-item: Supports set different display item for sub buttons.
as-sub-button: Type
Product ID
orShopID;;ProductID
here.
Last updated