This command prints a list of all players currently connected to the server, along with their client IDs and UUIDs.
The syntax for the list command is as follows:
/list Admin Only
Find below working examples of the list command.
This is the only way the online player list command can be executed.