Skip to content
Flint
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.

True if the player has joined this server before.

When the player first joined, as a time.now() value.

When the player was last online, as a time.now() value.

offline_player.banned: bool
skrivebeskyttetPaper

True if the player is banned.

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.