MCTOOLBOX
MC ToolboxMC TOOLBOX

Minecraft /team Command Generator

Java Edition /team: add, join, leave, empty, remove, list, and modify — colors, friendly fire, collision, nametags, death messages, prefix, and suffix per the wiki.

Command builder
Setup bundle options
Generated command
/team add red
Quick setup bundle
Create, style, and join

Bundle uses the team id, color, rule toggles, prefix, optional suffix, and current members below.

Teams for fair PvP and readable scoreboards

Teams group score holders so you can color names, control collision, hide nametags, and power team-only sidebars such as sidebar.team.red. Create the team once (add), modify its options, then join players or fake score holders.

Wiki options: color (16 colors + reset), friendlyFire, seeFriendlyInvisibles, nametagVisibility, deathMessageVisibility, collisionRule (always|never|pushOtherTeams|pushOwnTeam — note MC-87984 swaps the last two meanings), displayName, prefix, and suffix as text components.

Members for join/leave are score holders: selectors, player names, UUIDs, or *. This tool emits Java Edition /team syntax only. Empty or remove unused teams on map reset so old members do not keep privileges.

Full lifecycle commands

add, join, leave, empty, remove, and list cover setup, matchmaking, and teardown for events.

All modify options

Color, friendly fire, seeFriendlyInvisibles, collision, both visibility modes, display name, prefix, and suffix with valid wiki values.

Setup bundle + fake holders

Copy a create/style/join sequence, or target raw score-holder names for counters and labels.

Recommended team setup order

add — Create the team id and optional display name component.

modify color — Align name color with sidebar.team.<color> displays if you use them.

modify rules — Set friendlyFire, collisionRule, and nametagVisibility for your game mode.

prefix / suffix — Short tags such as [R] for chat and tab clarity (text components).

join — Add players or fake players that should inherit the team rules.

empty vs remove — empty clears members; remove deletes the team definition.

How to use this tool

  1. Add a team and set its color and prefix.
  2. Join the intended players with the selector or raw score-holder name.
  3. Copy either the single command or the full setup bundle into your start function.

/team FAQ

How do team sidebars work?

scoreboard objectives setdisplay sidebar.team.red myObj shows that objective only to members of teams whose color is red. Team color and sidebar slot color must match.

Can non-player score holders join?

Yes. Fake players used for counters and labels can join teams, which is useful for colored sidebar entries.

What does empty do versus remove?

empty removes all members but keeps the team definition. remove deletes the team entirely.

Why does collision feel reversed?

pushOtherTeams and pushOwnTeam are swapped in vanilla (MC-87984). Test both values in-game if collision does not match the option name.

Is this Bedrock compatible?

Bedrock team commands and options are not identical. This generator targets Java Edition.