The Meaning of Life, the Universe, and Everything.
Join Date:
11/15/2014
Posts:
182
Minecraft:
tavua
Xbox:
KMattMac
Nintendo:
SW-7460-0246-0241
Member Details
I'm getting into command block programming and I need some assistance.
I am trying to set it where a player who steps on a pressure plate is put on a specific team, except it doesn't seem to work. It doesn't say anything in the Previous Output either.
Command I am using: /scoreboard teams join PvP @s
Version: Vanilla 1.12 on a server
Does anybody know what I can do? Thanks!
Extra attachments posted below.
Note: I'm just trying to make PvP zones and Safe zones so if anybody could just help me on that end that'd be very appreciated as well.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/26/2018
Posts:
48
Member Details
Also, in order to get output, make sure you select that X button to the next of it. It would either be blank, or have an error if it was activated. Since there is a dash there, the output has been disabled. Selecting that button fixes that.
I'm getting into command block programming and I need some assistance.
I am trying to set it where a player who steps on a pressure plate is put on a specific team, except it doesn't seem to work. It doesn't say anything in the Previous Output either.
Command I am using: /scoreboard teams join PvP @s
Version: Vanilla 1.12 on a server
Does anybody know what I can do? Thanks!
Extra attachments posted below.
Note: I'm just trying to make PvP zones and Safe zones so if anybody could just help me on that end that'd be very appreciated as well.
@s selector is executing entity. It will work only after /execute command. For example
It will kill all the creepers standing on the grass.
But if you want to do something like that, try to use
(Actually, you need to put command block under the wooden pressure plate to this work properly. I mean)
Basically, your command block is running the command as itself, and nothing happens. To fix this, simply change the '@s' to '@a[c=1]' or '@p'
YouTube: https://www.youtube.com/channel/UCzGDRYWcrGreMmQFo_d5N5Q
Facebook:https://goo.gl/s0r12d
Website:https://theusaf.weebly.com
JavaScript Projects: https://theusaf.github.io
Link Shortener: https://shortr.github.io
Twitter:https://www.twitter.com/theusafyt
Also, in order to get output, make sure you select that X button to the next of it. It would either be blank, or have an error if it was activated. Since there is a dash there, the output has been disabled. Selecting that button fixes that.