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

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

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

 

Link to comment
1.2m

Downloads

Total number of downloads.

6.1k

Customers

Total customers served.

89.4k

Files Sold

Total number of files sold.

1.7m

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.