Jump to content

Buy Limits Permissions Are Not Applied in Shop Default.json

Pending 2.4.24

tsuyoshi_ito
  • in Shop
tsuyoshi_ito

Posted

Thank you as always for providing such a useful plugin. I really appreciate it.

I have found an issue with the settings in the following file:

oxide/data/Shop/Shops/Default.json

Even when I configure the "Buy Limits" for an item, the permissions defined there do not seem to be applied.

Could you please make it so that the permissions set in "Buy Limits" are properly recognized and applied?

At the moment, I am working around this issue by also setting the same permission under "Discount" so that the permission name is recognized.

  "Buy Limits (0 - no limit)": {
    "shop.default": 1,
    "shop.vip1": 3,
    "shop.vip2": 5,
    "shop.vip3": 10
  },
  
  
  "Discount (%)": {
    "shop.default": 100,
    "shop.vip1": 100,
    "shop.vip2": 100,
    "shop.vip3": 100
  },
  

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.3k
Customers served
Files Sold
162.1k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.