Jump to content

Display an error message if you do not have permission

Pending 1.2.1

hid333
hid333

Posted

There will be no response if you do not have permission due to the following settings, etc.
It would be helpful if an error message stating that you do not have permission was displayed. I have not tried the safe zone, but if it is the same, I would appreciate it if you could do the same.
"Redeem Only If Authed": true,

ThePitereq

Posted

It should print You are <color=#5c81ed>not authorized in Cupboard</color>. You cannot open this redeem inventory!

hid333

Posted

I understand. If that's the case, it may be that something on our side is affecting it and preventing it from displaying, so I'll check. The function itself is not affected in any other way.

hid333

Posted

I checked again, and no message appears saying I don't have permission.
When I'm in a safe zone or a place where I have TC permission, I can open the redeem inventory with the items output correctly.
The settings are as follows, and I haven't edited the Lang file.

{
  "Redeem Commands": [
    "redeem"
  ],
  "PopUp API Preset": "Legacy",
  "Redeem Storage Item Reminder (in seconds, 0 to disable)": 600,
  "Redeem Inventories": {
    "default": {
      "Default Redeem Inventory (only one)": true,
      "PopUp Message (configurable in lang file)": false,
      "Redeem Only In Safezone": true,
      "Redeem Only If Authed": true,
      "Allow When No Cupboard (works is option above is true)": false,
      "Wipe Storage Content On Server Wipe": false
    },
    "market": {
      "Default Redeem Inventory (only one)": true,
      "PopUp Message (configurable in lang file)": true,
      "Redeem Only In Safezone": true,
      "Redeem Only If Authed": true,
      "Allow When No Cupboard (works is option above is true)": false,
      "Wipe Storage Content On Server Wipe": false
    }
  }
}

 

2.2m

Downloads

Total number of downloads.

10.2k

Customers

Total customers served.

147.6k

Files Sold

Total number of files sold.

3.1m

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.