How do you give specific teams command access in Minecraft? [closed]
This is not possible in Vanilla Minecraft. You can't even use selectors for /op
.
The reason for this is that OP should be used sparingly and any automation of this could lead to disastrous results if it goes wrong.
You could install a server mod to do what you asked, but I recommend instead thinking about if you really need it.