Jump to content

Permissions for buyable raids not working

Pending 2.9.7

Snaplatack
Snaplatack

Posted

Hello nivex! I seem to have an issue with the raidable bases permissions not applying for buyable raids. I set the `raidablebases.buyraid.pveonly` permission to the PVE players and the `raidablebases.buyraid.pvponly` to the PVP players. But a PVE player bought a raid and it switched to PVP. Is there a config option Im missing that might be overruling the permission or is it a bug? Waiting to hear back from the player that sent me this issue so I can elaborate more.

nivex

Posted (edited)

heya, actually I'm not sure. the code looks to be fine

Quote

RaidableType.Purchased when rb.payments.type != 0 => rb.payments.type == 2,

pve perm is 1 and pvp perm is 2 so this would set it to PVP when it's 2, and anything else (including 1) would be PVE.

I can check it out later

Edited by nivex
nivex

Posted

hi, I tested this and it's working. permissions must be overlapped somehow on your end then?

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.4k

Files Sold

Total number of files sold.

2m

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.