Jump to content

% Discounts Not applying largest

Pending 2.0.7

PumpkinKing
PumpkinKing

Posted

Good Morning 

I may be missing something 

When players have multiple permissions only the lowest perm % discount applies


        "Discount Permissions (permission: percentage)": {
          "shoppystock.discount.vip1": 5.0,
          "shoppystock.discount.vip2": 10.0,
          "shoppystock.discount.vip3": 15.0,
          "shoppystock.discount.vip4": 40.0,
          "shoppystock.discount.vip5": 50.0

ThePitereq

Posted (edited)

Hey, oh. Just realised idk why but everything is checked backwards 😄
Instead of finding biggest discord it searches for smallest lol.
Will be fixed in next version, sorry for that.

 

If you need fix now you can message me on discord so i can share an new version of plugin with you faster.
Just I don't want to push many version updated with small fixes few times a week, it's better to make bulk one 😄

Edited by ThePitereq
PumpkinKing

Posted

Pushed it Live to the servers. Ty much works perfect.  👍

1.9m

Downloads

Total number of downloads.

9.1k

Customers

Total customers served.

133.7k

Files Sold

Total number of files sold.

2.8m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.