/rewards add command Does not work

I'm attempting to run "/rewards add command 'Meteor Shower' 'rof barrage' 25000" yet it does not work. The buy button or whatever pops up, it consumes my points when I do buy it, name shows up and all, but the command does not run. I have the permission myself when I buy it and it still does not work. Any help?

`/rewards add command 'Meteor Shower' "rof barrage $player.id" 25000`

this does not work, it gives me "/rewards add command <Name> <command> <cost>" whenever i run that

Rof barrage is a chat command, there is only 2 console commands for the plugin
 

  • rof.random - Start random event right now. (does not reset the timed event)
  • rof.onposition x z - Start event at specified coordinates.


Merged post

Or you could try `chat.say /rof barrage $player.x, $player.y, $player.z`
as the rof barrage command works from the position you are looking at

would this then require them to have the permission?

Merged post

ive tried this with a different command as well and it seems like the player still needs the permission. is there any way to have players do commands in this shop without the permission?

 

This is the only command that will work in the store with that plugin