1

I Need Scoreboard Command Help....

FoxygenStudios's Avatar FoxygenStudios8/30/15 8:07 pm
1 emeralds 261 3
8/30/2015 10:14 pm
Skitto493's Avatar Skitto493
Is there any way of telling the scoreboard to add the nearest 12 players to a team and then change their gamemode to survival? The main goal is just to change them into survival, but I thought a scoreboard will work... Thanks for helping!
Posted by FoxygenStudios's Avatar
FoxygenStudios
Level 1 : New Explorer
0

Create an account or sign in to comment.

3

1
08/30/2015 10:14 pm
Level 55 : Grandmaster Dragon
Skitto493
Skitto493's Avatar
/gamemode 0 @a[c=12]

and

/scoreboard players teams join YourTeam @a[c=12]
1
08/30/2015 10:10 pm
Level 52 : Grandmaster Pixel Painter
craftykids
craftykids's Avatar
EDIT: Better solution posted below by Skitto493.

I don't have twelve players to test this with, but I think that you could do it by running this command:

/scoreboard players set @a <objective> 0
And then repeating this command twelve times:

/scoreboard players set @p[score_<objective>=0] <objective> 1

And then set them to survival with

/gamemode @a[score_<objective>_min=1] 0
1
08/30/2015 8:57 pm
Level 1 : New Miner
snailz__
snailz__'s Avatar
hmm... idk I am a redstone/command/commandblock expets but just got this account but even im stuck lol XD
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome