DasonPlayz Posted November 13, 2020 Share Posted November 13, 2020 on join: if {totaljoins::*} does not contain player: add 1 to {totaljoins::*} broadcast "&2&l(SERVER NAME) &8» &a%player% &7has joined the server for the first time! &8{totaljoins::*}" Link to comment Share on other sites More sharing options...
HunterLux Posted November 13, 2020 Share Posted November 13, 2020 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 More sharing options...
Echology Posted November 13, 2020 Share Posted November 13, 2020 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 Link to comment Share on other sites More sharing options...
DasonPlayz Posted November 17, 2020 Author Share Posted November 17, 2020 oh.. ok i think it might be outdated? Link to comment Share on other sites More sharing options...
CoolProgrammer Posted November 21, 2020 Share Posted November 21, 2020 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. 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 More sharing options...
CoolHandLuke865 Posted June 3, 2021 Share Posted June 3, 2021 (edited) e Edited June 3, 2021 by CoolHandLuke865 Link to comment Share on other sites More sharing options...
CobaltDreamer Posted June 4, 2021 Share Posted June 4, 2021 Hello CoolHandLuke865, Please refrain from responding in threads that are inactive for more than a month. Locking this thread. Link to comment Share on other sites More sharing options...
Recommended Posts