Jump to content

Question about adding permissions to rewards

Closed 1.5.9 1.5.9

OldRusty

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

Share this comment


Link to comment

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

Share this comment


Link to comment

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.,

Share this comment


Link to comment

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

 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.3k

Files Sold

Total number of files sold.

1.6m

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.