Grant a permission as a reward?Solved
I would like to sell quicksmelting speeds.

for example a player can buy quicksmelting speed increase 3x for 10 RP

is this possible to?

i even tryed making a seprate group with just this permsision enabled and in server rewards i tried to grant the user when they buy that item in that single group but it says

Command ' oxide.grant fastsmeltting 76561############' not found
The command example you used isn't a valid command. Are there specific permissions you want to use from a plugin? Shouldn't be an issue, you would just need to use a valid command to grant the permission and permissions that exist.
for example i would like to allow players to buy quicksmelting. with rp

1. make a group and call it Quick smelting.

2. i would then grant that permission to that group to be able to use quick smelting.
quicksmelt.use

3. i dont know what to do from here. 

- here is from the umod description
This plugin uses Oxide's permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.

  • quicksmelt.use -- Allows player to quick smelt


4. when i added the command to the shop i did this:
oxide.grant Quick smelting $player.id quicksmelt.use

is there something i am missing?

As mentioned above, that is not a valid format for the command.

oxide.grant group quicksmelting quicksmelting.use

or

oxide.grant user $player.id quicksmelting.use
what would be the correct format to adding any permission to the command tab in the shop for a player to buy?

also thanks for repying and helping i been pulling my teeth out for the past two weeks trying to figure it out im new to this.

I would assume something like this...

/rewards add command "Quick Smelting" "oxide.grant user $player.id quicksmelting.use" 100
So I just tried it. The command was accepted however when I tried buying it from the shop I did not have the permission unlocked. I still had to manually grant it to myself.
Sorry, try quicksmelt.use.

/rewards remove command "Quick Smelting"
/rewards add command "Quick Smelting" "oxide.grant user $player.id quicksmelt.use" 100​
it works. can this work with any permision?
Yes, should work fine.
Locked automatically