Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I made these commands

this command sets a ver to count all jumps by all players

/scoreboard objectives add didjump stat.jump particular player Jumps

this command sets up a var to use as a display

/scoreboard objectives add trackjump dummy trackjump

this command adds one to each player that has already jumped and puts it in the display var

/scoreboard players add @a[score_didjump_min=1] trackjump 1

this command only happens in sequence after the above command goes off; it removes the jump from the last count so that the total doesn't increment constantly unless the player is still jumping

/scoreboard players remove @a[score_didjump_min=1] didjump 1

Then I display that score on the list board when you hold tab, however I ONLY want a specific player to be tracked and am unsure how to write the commands, so far I have tried to modify the @a in the above commands and it then tracks the players name with an @ sign in front of it not the player itself.

Any suggestions?

share|improve this question
    
Has replacing just @a with your players name worked? –  Joe the Person Jan 3 at 10:21
    
No sadly I have tried but it doesn't work. –  Vethor Jan 3 at 15:49

1 Answer 1

Ok so having slept on it I have a solution. I am going to create a new dummy objective as a flag var and give a value to it for only that player. I will then use this in the test globally

/scoreboard players add @a[score_thisplayeronly_min=1,score_didjump_min=1] trackjump 1

and only that player will have the trackjump increased and so it will only display for that player as no one else will have a score in the var.

share|improve this answer
    
That's what I would've done - if you hadn't answered your own question I'd have answered it for you. :) –  James Of Da Peach Feb 10 at 22:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.