-2

I've looked and can't figure out how to do it, I'm trying to make a Karma system for my map and I want to use the fake players trick. I'm trying to make a good and bad karma system where the player presses a button to get 1 good karma point or presses the other button to get a bad karma point so that if the player looks at the scoreboard on the side it will show their good and bad karma points I already have the scoreboard setup which I named Karma just need to know how to do the other parts.

  • 1
    Can you explain what you mean/want by "fake players"? – Meh Jun 10 '17 at 2:41
  • Like I've seen people use armor stands that are invisible as "fake players" to have more then one like objective line on a scoreboard. – CloverlessRobin Jun 10 '17 at 2:48
  • So basically another entity which is attached to a player? – Meh Jun 10 '17 at 2:51
  • Yes, I'd like to make it so everytime that button is pressed the "fake player" named Good Karma has its score go up by 1 point – CloverlessRobin Jun 10 '17 at 2:55
  • I don't think it's possible with your situation. I'm pretty sure that would require you to use a variable in commands, which isn't possible right now (I've encountered that barrier a few times). – Meh Jun 10 '17 at 3:24
0

This is possible: a fake-player or a variable ist with this makeable:

/scoreboard objectives add KARMA dummy

/scoreboard objectives setdisplay sidebar KARMA

(the score "KARMA" will be show, if one a button is pushed)

Button1:

/scoreboard players add good_karma KARMA 1

Button2:

/scoreboard players add bad_karma KARMA 1

The points will be add not set.

0

Same thing as dude above. I just change one thing: I make a scoreboard objective and I give all of my fake players 1, so I can use them in commands by clicking their name, like normal player selectors. It isn’t necessary, but I like to use it if I want the same artificial player to store multiple values from different scoreboards. Hope this can be useful for you in the future.

New contributor
Superwibr is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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