Datapack Codex

Commands/list

Minecraft Wiki article. Categories: Unknown_Pocket_Alpha_version_history, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/list on the Minecraft Wiki. Mirrored from revision 3581363. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

/list

Lists players on the server.

Syntax

  • Java Edition
list
Shows the names of all currently-connected players.
list uuids
Player UUIDs are shown alongside names.
  • Bedrock Edition
list
Shows the names of all currently-connected players.

Result

Always succeeds.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
AnyJava EditionOn success11the number of players
Bedrock EditionOn success1N/AN/A

History

Java Edition

Java Edition Alpha
v1.0.16_02server 0.1.3Added /list.
Java Edition
1.8.1pre1Added /list uuids.
1.1317w45a/list can now be run in singleplayer.

Bedrock Edition

Pocket Edition Alpha
v0.16.0build 1Added /list.
?Removed list [details: string], in which details: string must be one of ids stats uuids.

Sources