PocketMine
IPlayer Interface Reference
Inheritance diagram for IPlayer:
ServerOperator OfflinePlayer Player

Public Member Functions

 isOnline ()
 
 getName ()
 
 isBanned ()
 
 setBanned ($banned)
 
 isWhitelisted ()
 
 setWhitelisted ($value)
 
 getPlayer ()
 
 getFirstPlayed ()
 
 getLastPlayed ()
 
 hasPlayedBefore ()
 
- Public Member Functions inherited from ServerOperator
 isOp ()
 
 setOp ($value)
 

Member Function Documentation

getFirstPlayed ( )
Returns
int|double

Implemented in Player, and OfflinePlayer.

getLastPlayed ( )
Returns
int|double

Implemented in Player, and OfflinePlayer.

getName ( )
Returns
string

Implemented in Player, and OfflinePlayer.

getPlayer ( )
Returns
Player|null

Implemented in Player, and OfflinePlayer.

hasPlayedBefore ( )
Returns
mixed

Implemented in Player, and OfflinePlayer.

isBanned ( )
Returns
bool

Implemented in Player, and OfflinePlayer.

isOnline ( )
Returns
bool

Implemented in Player, and OfflinePlayer.

isWhitelisted ( )
Returns
bool

Implemented in Player, and OfflinePlayer.

setBanned (   $banned)
Parameters
bool$banned

Implemented in Player, and OfflinePlayer.

setWhitelisted (   $value)
Parameters
bool$value

Implemented in Player, and OfflinePlayer.


The documentation for this interface was generated from the following file: