🔖Discount Placeholder - Premium
We added {discount}
built-in placeholder in plugin.
Configure
Open
config.yml
, find those contents:
Change the value you would like.
mode: You can create unlimited discount placeholder and have 2 type: MIN and MAX, min means buy, which player pay lower price for products, max means sell, which player get more money form sell items.
default: Default value, there is no reason you change this value other than 1.
vip/mvp: Condition ID value, players meet the conditions will use those value.
For conditions, view Conditions.
Use Placeholder
Use {discount_<ID>}
placeholder to display it's value. For more info, please view Placeholders page.
Like:
5 is base price, then use {discount_buy} before it.
Auto Apply Discount Placeholder
Start from 2.3.2, you can auto apply discount discount placeholder to all prices! Just configure it in
config.yml
file.
It is recommend you disable this feature for dynamic price, if you want to enable it for dynamic price too, just change
black-dynamic-price
option to false here!If you want to disable this feature for specified shops, use
black-shops
option.
Last updated