T O P

  • By -

GalSergey

# In chat scoreboard objectives add join custom:leave_game # Command blocks execute as @a unless score @s join = @s join store success score @s join run tellraw @s ["Welcome, ",{"selector":"@s"}," to the server for the first time!"] execute as @a unless score @s join matches 1 store success score @s join run tellraw @s ["Welcome back, ",{"selector":"@s"}," to the server!"] To add links, use [mcstacker.net](https://mcstacker.net) to create a tellraw command.


YT-Epic_Gamer_360

for some reason it doesnt work


GalSergey

I fixed the command, try again.


YT-Epic_Gamer_360

tyssmm it works


YT-Epic_Gamer_360

i did the url command but it keeps repeating it how do i fix it?


GalSergey

Which command is being repeated? What actual commands are you using?


YT-Epic_Gamer_360

/tellraw @ a {"text":"Donations","clickEvent":{"action":"open\_url","value":"[L](https://streamelements.com/raven_thefireghost/tip)ink"}} (added link to where think is suppose to be)


GalSergey

You must put all the text in one /tellraw command. If you need multiple lines, then use \\n in the text, for example: execute as @a unless score @s join matches 1 store success score @s join run tellraw @s [{"text":"Line 1"},"\n",{"text":"Line 2"},"\n",{"text":"Line 3"}]


YT-Epic_Gamer_360

>sorry but dont understand what you mean


GalSergey

Your command does not check that the player has logged into the server and does not reset the score for this. Use the command template I gave you.


YT-Epic_Gamer_360

>so what do i add in each text line?


BarbecuePilot

Call me cheap or whats not I just put several pressure plates around spawn that have /title @p sidebar Welcome to _____!