Documentation
offline_player
typePaper
A player who may be offline, from players.offline(name).
Properties 10
offline_player.name: text
read-onlyPaper
Last known name (none if the player never joined).
offline_player.uuid: text
read-onlyPaper
Unique id.
offline_player.online: bool
read-onlyPaper
True if the player is on the server right now.
offline_player.has_played: bool
read-onlyPaper
True if the player has joined this server before.
offline_player.first_played: number
read-onlyPaper
When the player first joined, as a time.now() value.
offline_player.last_seen: number
read-onlyPaper
When the player was last online, as a time.now() value.
offline_player.banned: bool
read-onlyPaper
True if the player is banned.
offline_player.whitelisted: bool
settablePaper
Whether the player is on the whitelist.
offline_player.op: bool
settablePaper
Whether the player is a server operator.
The online player, or none.
Methods 2
Bans the player (and kicks them if online).
Lifts a ban.