Jump to content

Question about adding permissions to rewards

Closed 1.5.9 1.5.9

OldRusty
OldRusty

Posted (edited)

Hi there, I have added a permission to one of the reward levels as below:

     "Level": 20,
      "Items": [
        {
          "Command": "",
          "Shortname": "metal.fragments",
          "Amount": 500,
          "Skin": 0,
          "Display name": "Metal Fragments",
          "Blueprint": false,
          "Permission": "removertool.normal"

but this didn't grant players reaching level 20 the remover tool permission, Im assuming now that I have to Issue the command oxide.grant user permission is this right, if so what do I have to include in the command to identify the player?

 

Also once i get this working, how can i get the xp list command to display the permission that has been rewarded?

 

Would appreciate some help with this one.

Thanks

Old Rusty

Edited by OldRusty
added to question
FastBurst

Posted

If I remember correctly that's how it works with it you have to do the full command.
As far as seen what has been rewarded it only shows the items once they hit it

OldRusty

Posted

OK i can do it with the full command but what is the variable for who to give it to for example oxide.grant user ****** removertool.normal, what do i put instead of the ******?

Regards Old rusty.,

FastBurst

Posted

sorry I thought I had replied to this a while ago - {steamid} is what you need to place with it. It will automatically replace that with the players steam id

 

FastBurst

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.5.9

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.7k

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.