This command will list all players connected to the server, along with their entity IDs.
The syntax for the listplayerids command is as follows:
Search our database of 70 7 Days to Die commands...Why Not?
Find below working examples of the listplayerids command.
This is the only way that you can run the listplayerids console command - it will list all player entity IDs.