ChestShop-authors / ChestShop-3

ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
https://dev.bukkit.org/projects/chestshop
GNU Lesser General Public License v2.1
275 stars 175 forks source link

Pricelimits messages: minimum pricing #462

Closed x1p closed 3 years ago

x1p commented 3 years ago

Plugin Version

chestshop build 312

Plugin Config

Language file (default) ```yaml SELL_PRICE_ABOVE_MAX: Sell price %price is above maximum %maxprice! SELL_PRICE_BELOW_MIN: Sell price %price is below minimum %minprice! BUY_PRICE_ABOVE_MAX: Buy price %price is above maximum %maxprice! BUY_PRICE_BELOW_MIN: Buy price %price is below minimum %minprice! ```

Server Version

1.16.5/1.17

Server Log

Log ``` [Your log here] ```

What other plugins are you running?

What is happening?

Making a chest with stuff that is priced under the minimum buy price results in the wrong message. Result: Buy price 300 is above maximum %maxprice! Should be: Buy price 300 is below minimum 400! (= %minprice) Making a chest with stuff that is priced under the minimum sell price results in the wrong message. Result: Buy price 40 is above maximum %maxprice! Should be: Sell price 40 is below minimum 45! (= %minprice)

What did you expect to happen?

E.G. Buy price 300 is below minimum 400!

Additional context

Chestop_min_price