Display a title to players with a set scoreboard value!
I own a minecraft server and I am making a TnT run minigame all from command blocks for good experience working with CMD blocks.
So I wanted to basically display a title to the players in the minigame. So I decided to do this via a scoreboard. So when they get teleported to the arena, they have a value set to 1 on a scoreboard objective, I then want to display this title to the players with a value of 1.
How is this done?
Best Answer
Create scoreboard objective:
/scoreboard objectives add inArena dummy
Run on clock to give people in the arena an inArena score of 1:
/scoreboard players set @a inArena 0
/scoreboard players set @a[x=<X>, y=<y>, z=<z>, dx=<X length>, dy=<Y length>, dz=<Z length>] inArena 1
To display the title to people with inArena of 1:
/title @a[score_inArena_min = 1] <Title>
Pictures about "Display a title to players with a set scoreboard value!"



How do you give a player a title in Minecraft?
Remember to enter a command in Minecraft, open the chat window and then type the command. Once the cheat has been entered, the title screen (with title and subtitle) will appear on the player's screen.How do you show scoreboard in Minecraft?
Scoreboard CommandHow to Display Personal Stats/Scoreboard (PS4,WIN10,PE,XBOX)
More answers regarding display a title to players with a set scoreboard value!
Answer 2
A simple Specification tag may be used.
/title @a[score_(ObjectiveName)_(min/max)] title {"text":"Insert Message Here"}
[score_(ObjectiveName)_(min/max)] is your Specification Tag, this can be used in many ways like specifying for a certain gamemode (m=[0-3]), being at coordinates (x=[Insert X Coord.] y=[Insert Y Coord.] z=[Insert Z Coord.]) to being in a certain range of a certain axis of those coordinates (... dx=[Difference] dy=[Difference] dz=[Difference]).
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Jitu Mondal, Anete Lusina, Karolina Grabowska, Rachel Claire
