Create a Team With Friendly Fire Off
Make a team whose members can't hurt each other
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Sets up a named team and disables friendly fire so its members cannot damage one another. Run /team add to create the team, /team modify <team> friendlyFire false to protect teammates, then /team join <team> <players> to add members. Teams also control name-tag color, collision, and who can see invisible teammates.
/team add red
/team modify red friendlyFire false
/team join red @a- Java: yes
- Bedrock: no
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java).
- Run /team add red to create the team.
- Run /team modify red friendlyFire false to turn off friendly fire.
- Run /team join red @a (or specific players) to add members.
Related commands
God Mode (Resistance + Regeneration)
Become nearly invincible
Set World Border Size
Create or resize the world border boundary
Track Player Kills on a Scoreboard
Automatically count how many players each player kills
Scatter All Players Randomly
Spread all players across a large area
Strike Lightning On All Players
Summon lightning bolts on every player at once
Set Gamemode to Creative
Switch yourself into Creative mode