forum Forumsplay_arrow Minecraft fiber_manual_record Redstone


Command Block Help!

1 emerald8 replies453 views
created 07/05/2014 6:05 pm by kristinnvikar
last reply 07/07/2014 5:09 pm
ok so i am Making A minigame and i need to know how to make minecraft know when everyone that is online has chosen a team it is a 1-4 minigame but what do i do?
Posted by avatar
Level 49 : Master Wizard

comment Login or register to post a reply.

8 replies

07/07/2014 5:09 pm
Level 49 : Master Wizard
ok thanks
07/07/2014 11:35 am
Level 18 : Journeyman Engineer
For waht Jmal said, it doesnt matter. What he mean is to add 1 to the "team" score everytime you join a team. His contraption would let you detect if someone has a score of 0. (I hope I understand what he said correctly lol)
07/07/2014 9:55 am
Level 49 : Master Wizard
Jmal116 how do i do it with 4 teams?
07/06/2014 3:12 pm
Level 49 : Master Wizard
Thaink you all! i am going to use it for many of my maps when i make more
07/05/2014 11:19 pm
Level 18 : Journeyman Engineer
What I would rather do is create another team:

When someone join the server, make them automaticly join the team "noTeam" via pressure plate or whatever way you can think of.

After, you just need to run this command on a timer:
/testfor @p[team=noTeam]

If you want a way to automaticaly assign someone that join the serv to the noTeam, here is one:
As you might know, you always spawn randomly in a 16 blocks radius from the world spawn (you can set it with /setworldspawn, and its very useful). What you want to do is setup a platform of 33x33 centered on the world spawn. Use tripwires or pressure place to instantenly make the newly spawned guy teleport to somewhere (a good looking place that will become your new spawn, since everyone that die or join your server will be teleported there) and make him join the team noTeam.

Hope it helped!
07/06/2014 12:31 am
Level 14 : Journeyman Engineer
Just a couple things: you can use a blank team parameter to test for players who aren't on a team:
/testfor @a[team=]

The respawn area is 10x10 in multiplayer, centered around the world spawn coordinates (offset in the north-west direction) and 20x20 in singleplayer.

EDIT: Image example, with blue glass indicating multiplayer and white indicating singleplayer. This is for 1.7 and 1.8, though may have been different in previous versions.

07/05/2014 7:18 pm
Level 28 : Expert Engineer
Something like this should work, just put these commands on a clock:

Just make an objective that gets a score based on what team they choose (It's called "team" in this example), then the torch should turn on once everybody online has chosen a team.
07/05/2014 6:29 pm
Level 49 : Master Wizard

Planet Minecraft



© 2010 - 2019