I'm developing a multiplayer minigame, but haven't been able to get any of my friends to help me on testing yet. I need to set EVERY players internalCash
score to their cash
score, but cannot use /execute
, since it needs to run for non-op players.
It would be INCREDIBLY elegant if I could simply use
/scoreboard players operation @a internalCash = @a cash
but it doesn't seem to work properly with @e
, which scares me. Could someone please tell me if I need to develop a clever workaround for this, or if this will do.
edit Oops! Kinda need the "players operation " part. :P
/scoreboard @a objective = @a objective2
isn't it. I'll look into this./scoreboard players operation @a targetObjective = @a sourceObjective
, I think, but I'm not confident enough/haven't tested the operation of this enough to post such things as an answer right now. If you want to. go for it