I am trying to set up a pvp server (which I have already mentioned in a few previous threads) and I want to set up a scoreboard with teams but I'm having a hard time understanding how to set it up. So here's where I'm at:
My objective is to have the scoreboard display on the side bar with these items:
Total kills (for each player)
Player kills (for each player)
Deaths (for each player)
Score (a function of the above stats, grouped into teams)
This works really well, it displays each stat for all players one at a time on the side, they rotate every 21 seconds. The only downside of course is they don't rotate if nobody is within range of the command block (if anyone has a solution to that I would love to hear it). What I want to do is add a window that lists the "score" for each team; I want it to count 1 point for a total kill, 99 points for a player kill (only 99 because a player kill also counts as a total kill, so 99 points from the player kill plus 1 point from the total kills will add up to 100), and I want it to remove 76 points for each death. I don't yet know what the teams will be, but for the purposes of this thread we can call them Red, Blue and Green and have three people on each.
So the "score" chart I mentioned above would have three things listed: Red (and a number), Blue (and a number), and Green (and a number), each value would be the net total for each team, so for example:
On team red...
player 1 had 1 player kill, 56 total kills, 0 deaths
player 2 had 2 player kills, 12 total kills, 1 death
player 3 had 0 player kills 104 total kills, 0 deaths
Here is a breakdown of how the score would be tallied:
player 1= 1(99)+56(1)-0(76)=155
player 2= 2(99)+12(1)-1(76)=134
player 3= 0(99)+104(1)-0(76)=104
Then it would total the scores: 155+134+104=393 and 393 would be what was displayed under the "score" window for team red. The same thing would happen for team blue and green. Obviously the scoreboard wouldn't do all this math, it would simply add or subtract from the team totals as events happened live.
If anyone can explain to me how to do this (or build it on a map and upload it if that is easier) I would really appreciate it. YouTube videos are not helping me at all.
Yeh, cuz if you look at the description that has the command for specific player scoreboards, just adapt the name of the score and 1 or 2 other values and it should work. or maybe I've totally miss read what you wanted, sorry.
You could be right, but i'm not understanding where you're going with this, you'll have to explain a little more
SET SIDEBAR DISPLAY: /scoreboard objectives setdisplay sidebar.team.light_purple Purple
JOIN TEAM WHEN IN AREA: /scoreboard teams join purple @a[40,55,-737,dx=7,dy=1,dz=7,team=!purple]
I think you can use these commands to do what I think you trying to do, just change the names and other stats to suit your world, but I don't think we are on the same wavelength so I'm sorry I haven't been of help.
Yeah, this isn't really what i'm looking for, but thanks for giving it a shot, it's still better than getting no replies at all. I think i may have found a solution, then i get it more figured out i'll post it here.