Methods summary
public
|
#
__construct( pocketmine\plugin\PluginBase $owner, $privacy = null, $exPerms = null, $notice = null )
Parameters
- $owner
- plugin that owns this session
- $privacy
- $exPerms
- $notice
Overrides
|
public
|
#
setLogging( callable $cb )
Enable/disable console logging
Enable/disable console logging
Parameters
- $cb
- Callback to execute when logging, otherwise null to disable
|
public
boolean
|
#
isLogging( )
Return if logging is enabled or not...
Return if logging is enabled or not...
Returns
boolean
|
public
|
#
configTap( pocketmine\Player $pl, callable $cb )
Enable/disable tapping
Parameters
- $pl
- Player that will receive taps
- $cb
- Player being spied upon, either a string or Player instance
|
public
boolean
|
#
isTapping( pocketmine\Player $pl )
Check if a player is Spying
Check if a player is Spying
Parameters
Returns
boolean
|
public
str[]
|
#
getTaps( pocketmine\Player $pl )
Return taps
Parameters
- $pl
- Player that will receive taps
Returns
str[]
|
public
|
#
setTap( pocketmine\Player $pl, pocketmine\Player|str|null $v, $ena = true )
Start/Stop tapping
Parameters
- $pl
- Player that will receive taps
- $v
- $n - Start tapping a player, console, everything, etc...
- $ena
|
protected
|
|
public
|
#
onPlayerCmd( pocketmine\event\player\PlayerCommandPreprocessEvent $ev )
|
public
|
#
onRconCmd( pocketmine\event\server\RemoteServerCommandEvent $ev )
|
public
|
|
public
|
#
onJoin( pocketmine\event\player\PlayerJoinEvent $ev )
|