Change price limits
Listing price range — settings.min-price and settings.max-price.
Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.
Every price from /wystaw and /market sell must fit the range in config.yml.
Keys
settings:
min-price: 1.0
max-price: 1000000.0Default minimum 1.0, maximum 1 000 000.0. Loaded via getDouble("settings.min-price", 1.0) and getDouble("settings.max-price", 1000000.0).
Out-of-range message:
messages:
sell:
invalid-price: "Nieprawidłowa cena! Cena musi być między &a{min} &7a &a{max}"{min} and {max} are formatted by VaultHook.format ($1 / $1000000).
How to change
- Match values to the server economy (e.g.
min-price: 10.0,max-price: 50000.0). /market reload.- Test
/wystaw 5(should fail if min = 10) and/wystaw 10(OK).
This is not the same as anti-abuse.max-transaction-value (default 10000000). That one blocks purchase / transaction above the threshold even when the listing price fits max-price.
Price alerts
/market alerts add <phrase> <max-price> uses the alert's max price, not settings.max-price. Alert count limit: price-alerts.max-per-player (10).
Fees vs limits
Fee is calculated from listing price (listing-fee-percent / sale-fee-percent). Changing min/max does not change percentages — only the legal price range.