1
Way to make certain players exempt from commands
I'm working on a command block system for my map that detects when a player is in creative mode and switches them to adventure mode. The problem is, it'll target me, and I need creative mode to build the map. Is there any way to target players and make them exempt from the command?
3
I did a similar thing on my server, it detected if they were in gmc. If so, it would send them to jail. Its a script i wrote. I can probably turn it into a plugin?
make a new team called "admins"
/gamemode 2 @a[m=1,team=!admins]
/gamemode 2 @a[m=1,team=!admins]
This is basically the code I used, without the admins. Will this exempt people who are in admins or will it target people who are in admins? If I need to, how do I add myself to admins?
