How To Make Custom Welcome Messages In Vanilla Minecraft?

[BACK]
How To Make Custom Welcome Messages In Vanilla Minecraft?
Posted On: February 3, 2023

I was wondering how to make your own custom welcome messages in Minecraft using command blocks. I want it to replace the regular welcome message to make it look more professional. I am really looking forward to releasing my server in a couple of days so I want to make a good first impression. Thank you!.


Question from user Eton at gaming.stackexchange.com.


Answer:

There is no way to alter the default welcome messages afaik. But you can add your own custom messages after that, using the title command or a custom tellraw message.


Returning player.


To set this up, you'll first need a objective to detect when a player has left the game (run once):.


# 1.12 and below.


/scoreboard objectives add hasLeft stat.leaveGame .


# 1.13 and above.


/scoreboard objectives add hasLeft minecraft.custom:minecraft.leave_game.


This will be on 1 as soon as they log back in. you can then use @a[score_hasLeft_min=1] (1.12 and below) / @a[scores={hasLeft=1..}] (1.13 and above) to target those players.


e.g.


# 1.12 and below.


/title @a[score_hasLeft_min=1] title ["",{"text":"Welcome back!"}].


/execute @a[score_hasLeft_min=1] ~ ~ ~ /tellraw @a ["",{"text":"Welcome back "},{"selector":"@a[score_hasLeft_min=1]"},{"text":" to the server!"}].


# 1.13 and above.


/title @a[scores={hasLeft=1..}] title ["",{"text":"Welcome back!"}].


/execute as @a[scores={hasLeft=1..}] run tellraw @a ["",{"text":"Welcome back "},{"selector":"@s"},{"text":" to the server!"}].


these commands will.


display "Welcome back!" as a title to the player that just logged in and.


display "Welcome back [player] to the server!" in chat, visible for everyone.


make sure to set the score to 0 after you displayed your messages to prevent the chat from being spammed:.


# 1.12 and below.


/scoreboard players set @a[score_hasLeft_min=1] hasLeft 0.


# 1.13 and above.


/scoreboard players set @a[scores={hasLeft=1..}] hasLeft 0.


First time joining player.


The Commands above will only provide a "welcome back" to players that came back for the second time. To target players that log in for the first time the easiest way would be something like this:.


# 1.12 and below.


/execute @a[tag=!firstJoin] ~ ~ ~ /tellraw @a ["",{"text":"A warm welcome to "},{"selector":"@a[tag=!firstJoin]"},{"text":" who joined for the first time!"}].


/scoreboard players tag @a[tag=!firstJoin] add firstJoin.


# 1.13 and above.


/execute as @a[tag=!firstJoin] run tellraw @a ["",{"text":"A warm welcome to "},{"selector":"@s"},{"text":" who joined for the first time!"}] .


/tag @a[tag=!firstJoin] add firstJoin.


Since players join for the first time, they won't have the firstJoin tag. you can execute the tellraw (or whatever) off of that, then add the tag to display the message only the very first time they join the server.


Answer from user Plagiatus at gaming.stackexchange.com.


[BACK]
How To Make Custom Welcome Messages In Vanilla Minecraft?
Posted On: February 3, 2023

I was wondering how to make your own custom welcome messages in Minecraft using command blocks. I want it to replace the regular welcome message to make it look more professional. I am really looking forward to releasing my server in a couple of days so I want to make a good first impression. Thank you!.


Question from user Eton at gaming.stackexchange.com.


Answer:

There is no way to alter the default welcome messages afaik. But you can add your own custom messages after that, using the title command or a custom tellraw message.


Returning player.


To set this up, you'll first need a objective to detect when a player has left the game (run once):.


# 1.12 and below.


/scoreboard objectives add hasLeft stat.leaveGame .


# 1.13 and above.


/scoreboard objectives add hasLeft minecraft.custom:minecraft.leave_game.


This will be on 1 as soon as they log back in. you can then use @a[score_hasLeft_min=1] (1.12 and below) / @a[scores={hasLeft=1..}] (1.13 and above) to target those players.


e.g.


# 1.12 and below.


/title @a[score_hasLeft_min=1] title ["",{"text":"Welcome back!"}].


/execute @a[score_hasLeft_min=1] ~ ~ ~ /tellraw @a ["",{"text":"Welcome back "},{"selector":"@a[score_hasLeft_min=1]"},{"text":" to the server!"}].


# 1.13 and above.


/title @a[scores={hasLeft=1..}] title ["",{"text":"Welcome back!"}].


/execute as @a[scores={hasLeft=1..}] run tellraw @a ["",{"text":"Welcome back "},{"selector":"@s"},{"text":" to the server!"}].


these commands will.


display "Welcome back!" as a title to the player that just logged in and.


display "Welcome back [player] to the server!" in chat, visible for everyone.


make sure to set the score to 0 after you displayed your messages to prevent the chat from being spammed:.


# 1.12 and below.


/scoreboard players set @a[score_hasLeft_min=1] hasLeft 0.


# 1.13 and above.


/scoreboard players set @a[scores={hasLeft=1..}] hasLeft 0.


First time joining player.


The Commands above will only provide a "welcome back" to players that came back for the second time. To target players that log in for the first time the easiest way would be something like this:.


# 1.12 and below.


/execute @a[tag=!firstJoin] ~ ~ ~ /tellraw @a ["",{"text":"A warm welcome to "},{"selector":"@a[tag=!firstJoin]"},{"text":" who joined for the first time!"}].


/scoreboard players tag @a[tag=!firstJoin] add firstJoin.


# 1.13 and above.


/execute as @a[tag=!firstJoin] run tellraw @a ["",{"text":"A warm welcome to "},{"selector":"@s"},{"text":" who joined for the first time!"}] .


/tag @a[tag=!firstJoin] add firstJoin.


Since players join for the first time, they won't have the firstJoin tag. you can execute the tellraw (or whatever) off of that, then add the tag to display the message only the very first time they join the server.


Answer from user Plagiatus at gaming.stackexchange.com.


[BACK]

Pokémon Selection Strategy for Emerald Pokémon Selection Strategy for Emerald

Posted On: May 29, 2023
I've gotten about midway into Pokémon Emerald -- completed the third badge (electric badge), and starting to get quite an assortment of Pokémon. The problem is, I can't figure...[More]


The real reason we don't have Quidditch in Hogwarts Legacy The real reason we don't have Quidditch in Hogwarts Legacy

Posted On: April 18, 2023
Question from user erwin4200 at HogwartsLegacyGaming at reddit.com. Answer: Why adding it to the game as DLC if you can squeeze out money with a separate full triple a release. Answer from us...[More]


Attempting my first honor mode run Attempting my first honor mode run

Posted On: September 10, 2024
I've beat the game twice on balanced with different party combos and classes to familiarize myself with as much as the game as possible. .My plan for my HM run is:.Spores Druid Tav, OH Monk Karlach (m...[More]


What are the limits of Minecraft worlds? What are the limits of Minecraft worlds?

Posted On: January 18, 2024
Although Minecraft uses its peculiar cube art for all the elements in it, it respects some physics' laws in some manner. If Minecraft uses gravity laws and we expect it respects computer memory...[More]


How to get drow gf? How to get drow gf?

Posted On: April 5, 2025
Used a stupid title just in case I don't spoil anyone, but you know what I mean. .I want to recruit Minthara. I understand I do that by knocking her out non-lethal style in the goblin camp. However I ...[More]


What happens if the guards begin a search while you have the VIP Pass on Rock the Cradle? What happens if the guards begin a search while you have the VIP Pass on Rock the Cradle?

Posted On: October 24, 2023
If you have the VIP Pass on Rock the Cradle, all private areas of the heist essentially become public areas. Cameras and guards do not detect you in casing mode in the VIP area of the nightclub, or in...[More]


Zelda Breath Of The Wild Where can I find spicy peppers? Zelda Breath Of The Wild Where can I find spicy peppers?

Posted On: May 3, 2023
I used all the spicy peppers and the old man says that I will find them by the citadel of time, but I've searched and found nothing. What does this plant look like and where is it? Question ...[More]


Newbie, beginner dummie to BG3, guidance greatly appreciated Newbie, beginner dummie to BG3, guidance greatly appreciated

Posted On: October 20, 2023
I'm playing on PS5. I've played the Bethesda RPG's a lot, but this feels like another magnitude of complexity. I'm just getting started, managed to escape the ship and doing a little e...[More]


I cant find Manaphy in Pokemon Legends Arceus I cant find Manaphy in Pokemon Legends Arceus

Posted On: July 13, 2023
I finished all the tasks, even unlocked the cave, but Manaphy isn't there. I already repeated the process many times, he's not there. Any help? Question from user Maria Zapata at stackex...[More]


Is there any reason to collect more money after repaying the companys debt? Is there any reason to collect more money after repaying the companys debt?

Posted On: April 16, 2024
In Pikmin 2, after you repay the company's debt of 10,000 Pokos, you are tasked with collecting the rest of the uncollected treasures. However, I noticed you can still earn money outside of treasures ...[More]