So I am running a vanilla server, and I would like to have it so when a player is within a certain radius of the command block, it changes their gamemode to adventure, and when they leave this area, it would be changed back.
I have tried it so far but it only changes the gamemode and you are stuck with that gamemode.
The Meaning of Life, the Universe, and Everything.
Location:
Stockholm
Join Date:
9/26/2011
Posts:
140
Member Details
You would have to save their original game mode to a scoreboard unless you know what it is. Maxaxik's command above switches everyone outside the radius to survival - so if those two are the only ones you have, then that's fine.
Hey all! I am actually trying to do this exact task myself on a new server I am making for some friends, but I don't see an answer left by a "Maxaxik" - would one of you all be able to provide it still? Thanks!
I have tried it so far but it only changes the gamemode and you are stuck with that gamemode.
Thank You maxaxik! I have been finding for this too !
Hey all! I am actually trying to do this exact task myself on a new server I am making for some friends, but I don't see an answer left by a "Maxaxik" - would one of you all be able to provide it still? Thanks!