1

Command Block Scoreboard Help

icedragon926's Avatar icedragon9266/7/13 10:37 pm
1 emeralds 1.6k 16
6/29/2013 4:24 pm
Spellguard's Avatar Spellguard
Hi, I am making a map and I am almost done. All I need is to make the winning team. There are 2 teams, red and blue. The team with the most points at the end of the game wins. How do I make it so it detects the winning team? Can it add up all of the points of each player and the one with the most points wins? Is it possible?
Posted by icedragon926's Avatar
icedragon926
Level 49 : Master Blob
345

Create an account or sign in to comment.

16

1
06/29/2013 4:24 pm
Level 23 : Expert Cake
Spellguard
Spellguard's Avatar
I know for a fact you can compare scoreboard scores with /testfor commands and comparators; based off of signal strength, so its limited to fifteen. But this requires rigging up a lot of commands and would probably be a lot of work to do so.

A interesting idea would be using items to count who wins. Each time someone scores a point, then an item would be shot into something, like a gold pressure plate or a furnace or whatever. But this would lead to inaccuracies.

My best advice would be to find a new way to keep score. There is no real feature for this.
1
06/29/2013 2:02 pm
Level 17 : Journeyman Whale
ACommunistLemon
ACommunistLemon's Avatar
if its a server can i join ill build the score board
1
06/29/2013 1:11 am
Level 49 : Master Blob
icedragon926
icedragon926's Avatar
I will try it
1
06/24/2013 3:29 am
Level 25 : Expert Engineer
LiquidChildren1
LiquidChildren1's Avatar
Basically, you cannot add up the whole teams scores, unless you do it like this:

Find every command block that gives score to a Red player. If the score is "kills" or "deaths", it's a bit trickier, but still possible. Basically, if its a dummy objective, simply set another command block next to it that will activate at the same time that a red player gets score. The command will be

/scoreboard players add RedTeam [objective] [amount]

which will add points to a pretend player known as RedTeam. Do the same for BlueTeam, and then you have total scores for the teams.
1
06/24/2013 1:15 am
Level 23 : Expert Mountaineer
cblondeboy
cblondeboy's Avatar
Check out this Guy On YouTube he's great with Scoreboard stuff

http://www.youtube.com/channel/UCNRt2CNtdt4PZx8KnetjCQA
1
06/23/2013 11:24 am
Level 23 : Expert Explorer
Flamerate1
Flamerate1's Avatar
dude i made this type of scoreboard system yesterday. if you check out my wither ball mini game there's a circuit behind the whole place that has a clock hooked up to testfor command blocks. it uses the lengths of redstone to make the scoreboard inside. you could alter it to where it compares the two redstone signals with a comparator and use that output somehow to hook up more command blocks to do whatever you want.
Oh and im 12.
1
06/23/2013 11:29 am
Level 8 : Apprentice Goblin
goneeeeeeee
goneeeeeeee's Avatar
Like a Boss
Redstone Hi-Five!
1
06/22/2013 11:22 pm
Level 1 : New Miner
StanDaMan809
StanDaMan809's Avatar
Sorry for the late reply but I think I know how to do it.
Make a long line of comparators that take away 1 of the score you're comparing until one of them reaches 0.
The command block that detects the score will have:
testfor @a[(score)=0].
After the command has been done successfully, make sure that command block is connected by a comparator that connects to another command block that says:
@a[(score)_min=1] has won the game!
1
06/09/2013 8:46 pm
Level 40 : Master Fish
Nice7
Nice7's Avatar
I don't actually know much about the scoreboard part of command blocks but this could help you very much.
1
06/10/2013 2:06 am
Level 49 : Master Blob
icedragon926
icedragon926's Avatar
A very helpful guide indeed! Too bad I didn't find what I was looking for...
1
06/09/2013 10:20 am
Level 17 : Journeyman Whale
ACommunistLemon
ACommunistLemon's Avatar
Its pretty easy... for me. its a Sethbling technique
1
06/09/2013 11:24 am
Level 49 : Master Blob
icedragon926
icedragon926's Avatar
Can you tell me about the 'technique'?
1
06/09/2013 9:11 am
Level 38 : Artisan Electrician
Statistical
Statistical's Avatar
I don't believe there is a way to compare signals using the scoreboard command, which would be what you need. You could jerry-rig a long line of scoreboard commands that you could compare at the end, but that would defeat the purpose of using command blocks to keep score.

Reading over your question again I don't know whether you are using a direct input to count the score or a /scoreboard command. I assume you are using a /scoreboard objective; hence the previous statement.

It won't work for this map, (I assume players on both sides will be alive when the game ends) but for future projects you can change the player's gamemode once they die. (from adventure to creative etc...) Then, when the game ends, you can /testfor all players with arguments for team and gamemode. Do this for each team and then compare outputs.

My /scoreboard knowledge is somewhat limited unfortunately, so hopefully atomick86 knows what you need.
1
06/08/2013 2:47 pm
Level 49 : Master Blob
icedragon926
icedragon926's Avatar
Does anyone else have an answer? I want to finish my map......
1
06/07/2013 10:50 pm
Level 16 : Journeyman Engineer
atomick86
atomick86's Avatar
I did something like this for someone else, I'll make a contraption and send you a download link.
1
06/07/2013 11:08 pm
Level 49 : Master Blob
icedragon926
icedragon926's Avatar
Ok, thanks.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome