So on my server, I've added teams, for example, DUMMY team, but only opped players can do /team join DUMMY and normal people who aren't opped cannot. I need your help. What do I do?[/b]
How to make, so not only opped players could join my team. It's a vanilla 1.13 command and I cannot or don't know how to modificate it so other players could join.[/p]
Please help me.
The Meaning of Life, the Universe, and Everything.
If you want the players to run a command you won't be able to limit it to only one command (unless you use bukkit stuff idk). However, you can use a command block that will set the player to a team when they stand on a specific block. The following command should work for that:
/execute as entity @e[type=minecraft:player,x=[x],y=[y],z=[z],dx=0] run team join DUMMY @s
You would only need to replace the x, y, and z's with your desired block coordinates. Hope this helps.
If you want to simplify the command you can also just use selectors with a repeating /team command like so:
/team join DUMMY @a[x=[x],y=[y],z=[z],dx=0]
Overall this is simpler but either command should work.