Minecraft Wiki
(Include team remove)
m ("option" renamed to "modify")
Line 14: Line 14:
 
: <code>team leave <''members''></code>
 
: <code>team leave <''members''></code>
 
: <code>team list [''<team>'']</code>
 
: <code>team list [''<team>'']</code>
: <code>team option <''team''> <''option''> <''value''></code>
+
: <code>team modify <''team''> <''option''> <''value''></code>
 
: <code>team remove <''team''></code>
 
: <code>team remove <''team''></code>
   
Line 28: Line 28:
 
:: Specifies the entities to join or leave the team.
 
:: Specifies the entities to join or leave the team.
   
: ''option''
+
: ''modify''
 
:: Specifies the team options.
 
:: Specifies the team options.
   
Line 44: Line 44:
 
:* <code>leave</code> — Makes a player leave a team.
 
:* <code>leave</code> — Makes a player leave a team.
 
:* <code>list</code> — Lists all teams, or lists all members of a team if ''team'' is set.
 
:* <code>list</code> — Lists all teams, or lists all members of a team if ''team'' is set.
:* <code>option</code> — Sets the ''option'' of a team to the specified value.
+
:* <code>modify</code> — Sets the ''option'' of a team to the specified value.
 
:* <code>remove</code> — Removes the team.
 
:* <code>remove</code> — Removes the team.
   

Revision as of 21:49, 13 July 2018

Commands/infobox

Replaces /scoreboard teams.

Syntax
team add <team> [<displayname>]
team empty <team>
team join <team> [<members>]
team leave <members>
team list [<team>]
team modify <team> <option> <value>
team remove <team>
Arguments
team
Specifies the name of the team.
displayname (Optional)
Specifies the name to be displayed by the team.
members
Specifies the entities to join or leave the team.
modify
Specifies the team options.
value
Specifies the value to be set into the option.
Result
Fails if the arguments are not specified correctly.
On success:
  • add — Creates a new team.
  • empty — Removes all members from a team.
  • join — Makes a player join a team.
  • leave — Makes a player leave a team.
  • list — Lists all teams, or lists all members of a team if team is set.
  • modify — Sets the option of a team to the specified value.
  • remove — Removes the team.
See also