pub async fn get_online_players() -> Result<OnlineList, Error>
Expand description

Returns a list of online players on the server. Only includes their username.

If you wish to get all the online players as Player structs, use get_online_players_full.