This command can be used to either print a list of all online players ('online') or see the playercount (number of players online) of the server ('count').
The syntax for the players command is as follows:
/players [online / count]
This command has the following arguments:
|Online / Count||'online' to print the names of every player that is online, 'count' to print only the amount of players online the server.|
Find below working examples of the players command.
Executing this command would print the names of all players currently online.
Executing this command would print the number of players currently connected to the server, rather than a list of their names.