PartialOnlinePlayer#

Note

This is a Partial Object which means it doesn’t contain regular data. You should threat it as a reference to a object rather than a normal one. See: Partial Objects for detailed information.

class corkus.objects.PartialOnlinePlayer#

Represents a PartialPlayer that is currently online.

property online#

Is player online right now, always True obviously.

Return type:

Literal[True]

property server#

The server that this player is currently on.

Return type:

Server

async fetch(timeout=None)#

Fetch full player data from API.

Warning

This function is a API call. See: Partial Objects for detailed information.

Parameters:

timeout (Optional[int]) – Optionally override default timeout.

Return type:

Player

property username#

Minecraft username of player.

Return type:

Optional[str]

property uuid#

Minecraft UUID of player.

Return type:

Optional[CorkusUUID]