Jump to content

Help with Custom command

Closed 1.6.1

Kobani
Kobani

Posted

I am trying to add a command
Should be like this:
/troll.rocketman <player>
I add it to your config like this: 
  "5. custom command 1 : command": "/troll.rocketman {playername}",
or
  "5th Custom Command 1 : Command": "troll.rocketman {playername}",

but neither works. Can you tell me what I'm doing wrong? Because in normal chat, the command works.

NooBlet

Posted

Custom  commands are console commands . So if the command can run in console .(server console) it should work. So asume you dont own payback . Seeing you have a command similiar as payback's rocketman

Kobani

Posted

Thanks for the quick answer. I use this plugin. 

Here is my config with which I am testing it.

{
  "1. Sign Picture URL": "www.noobhub.co.za/dont.png",
  "10. Custom Command 2 : Message": "Just got a Rank",
  "11. Custom Command 3 : Command": "giverank {playerid}",
  "12. Custom Command 4 : Message": "Just got a Rank",
  "13. Broadcast Font Size [18 default]": 18,
  "14. Send Discord embeds on punishments": false,
  "15. Discord WebHook URL": "https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
  "2. Timed C4 (false will be instant explosion": true,
  "3. Use Random location for swim location": true,
  "4. Broadcast Button Action to Server": true,
  "5. Custom Command 1 : Command": "troll.rocketman {playername}",
  "6. Custom Command 1 : Message": "troll fly",
  "7. Cooldown Time on Button Press": 0,
  "8. Use Payback Plugin Punishments": false,
  "9. Custom Command 2 : Command": "giverank {playerid}",
  "Bear": 0,
  "C4": 0,
  "Cactus": 0,
  "Chickens": 0,
  "Custom Command 1": 2,
  "Custom Command 2": 0,
  "Custom Command 3": 0,
  "ExplosiveDiarrhea": 0,
  "Fall": 0,
  "FireBall": 0,
  "GunTrap": 0,
  "Landmine": 0,
  "Payback:Naked": 0,
  "Payback:Rocketman": 0,
  "Payback:Shark": 0,
  "Payback:Shocker": 0,
  "PVELord": 0,
  "Radiation": 0,
  "Scarecrow": 0,
  "Scientist": 0,
  "Scrapheli": 0,
  "Shredder": 0,
  "Slap": 0,
  "Swim": 0
}

 


 

NooBlet

Posted

try to use playerid instead    .     " troll.rocketman {playerid}"

  • Like 1
Kobani

Posted

Thank you it works

 

NooBlet

Posted

glad to help ... im buzy rewriting config .. so hopefully tomorrow  ill update a more readable config with 10 custom commands

  • Like 1
NooBlet

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.