Welcome Message upon Joining | Minecraft Bedrock Commands
Are you looking to set up a rejoin system that displays a custom message or executes specific commands when players join your world in Minecraft? Look no further! In this step-by-step guide, 1Kekz explains how you can achieve this using command blocks. Feel free to ask any questions or share your thoughts in the comments section. Let’s dive in!
Setting Up the System
Before delving into command blocks, it’s essential to enter a command to prevent your chat from being spammed:
/gamerule commandblockoutput false
Now, place a command block on the ground and set it to Repeat, Unconditional, and Needs Redstone. Once the command block chain is complete, you can adjust these settings accordingly.
Next, input the following command into the command block:
/scoreboard players add @a join 0
Attach another command block to the previous one, ensuring the arrows on the side point in the same direction. You can build the chain upwards, ensuring all command blocks are aligned. Set the second command block to Chain, Unconditional, and Always Active, and input:
/execute as @a[scores={join=0}] run [your desired command]
In this example, a simple Title command is used to display a welcome message. You can execute any command at this point. If you wish to run multiple commands, repeat this process with additional command blocks.
Finalizing the System
After setting up the desired commands, add the following commands to subsequent command blocks:
/scoreboard objectives remove join
/scoreboard objectives add join dummy
/scoreboard players set @a join 1
Ensure the initial repeating command block is set to Always Active to activate your system. To prevent issues with unloaded command blocks, consider setting up a Tickingarea. This ensures that the commands function even when you are far away.
To create a Tickingarea, stand in the center of the desired area and enter the command:
/tickingarea add ~-20~~-20 ~20~~20 [name]
Finally, to remove the Tickingarea, use:
/tickingarea remove [name]
Conclusion
With your system in place, you can now welcome players with a custom message or execute specific commands upon joining your Minecraft world. Feel free to ask any questions in the comments and don’t forget to leave a thumbs up! Stay tuned for more tutorials from 1Kekz. Until next time – Ciao! 🍪