<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=174.16.195.179</id>
	<title>SAS Gaming Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=174.16.195.179"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/wiki/Special:Contributions/174.16.195.179"/>
	<updated>2026-04-10T07:16:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/team&amp;diff=49822</id>
		<title>Minecraft:Commands/team</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/team&amp;diff=49822"/>
		<updated>2025-05-13T01:40:34Z</updated>

		<summary type="html">&lt;p&gt;174.16.195.179: fixed typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{exclusive|java}}&lt;br /&gt;
{{Infobox command&lt;br /&gt;
|name=team&lt;br /&gt;
|oplevel=2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Controls teams.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;code&amp;gt;team list [&amp;lt;team&amp;gt;]&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Lists all teams, with their display names and the amount of entities in them. The optional &amp;lt;code&amp;gt;&amp;lt;team&amp;gt;&amp;lt;/code&amp;gt; can be used to specify a particular team.&lt;br /&gt;
: &amp;lt;code&amp;gt;team add &amp;lt;team&amp;gt; [&amp;lt;displayName&amp;gt;]&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Creates a team with the given name and optional display name. &amp;lt;code&amp;gt;&amp;lt;displayName&amp;gt;&amp;lt;/code&amp;gt; defaults to &amp;lt;code&amp;gt;&amp;lt;team&amp;gt;&amp;lt;/code&amp;gt; when unspecified.&lt;br /&gt;
: &amp;lt;code&amp;gt;team remove &amp;lt;team&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Deletes the specified team.&lt;br /&gt;
: &amp;lt;code&amp;gt;team empty &amp;lt;team&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Removes all members from the named team.&lt;br /&gt;
: &amp;lt;code&amp;gt;team join &amp;lt;team&amp;gt; [&amp;lt;members&amp;gt;]&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Assigns the specified entities to the specified team. If no entities are specified, makes the command executor join the team.&lt;br /&gt;
: &amp;lt;code&amp;gt;team leave &amp;lt;members&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Makes the specified entities leave their teams.&lt;br /&gt;
: &amp;lt;code&amp;gt;team modify &amp;lt;team&amp;gt; &amp;lt;&#039;&#039;option&#039;&#039;&amp;gt; &amp;lt;&#039;&#039;value&#039;&#039;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Modifies the options of the specified team.&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
&lt;br /&gt;
{{argument|team|team}} (in &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;remove&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;empty&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;join&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;modify&amp;lt;/code&amp;gt; mode)&lt;br /&gt;
: Specifies the name of a team.&lt;br /&gt;
: {{arg desc|je=team}}&lt;br /&gt;
&lt;br /&gt;
{{argument|team|string}} (in &amp;lt;code&amp;gt;add&amp;lt;/code&amp;gt; mode)&lt;br /&gt;
: Specifies the name for a new team.&lt;br /&gt;
: {{arg desc|je=string|type=word}}&lt;br /&gt;
&lt;br /&gt;
{{argument|displayName|component}}&lt;br /&gt;
: Specifies the team name to be displayed.&lt;br /&gt;
: {{arg desc|je=component}}&lt;br /&gt;
&lt;br /&gt;
{{argument|members|score_holder}}&lt;br /&gt;
: Specifies the entities to join or leave the team. &lt;br /&gt;
: {{arg desc|je=score_holder|amount=multiple}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;&#039;&#039;option&#039;&#039;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: A specific option to change.&lt;br /&gt;
:: Must be one of the following:&lt;br /&gt;
::*&amp;lt;code&amp;gt;displayName&amp;lt;/code&amp;gt;: Sets the display name of the team.&lt;br /&gt;
::*&amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt;: Decides the color of the team and players in chat, above their head, on the Tab menu, and on the sidebar. Also changes the color of the outline of the entities caused by the [[Minecraft:Glowing]] effect.&lt;br /&gt;
::*&amp;lt;code&amp;gt;friendlyFire&amp;lt;/code&amp;gt;: Enables/Disables players inflicting damage to each other when on the same team. (Note: players can still inflict status effects on each other.) Does not affect some non-player entities in a team.&lt;br /&gt;
::*&amp;lt;code&amp;gt;seeFriendlyInvisibles&amp;lt;/code&amp;gt;: Decides whether invisible players are semi-transparent or completely invisible to other players on their team.&lt;br /&gt;
::*&amp;lt;code&amp;gt;nametagVisibility&amp;lt;/code&amp;gt;: Decides whose name tags above their heads can be seen.&lt;br /&gt;
::*&amp;lt;code&amp;gt;deathMessageVisibility&amp;lt;/code&amp;gt;: Controls the visibility of death messages for players.&lt;br /&gt;
::*&amp;lt;code&amp;gt;collisionRule&amp;lt;/code&amp;gt;: Controls the way entities on the team collide with other entities.&lt;br /&gt;
::*&amp;lt;code&amp;gt;prefix&amp;lt;/code&amp;gt;: Modifies the prefix that displays at the beginning of players&#039; names.&lt;br /&gt;
::*&amp;lt;code&amp;gt;suffix&amp;lt;/code&amp;gt;: Modifies the suffix that displays at the end of players&#039; names.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;&#039;&#039;value&#039;&#039;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Specifies the value to set &amp;lt;code&amp;gt;&amp;lt;&#039;&#039;option&#039;&#039;&amp;gt;&amp;lt;/code&amp;gt; to.&lt;br /&gt;
: Shown below are valid values for each option.&lt;br /&gt;
:*For &amp;lt;code&amp;gt;displayName&amp;lt;/code&amp;gt;:&lt;br /&gt;
:**{{argument|displayName|component}} - Specifies the team name to be displayed. {{arg desc|je=component}}&lt;br /&gt;
:*For &amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt;:&lt;br /&gt;
:** {{argument|value|color}} - {{arg desc|je=component}}&lt;br /&gt;
:*** Defaults to &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt;. If &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt;, names are shown in default color and formatting.&lt;br /&gt;
:*For &amp;lt;code&amp;gt;friendlyFire&amp;lt;/code&amp;gt;:&lt;br /&gt;
:** {{argument|allowed|boolean}} - {{arg desc|je=component}}&lt;br /&gt;
:***&amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; - (Default) Enable players inflicting damage on each other when in the same team.&lt;br /&gt;
:***&amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; - Disable players inflicting damage on each other when in the same team.&lt;br /&gt;
:*For &amp;lt;code&amp;gt;seeFriendlyInvisibles&amp;lt;/code&amp;gt;:&lt;br /&gt;
:** {{argument|allowed|boolean}} - {{arg desc|je=component}}&lt;br /&gt;
:***&amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; - (Default) Can see invisible players on the same team semi-transparently.&lt;br /&gt;
:***&amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; - Cannot see invisible players on the same team.&lt;br /&gt;
:*For &amp;lt;code&amp;gt;nametagVisibility&amp;lt;/code&amp;gt;:&lt;br /&gt;
:**&amp;lt;code&amp;gt;never&amp;lt;/code&amp;gt; - Name above player&#039;s head cannot be seen by any players.&lt;br /&gt;
:**&amp;lt;code&amp;gt;hideForOtherTeams&amp;lt;/code&amp;gt; - Name above player&#039;s head can be seen only by players in the same team.&lt;br /&gt;
:**&amp;lt;code&amp;gt;hideForOwnTeam&amp;lt;/code&amp;gt; - Name above player&#039;s head cannot be seen by all the players in the same team.&lt;br /&gt;
:**&amp;lt;code&amp;gt;always&amp;lt;/code&amp;gt; - (Default) Name above player&#039;s head can be seen by all the players.&lt;br /&gt;
:*For &amp;lt;code&amp;gt;deathMessageVisibility&amp;lt;/code&amp;gt;:&lt;br /&gt;
:**&amp;lt;code&amp;gt;never&amp;lt;/code&amp;gt; - Hide death message for all the players.&lt;br /&gt;
:**&amp;lt;code&amp;gt;hideForOtherTeams&amp;lt;/code&amp;gt; - Hide death message to all the players who are not in the same team.&lt;br /&gt;
:**&amp;lt;code&amp;gt;hideForOwnTeam&amp;lt;/code&amp;gt; - Hide death message to players in the same team.&lt;br /&gt;
:**&amp;lt;code&amp;gt;always&amp;lt;/code&amp;gt; - (Default) Make death message visible to all the players.&lt;br /&gt;
:*For &amp;lt;code&amp;gt;collisionRule&amp;lt;/code&amp;gt;:&lt;br /&gt;
:**&amp;lt;code&amp;gt;always&amp;lt;/code&amp;gt; - (Default) Normal collision.&lt;br /&gt;
:**&amp;lt;code&amp;gt;never&amp;lt;/code&amp;gt; - No entities can push the entities in this team.&lt;br /&gt;
:**&amp;lt;code&amp;gt;pushOtherTeams&amp;lt;/code&amp;gt; - Entities in this team can be pushed only by other entities in the same team. (Contrary to the literal meaning.&amp;lt;ref name=&amp;quot;bug&amp;quot;&amp;gt;[[Minecraft:bugtracker:MC-87984|MC-87984]]&amp;lt;/ref&amp;gt;)&lt;br /&gt;
:**&amp;lt;code&amp;gt;pushOwnTeam&amp;lt;/code&amp;gt; - Entities in this team cannot be pushed by another entity in this team. (Contrary to the literal meaning.&amp;lt;ref name=&amp;quot;bug&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;)&lt;br /&gt;
:*For &amp;lt;code&amp;gt;prefix&amp;lt;/code&amp;gt;:&lt;br /&gt;
:**{{argument|prefix|component}} - Specifies the prefix to display. {{arg desc|je=component}}&lt;br /&gt;
:*For &amp;lt;code&amp;gt;suffix&amp;lt;/code&amp;gt;:&lt;br /&gt;
:**{{argument|suffix|component}} - Specifies the suffix to display. {{arg desc|je=component}}&lt;br /&gt;
&lt;br /&gt;
== Result ==&lt;br /&gt;
&lt;br /&gt;
{{Result table|onlyje=1}}&lt;br /&gt;
{{Result table|The command is incomplete, or any argument is not specified correctly.|unparseable}}&lt;br /&gt;
{{Result table|cmd=/team list &amp;lt;team&amp;gt;&amp;lt;br&amp;gt;/team remove ...&amp;lt;br&amp;gt;/team empty ...&amp;lt;br&amp;gt;/team join ...&amp;lt;br&amp;gt;/team modify ...|&amp;lt;code&amp;gt;&amp;lt;team&amp;gt;&amp;lt;/code&amp;gt; doesn&#039;t exist.|fail}}&lt;br /&gt;
{{Result table|cmd=/team add ...|The named &amp;lt;code&amp;gt;&amp;lt;team&amp;gt;&amp;lt;/code&amp;gt; already exists.}}&lt;br /&gt;
{{Result table|cmd=/team empty ...|The &amp;lt;code&amp;gt;&amp;lt;team&amp;gt;&amp;lt;/code&amp;gt; is already empty.}}&lt;br /&gt;
{{Result table|cmd=/team join ...|&amp;lt;code&amp;gt;&amp;lt;members&amp;gt;&amp;lt;/code&amp;gt; is not specified when the command&#039;s executor is not an entity.}}&lt;br /&gt;
{{Result table|&amp;lt;code&amp;gt;&amp;lt;members&amp;gt;&amp;lt;/code&amp;gt; fails to resolve to one or more entities.}}&lt;br /&gt;
{{Result table|cmd=/team leave ...|&amp;lt;code&amp;gt;&amp;lt;members&amp;gt;&amp;lt;/code&amp;gt; fails to resolve to one or more entities.|fail}}&lt;br /&gt;
{{Result table|cmd=/team modify displayName ...&amp;lt;br&amp;gt;/team modify color ...&amp;lt;br&amp;gt;/team modify friendlyFire ...&amp;lt;br&amp;gt;/team modify seeFriendlyInvisibles ...&amp;lt;br&amp;gt;/team modify nametagVisibility ...&amp;lt;br&amp;gt;/team modify deathMessageVisibility ...&amp;lt;br&amp;gt;/team modify collisionRule ...|The specified value is the same as current value.}}&lt;br /&gt;
{{Result table|cmd=|succeed}}&lt;br /&gt;
{{Result table}}&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
&lt;br /&gt;
{{Output table}}&lt;br /&gt;
{{Output table|edition=je|On fail|0|0|0}}&lt;br /&gt;
{{Output table|cmd=/team list|On success|1|1|the number of existing teams}}&lt;br /&gt;
{{Output table|cmd=/team list &amp;lt;team&amp;gt;|On success|1|1|the number of members in the &amp;lt;code&amp;gt;&amp;lt;team&amp;gt;&amp;lt;/code&amp;gt;}}&lt;br /&gt;
{{Output table|cmd=/team add ...&amp;lt;br&amp;gt;/team remove ...|On success|1|1|the number of existing teams after execution}}&lt;br /&gt;
{{Output table|cmd=/team empty ...|On success|1|1|the number of members in the team before execution}}&lt;br /&gt;
{{Output table|cmd=/team join|On success|1|1|1}}&lt;br /&gt;
{{Output table|cmd=/team join &amp;lt;members&amp;gt;|On success|1|1|the number of specified entities}}&lt;br /&gt;
{{Output table|cmd=/team leave ...|On success|1|1|the number of specified entities}}&lt;br /&gt;
{{Output table|cmd=/team modify displayName ...&amp;lt;br&amp;gt;/team modify color ...&amp;lt;br&amp;gt;/team modify friendlyFire ...&amp;lt;br&amp;gt;/team modify seeFriendlyInvisibles ...&amp;lt;br&amp;gt;/team modify nametagVisibility ...&amp;lt;br&amp;gt;/team modify deathMessageVisibility ...&amp;lt;br&amp;gt;/team modify collisionRule ...|On success|1|1|0}}&lt;br /&gt;
{{Output table|cmd=/team modify prefix ...&amp;lt;br&amp;gt;/team modify suffix ...|On success|1|1|1}}&lt;br /&gt;
{{Output table}}&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|java}}&lt;br /&gt;
|{{HistoryLine||1.13|dev=17w45a|Added {{cmd|team|link=none}}.}}&lt;br /&gt;
|{{HistoryLine|||dev=18w20a|Added {{cmd|team option &amp;lt;team&amp;gt; prefix &amp;lt;prefix&amp;gt;|link=none}}.&lt;br /&gt;
|Added {{cmd|team option &amp;lt;team&amp;gt; suffix &amp;lt;suffix&amp;gt;|link=none}}.}}&lt;br /&gt;
|{{HistoryLine|||dev=pre8|{{cmd|team option|link=none}} is now {{cmd|team modify|link=none}}&lt;br /&gt;
|Added {{cmd|team modify &amp;lt;teamName&amp;gt; displayName|link=none}}.&lt;br /&gt;
|Team names are now text components, not raw strings.}}&lt;br /&gt;
|{{HistoryLine||1.18|dev=21w37a|Removed 16 characters limit for the name of a team, and 40 characters limit for the name of members.}}&lt;br /&gt;
|{{HistoryLine||1.21.5|dev=25w05a|Text component arguments are now resolved before use in context of entity held in {{cd|@s}}.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*{{cmd|scoreboard}} – manages scoreboard objectives, players and displays&lt;br /&gt;
*{{cmd|tag}} – tags players with a certain string&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox commands}}&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Befehl/team]]&lt;br /&gt;
[[Minecraft:ja:コマンド/team]]&lt;br /&gt;
[[Minecraft:pt:Comandos/team]]&lt;br /&gt;
[[Minecraft:ru:Команды консоли/team]]&lt;br /&gt;
[[Minecraft:zh:命令/team]]&lt;/div&gt;</summary>
		<author><name>174.16.195.179</name></author>
	</entry>
</feed>