Jump to content

New players ?

Closed 1.1.2

massa2a
massa2a

Posted (edited)

Hi there !

Just purchased and finish to set up the plugin, i'm wondering how we can set an automatic command to run when a new player is coming to the server to receive message + welcome gift ?

Thank you !

Edited by massa2a
Bad Cop

Posted (edited)

Hello @massa2a

 

You would need a plugin which sends a command when a player joins for the first time. 

 

You can use the attached plugin.

 

Example command to put in the config:

 

mail.send %SteamID% \"Welcome!\" \"Welcome to the server!\n\n This is a mail system used to message online and offline players and for admins to share important information, changes or updates during the wipe\n\nWe hope you have a great time\" -item ammo.pistol.hv 100 0 \"\" -img 1

 

Will send a message with an attachment of 100 hv pistol ammo (no skin, no custom display name) and using the 2nd image from your list of images

 

 

 

Edited by Bad Cop
massa2a

Posted

Ok Thanks ! Just by adding this .json it will work, not necessary to get c .cs plugin file ?

Bad Cop

Posted

1 minute ago, massa2a said:

Ok Thanks ! Just by adding this .json it will work, not necessary to get c .cs plugin file ?

Sorry, i was supposed to give you the .cs 😅

 

NewJoinCommand.cs

  • Love 1
massa2a

Posted

Ahah ! Will be better , thanks a lot for help !

  • Like 1
Bad Cop

Posted

No problem, anytime 🙂

Bad Cop

Posted

Changed Status from Pending to Closed

2.2m

Downloads

Total number of downloads.

10.1k

Customers

Total customers served.

146.7k

Files Sold

Total number of files sold.

3.1m

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.