Players in-game can use the /near
command to view who is nearby.Command/near
Action: Will show all player names, their ranks, and their distance in blocks (m) in your chat only.
: this command will only show players within 200 blocks from you. If there are a lot of players nearby, you may need to scroll through chat to see the complete list.