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]

Whats wrong with this custom blocks loot table? Its supposed to choose drop by testing for silk touch, but non-enchanted pick drops both options Whats wrong with this custom blocks loot table? Its supposed to choose drop by testing for silk touch, but non-enchanted pick drops both options

Posted On: March 13, 2024
I have a custom block that is supposed to be only obtainable using a Silk Touch pickaxe. If mined with a pickaxe without Silk Touch, it should drop end stone instead, and if mined with the wrong tool,...[More]


Newbie, tips needed please Newbie, tips needed please

Posted On: February 3, 2025
So, new into game. Please tell me: who to keep, who to left in camp? Its very weird system. I know, that I can exchange my group, but what about leveling? That one that I left in the camp, Will ne und...[More]


Quest for Glory 3 honey issues Quest for Glory 3 honey issues

Posted On: June 12, 2023
I'm playing Quest for Glory 3 (fully patched) in Dosbox but I'm a bit stuck. I discovered the location with the bees but had no honey at that stage. I left and the bee map marker appeared o...[More]


Whats the software used in Mega Man X speedruns? Whats the software used in Mega Man X speedruns?

Posted On: April 25, 2024
I'm starting out with my personal journey toward a 100% speedrun of Mega Man X, and I noticed that pretty much every speedrunner on YouTube is using a software that keeps track of time for each level:...[More]


How do I use Triple Notch without triggering High Volley in Horizon Forbidden West How do I use Triple Notch without triggering High Volley in Horizon Forbidden West

Posted On: April 21, 2023
I have two skills from the Hunter tree: Triple Notch and High Volley. The weird thing is that as far as I can tell both are triggered by the same buttons, holding L2 and pressing R1. Sometimes when...[More]


Does being in full darkness prevent you from being detected in ToTK? Does being in full darkness prevent you from being detected in ToTK?

Posted On: May 16, 2023
* minor spoilers *. I'm trying to sneak my way underground early to try to find some goodies, and there's a lot. Fortunately it's not densely populated with enemies everywhere. Came acr...[More]


How much grain can a giant node produce with the production per 25 perk? How much grain can a giant node produce with the production per 25 perk?

Posted On: June 13, 2023
The total amount of stuff from a node can be increased by getting perks. Here are two such perks;. Mold supply: Increase the production of grain by +1 (or +2). Grain harvest: Increase the produc...[More]


How do I get in this locked area inside a Binding of Isaac Rebirth: Repentance crawlspace? How do I get in this locked area inside a Binding of Isaac Rebirth: Repentance crawlspace?

Posted On: February 20, 2023
The latest DLC, Repentance, includes a new design for crawlspaces. This new room layout contains 2 pedestal items, one on top of the rightmost ladder, the other seemingly unaccessible, locked behind a...[More]


What video game is played in the movie “Drugstore June”? What video game is played in the movie “Drugstore June”?

Posted On: March 11, 2024
In the comedy film Drugstore June (2024), June’s (Esther Povitsky) brother, Jonathan (Brandon Wardell), is depicted engrossed in a first-person multiplayer team-based video game. .The player charac...[More]


Is it possible to see what of my content received awards? Is it possible to see what of my content received awards?

Posted On: March 16, 2024
My Steam profile has a couple of awards, but I'm not sure where they came from. I remember receiving an email about this, but it's gone now.Is it possible to find which of my content (comments, review...[More]