opening command on interact
Im sorry to put this up here but i hoped to get it working. For myself im new to this plugin and its alot of research to get thing working. Its alot of learning but worth it !
At the moment im struggeling with something that would be so easy to do... Im trying to make a npc open a menu for example jobs menu. So on clicking the npc it would send a command /jobs to the player that clicked it.
For some reason it doesnt work the command doesnt get send to the player. I tried this:
- command{c="jobs";at=true;asOp=true}
- command{c="battlepass";ac=true;op=true}
- command{c="sudo <target.name> battlepass"}
But none of this 3 opens the menu. Seems like it cant open because the console doesnt give the commands to send it to a specific player.
Because the only command that i found working was to open the backpack because in the console you can type bp open playername
And with jobs or battlepass or other commands it doesnt know in the console. Any suggestions?