1
I'm on Android making a vanilla server, I used the command /gamemode a @p [r=10] , how would I exempt a person from this command, I don't want another command block that forces them into a gamemode as then they won't be able to get out of it, I want to find a way so that anyone that is an operator can choose what gamemode they want
Create an account or sign in to comment.
1
1
If you didn't put the r=10 then it will not target a radius of 10 instead target the closest player to the command block.
If you want to keep the radius but exempt a player than after the r=10 put a , and then name=!<player name>
/gamemode a @p[r=10, name=!Bob]
Please note the ! Means NOT. Also the name might be cap sensitive
If you want to keep the radius but exempt a player than after the r=10 put a , and then name=!<player name>
/gamemode a @p[r=10, name=!Bob]
Please note the ! Means NOT. Also the name might be cap sensitive