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