Jump to content

First join Skript


DasonPlayz

Recommended Posts

  •  Yeah, that won't work. Instead use:
     

 

on first join:
	add 1 to {totaljoins}
	set join message to "&2&l(SERVER NAME) &8» &a%player% &7has joined the server for the first time! &8##%{totaljoins}%"

 

I suggest learning basic Skript before releasing scripts to the community..

Link to comment
Share on other sites

11 hours ago, HunterLux said:
  •  Yeah, that won't work. Instead use:
     

 


on first join:
	add 1 to {totaljoins}
	set join message to "&2&l(SERVER NAME) &8» &a%player% &7has joined the server for the first time! &8##%{totaljoins}%"

 

I suggest learning basic Skript before releasing scripts to the community..

even better, use %size of offline players% rather than adding to a variable 🙂 

 


[PATRON] Echology

image.png.25b196fc30999f9133398315a98c2b11.png

Sponk = Weeb


 

Link to comment
Share on other sites

This is how I'd consider doing it instead of using "on first join" event:

on join:
    if {firstjoined::*} does not contain player's uuid:
        firstJoin(player)
        add player's uuid to {firstjoined::*}

function firstJoin(p: player):
    send "Welcome to server for the first time :D Edit code to do stuff when player first joins" to {_p}
    # add code here

Skript will check if player's profile exists in your main world folder "world/playerdata/<player's uuid>.dat", and if it doesn't exist, only then it would call the "on first join" event. Wouldn't recommend using "on first join".

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

  • 6 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...