1

How to teleport only certain teams to a specific location?

PigMayor02's Avatar PigMayor0211/30/15 12:11 am
1 emeralds 2.3k 1
12/1/2015 4:57 pm
Jmal116's Avatar Jmal116
Hello, Planet Minecraftians. PigMayor02 here.

Recently, I have been making a game with commands and have hit a stump.

You see, I am not very good with /execute or /scoreboard
This is where I need your help.

As you have already read in the title, what I need to know is if/how you can teleport certain teams (ex: All the members of team "green") to a certain location while other teams (ex: red, blue, yellow, etc.) go to another location. I was wondering if you guys would be able to tell me if/how I can do this.

Thanks,
~PigMayor02
Posted by PigMayor02's Avatar
PigMayor02
Level 4 : Apprentice Architect
1

Create an account or sign in to comment.

1

1
12/01/2015 4:57 pm
Level 33 : Artisan Engineer
Jmal116
Jmal116's Avatar
Just to add on to what was said above, you can target players not on a team with the parameter "team=". You can also target anyone not on a specific team by adding ! before the team name.

For example, you can set all players not on a team to spectator mode:gamemode 3 @e[team=]

Kill all players not on the red team:kill @a[team=!red]

Tell all players on any team a message:tellraw @a[team=!] "Hi"

You can go on and on.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome