-
Notifications
You must be signed in to change notification settings - Fork 20
Resources : price limits.yml
EpiCanard edited this page May 17, 2020
·
1 revision
(i) The resource file price-limits.yml
is auto generated when you set the config variable Price.LimitPriceChoice
to true.
With this config file you can limit the price range between and item can be sold (price each).
Parameters:
- Min : Minimum price of item, floating number, the value must be positive
- Max : Maximum price of item, floating number,
- if the value is positive the item can't be sold to a price higher than the parameter value
- if the value is negative the max price will have no limit
For example:
minecraft:dirt:
Min: 10
Max: 1000
minecraft:stone:
Min: 20.0
Max: -1.0
With this config, a player can only sell a block of dirt with a price between 10 and 1000 included.
And a block of stone with a minimum price of 20 but without maximum price limit.