/list
< Commands
"List" redirects here. For the NBT tag, see NBT.
/list| Permission level required |
0 |
|---|---|
| Restrictions |
None |
{
"title": "<code>/list</code>",
"rows": [
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
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
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| Any | Java Edition | On success | 1 | 1 | the number of players |
| Bedrock Edition | On success | 1 | N/A | N/A |
History
| Java Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v1.0.16_02 | Added /list. | ||||||
| Java Edition | |||||||
| 1.8.1 | pre1 | Added /list uuids. | |||||
| 1.13 | 17w45a | /list can now be run in singleplayer. | |||||
| Pocket Edition Alpha | |||||||
| v0.16.0 | build 1 | Added /list. | |||||
| ? | Removed list [details: string], in which details: string must be one of ids stats uuids. | ||||||