Skip to content
[/craft]

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 2026

Sets 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
67 characters

How to use

  1. Open chat (T on Java).
  2. Run /team add red to create the team.
  3. Run /team modify red friendlyFire false to turn off friendly fire.
  4. Run /team join red @a (or specific players) to add members.

Related commands

Become nearly invincible

/effect give @p resistance 999999 255 true

Create or resize the world border boundary

/worldborder set 500

Automatically count how many players each player kills

/scoreboard objectives add kills playerKillCount {text:"Kills"}

Switch yourself into Creative mode

/gamemode creative

Instantly remove every mob from the world except players

/kill @e[type=!player]

Give yourself XP levels for enchanting

/experience add @p 30 levels