Jump to content

Adding HeliSignals to ServerRewards

Not a Bug 1.2.6

I tried that but I am not having any luck just trying to check everywhere I can.  Thanks anyway.

Edited by wtfreak

Share this comment


Link to comment

What do you mean you are not having any luck, if you follow the instructions on SR plugin page, you literally can't go wrong.

Share this comment


Link to comment

This is what I have for the addition of the command :

"commands": {
    "<name>": {
      "description": "Buy your own easy Attack Heli",
      "iconName": null,
      "commands": [
        "hsgive helisignals.easy $player.id 1"
      ],
      "displayName": "Easy Heli",
      "cost": 2000,
      "cooldown": 0
    }
  }

When I purchase this command in server rewards I get nothing.  I do get an error saying this:

[Heli Signals]: Signal type "helisignals.easy" not recognised, please check and try again!

evidently "helisignals.easy is not the shortname for that command.

Share this comment


Link to comment

Glad you got it sorted, helisignals.easy was incorrect, just easy or whatever the command name is in the config if you changed it is all that's needed.

However, I don't recommend using the command in shops. Always it is better to give the item from shops.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.4k

Files Sold

Total number of files sold.

1.6m

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.