Jump to content

commands

Not a Bug 1.4

WarKingz
WarKingz

Posted

im going to come across as a noob can you show me how the command will look in the config please "Custom Command 1": 0,

NooBlet

Posted

Changed Status from Pending to Not a Bug

NooBlet

Posted

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"   

 

 

NooBlet

Posted

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

 

2.3m

Downloads

Total number of downloads.

10.7k

Customers

Total customers served.

154.1k

Files Sold

Total number of files sold.

3.3m

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.