How to put everyone except myself into adventure mode? [duplicate]
Solution 1:
Try using
/gamemode adventure @a[name=!<player>]
What this exactly does is:
/gamemode adventure
- Sets gamemode to adventure.
@a[name=!<player>]
- Targets all players, except the name of the player specified there. The !
means "except".
If your Minecraft name for example was MrLuca, then the command would be:
/gamemode adventure @a[name=!MrLuca]
Solution 2:
/gamemode adventure @a[rm=1]
Should do the trick. The rm
tag means everyone outside of the given radius. Since you will most probably be the only one that close to yourself, this should work. If not, just move to a different place.
Solution 3:
Try this: /gamemode a @a[name=!Your_name_here]