Skip to content

OfflinePlayer ​

class · pocketmine\player\OfflinePlayer · source

Implements IPlayer

Methods ​

__construct() ​

php
public function __construct(string $name, ?\pocketmine\nbt\tag\CompoundTag $namedtag)

getFirstPlayed() ​

php
public function getFirstPlayed() : ?int

getLastPlayed() ​

php
public function getLastPlayed() : ?int

getName() ​

php
public function getName() : string

hasPlayedBefore() ​

php
public function hasPlayedBefore() : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.