Hi' the plugin is great works as it should but i am having a problem adding a command to the command tab . I have a plugin that calls a personal heli to player and i used the < rewards add command "Helicopter" "/callheli, $player.name" 555 > and < rewards add command "Helicopter" "/callheli" 555 > but none of them work . The chat command is "/callheli" and it works . Can you help me here please ?
Adding commands confusion
/rewards add command Helicopter Heli.call easy $player.id 500
I find it easier to go in to the data/serverrewards/rewards_data.json file then add
this will call the heli to the player that buys the command
also reload the plugin after you've added it.
"Easy ATK Heli": {
"description": "Call a Easy ATK Heli to Fight",
"iconName": null,
"commands": [
"Heli.call easy $player.id"
],
"displayName": "Easy Atk Heli",
"cost": 500,
"cooldown": 3600
},
thank you so much