Jump to content

commands

Not a Bug 1.4

ok so custom commands works like a console command....

so lets say you have a plugin called gifts (all makebelive now) and in gifts you have a console command that looks like this

 

gift <player> <gift>

 

so this command has 2 arguments . so in noob terms

gift nooblet c4

so command name first space then player name/ID then gift to give .....

in this plugin there are argument placeholders that you can find in discription ....

 

lets take a normal rust command  ..... give a player an c4

 

inventory.giveto “player name” “short name” “amount”     (from https://www.corrosionhour.com/rust-give-command/)

 

so your config should have this as command

inventory.giveto {playername} “c4” “1”   

 

 

  • Love 1

Share this comment


Link to comment

or lets say you have timed permission . and want to grant a player a rank for a time

 

addgroup {playerid} vip 30d

 

so it depends what you want to do with custom command

 

  • Like 1
  • Love 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.1k

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.