magemonkeystudio / genesis

MIT License
8 stars 8 forks source link

[Suggestion] Discount #53

Closed Nik2810-Original closed 5 months ago

Nik2810-Original commented 6 months ago

That you can add discounts for the players with permissions: bossshop.discount.<shopname>.<itemname>.<discountinpercent> - to have a discount for a specific item in a shop bossshop.discount.<shopname>.<discountinpercent> - to have a discount for a specific shop

New Placeholder: %price_<shopname>_<itemname>% - to see the price of an item in another shop, but the price is the price minus the discount if there is a discount

Placeholder change: %price% placeholder would cross out the normal price (like this: &c&m<old normal price>) and then display the price with a discount (like this: &a<new price with discount>). So instead of the normal price, %price% shows the price like this: &c&m<old normal price> &a<new price with discount>