team=! filter won't work (will affect everyone in range) (again)
Basically, I read on the minecraft wiki that team= filter has three options:
team='teamname' which will filter players from specified team
team='empty' which will filter players who are not in any team
team=!'teamname' will exclude players from specified team from executed command
So far on my server team= and team=teamname work good, but team=!teamname will just select everyone sometimes.
I found what's the bug about.
When player teleports into an area where gamemode (or presumably anything else) shouldn't change for him because he actually IS in the team "eclipse", then it most likely won't work as supposed and will change his gamemode anyway.
Try to reproduce that if you know how.
two command blocks + a clock to make it running:
1st command block: /gamemode 2 @a[team=!teamawesome,m=0,r=100]
2nd command block: /gamemode 0 @a[team=!teamawesome,m=2,r=101,r=111]
wire this with any signal pulser or clock that wont burn out when the area unloads.
and try to teleport somewhere far from this
and then try to teleport into the sphere of these two command blocks again.
for me or players on my server, in this setup teleporting directly into the sphere will change our gamemode no matter if we are in teamawesome or not. What could possibly cause it? maybe it's not a bug but rather some secret feature of Minecraft i am missing?
Try it out please.
2013-03-23, 02:36 AM
2017-05-08, 09:32 PM
2013-07-29, 06:42 PM
0
1
-