How do I use the scoreboard command to join a team?

How do I use the scoreboard command to join a team? - Crop anonymous man shaking hand of male friend with vitiligo skin against white background

I am trying to make it so that when a player steps on a pressure plate it activates a series of command blocks.

  1. /scoreboard teams join <team>
  2. /tp @p <x> <y> <z>

I am able to make the second command work but the join team command isn't working. What am I doing wrong?



Best Answer

When used in a command block, you need to specify the player(s) that you want to add to the team. The full syntax of the subcommand is:

scoreboard teams join <team> [player]

For your case, the following command should work:

scoreboard teams join <team> @p

(Remembering to replace <team> with the name of an actual team)




Pictures about "How do I use the scoreboard command to join a team?"

How do I use the scoreboard command to join a team? - Faceless multiracial sport team stacking hands on court
How do I use the scoreboard command to join a team? - Crop hacker silhouette typing on computer keyboard while hacking system
How do I use the scoreboard command to join a team? - Serious diverse multiracial people standing close together representing concept of unity  and looking at camera against gray background



Quick Answer about "How do I use the scoreboard command to join a team?"

  • To add a team (in Minecraft 1.12 and older): /scoreboard teams add <teamName> [displayName]
  • To remove a team (in Minecraft 1.12 and older): /scoreboard teams remove <teamName>
  • To assign a player to a team (in Minecraft 1.12 and older): /scoreboard teams join <teamName> [player]


  • How do you add a team to a scoreboard in Minecraft?

    You can add, configure and remove teams using the /team command in Minecraft. This is a very useful command when you want to set up multiplayer PvP games. Once you have created your teams, use the /scoreboard command to manage your scoreboard, objectives and players in Minecraft.

    How do you join a Minecraft team?

    The syntax for the scoreboard would be "/scoreboard objectives add Money dummy" without parenthesis. To place this scoreboard to the sidebar, Minecraft players can then use the command "/scoreboard objectives setdisplay sidebar Money" which should display the scoreboard to the right of the screen.

    How do you use scoreboard command?

    If you only want it to run the command the first time they join, try this:
  • Run this in the chat: /scoreboard objectives add joined dummy.
  • In command blocks on a fill clock: /scoreboard players add @a joined 0 /execute @a[score_joined=0] ~ ~ ~ [command you want to run]




  • Minecraft Scoreboard Command Tutorial [1.18]




    More answers regarding how do I use the scoreboard command to join a team?

    Answer 2

    You can use /scoreboard teams join <team name> {USERNAME} This is for a player to use. I do not think this command could be run from a command block. Correct me if I'm wrong, But when I still had a vanilla server, we always had a staff put a player on a team.

    Answer 3

    In the later versions (1.14.2+) /team isn't compatible with command blocks at all, so you can't really do much if you're looking into non-manual mini-game sorting.

    Answer 4

    Firstly, you need to create a team with /scoreboard teams create (team) before using /scoreboard teams join and for connecting them to the pressure plate do this: Picture of pressure plate with command blocks.

    Sources: Own knowledge

    Answer 5

    As of Minecraft 1.13, you don't "use the scoreboard command to join a team", as /team is its own command, disconnected from the scoreboard entirely.

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Armin Rimoldi, Monstera, Anete Lusina, Monstera